diff options
| author | 2021-05-31 12:53:40 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:37 -0400 | |
| commit | df53046d68b26b23ced683396ebc204d96176c8e (patch) | |
| tree | 09a858f1d743ab9079484b30eddff00a23152b59 /src/shader_recompiler/backend/glsl/emit_glsl_image.cpp | |
| parent | glsl: Implement gl_ViewportIndex (diff) | |
| download | yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.gz yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.xz yuzu-df53046d68b26b23ced683396ebc204d96176c8e.zip | |
glsl: Use NotImplemented macro with function name output
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_image.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_image.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp index f339f4ade..3de19cdfe 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp | |||
| @@ -387,116 +387,116 @@ void EmitImageGradient([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 387 | [[maybe_unused]] std::string_view derivates, | 387 | [[maybe_unused]] std::string_view derivates, |
| 388 | [[maybe_unused]] std::string_view offset, | 388 | [[maybe_unused]] std::string_view offset, |
| 389 | [[maybe_unused]] std::string_view lod_clamp) { | 389 | [[maybe_unused]] std::string_view lod_clamp) { |
| 390 | throw NotImplementedException("GLSL Instruction"); | 390 | NotImplemented(); |
| 391 | } | 391 | } |
| 392 | 392 | ||
| 393 | void EmitImageRead([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 393 | void EmitImageRead([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 394 | [[maybe_unused]] const IR::Value& index, | 394 | [[maybe_unused]] const IR::Value& index, |
| 395 | [[maybe_unused]] std::string_view coords) { | 395 | [[maybe_unused]] std::string_view coords) { |
| 396 | throw NotImplementedException("GLSL Instruction"); | 396 | NotImplemented(); |
| 397 | } | 397 | } |
| 398 | 398 | ||
| 399 | void EmitImageWrite([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 399 | void EmitImageWrite([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 400 | [[maybe_unused]] const IR::Value& index, | 400 | [[maybe_unused]] const IR::Value& index, |
| 401 | [[maybe_unused]] std::string_view coords, | 401 | [[maybe_unused]] std::string_view coords, |
| 402 | [[maybe_unused]] std::string_view color) { | 402 | [[maybe_unused]] std::string_view color) { |
| 403 | throw NotImplementedException("GLSL Instruction"); | 403 | NotImplemented(); |
| 404 | } | 404 | } |
| 405 | 405 | ||
| 406 | void EmitBindlessImageSampleImplicitLod(EmitContext&) { | 406 | void EmitBindlessImageSampleImplicitLod(EmitContext&) { |
| 407 | throw NotImplementedException("GLSL Instruction"); | 407 | NotImplemented(); |
| 408 | } | 408 | } |
| 409 | 409 | ||
| 410 | void EmitBindlessImageSampleExplicitLod(EmitContext&) { | 410 | void EmitBindlessImageSampleExplicitLod(EmitContext&) { |
| 411 | throw NotImplementedException("GLSL Instruction"); | 411 | NotImplemented(); |
| 412 | } | 412 | } |
| 413 | 413 | ||
| 414 | void EmitBindlessImageSampleDrefImplicitLod(EmitContext&) { | 414 | void EmitBindlessImageSampleDrefImplicitLod(EmitContext&) { |
| 415 | throw NotImplementedException("GLSL Instruction"); | 415 | NotImplemented(); |
| 416 | } | 416 | } |
| 417 | 417 | ||
| 418 | void EmitBindlessImageSampleDrefExplicitLod(EmitContext&) { | 418 | void EmitBindlessImageSampleDrefExplicitLod(EmitContext&) { |
| 419 | throw NotImplementedException("GLSL Instruction"); | 419 | NotImplemented(); |
| 420 | } | 420 | } |
| 421 | 421 | ||
| 422 | void EmitBindlessImageGather(EmitContext&) { | 422 | void EmitBindlessImageGather(EmitContext&) { |
| 423 | throw NotImplementedException("GLSL Instruction"); | 423 | NotImplemented(); |
| 424 | } | 424 | } |
| 425 | 425 | ||
| 426 | void EmitBindlessImageGatherDref(EmitContext&) { | 426 | void EmitBindlessImageGatherDref(EmitContext&) { |
| 427 | throw NotImplementedException("GLSL Instruction"); | 427 | NotImplemented(); |
| 428 | } | 428 | } |
| 429 | 429 | ||
| 430 | void EmitBindlessImageFetch(EmitContext&) { | 430 | void EmitBindlessImageFetch(EmitContext&) { |
| 431 | throw NotImplementedException("GLSL Instruction"); | 431 | NotImplemented(); |
| 432 | } | 432 | } |
| 433 | 433 | ||
| 434 | void EmitBindlessImageQueryDimensions(EmitContext&) { | 434 | void EmitBindlessImageQueryDimensions(EmitContext&) { |
| 435 | throw NotImplementedException("GLSL Instruction"); | 435 | NotImplemented(); |
| 436 | } | 436 | } |
| 437 | 437 | ||
| 438 | void EmitBindlessImageQueryLod(EmitContext&) { | 438 | void EmitBindlessImageQueryLod(EmitContext&) { |
| 439 | throw NotImplementedException("GLSL Instruction"); | 439 | NotImplemented(); |
| 440 | } | 440 | } |
| 441 | 441 | ||
| 442 | void EmitBindlessImageGradient(EmitContext&) { | 442 | void EmitBindlessImageGradient(EmitContext&) { |
| 443 | throw NotImplementedException("GLSL Instruction"); | 443 | NotImplemented(); |
| 444 | } | 444 | } |
| 445 | 445 | ||
| 446 | void EmitBindlessImageRead(EmitContext&) { | 446 | void EmitBindlessImageRead(EmitContext&) { |
| 447 | throw NotImplementedException("GLSL Instruction"); | 447 | NotImplemented(); |
| 448 | } | 448 | } |
| 449 | 449 | ||
| 450 | void EmitBindlessImageWrite(EmitContext&) { | 450 | void EmitBindlessImageWrite(EmitContext&) { |
| 451 | throw NotImplementedException("GLSL Instruction"); | 451 | NotImplemented(); |
| 452 | } | 452 | } |
| 453 | 453 | ||
| 454 | void EmitBoundImageSampleImplicitLod(EmitContext&) { | 454 | void EmitBoundImageSampleImplicitLod(EmitContext&) { |
| 455 | throw NotImplementedException("GLSL Instruction"); | 455 | NotImplemented(); |
| 456 | } | 456 | } |
| 457 | 457 | ||
| 458 | void EmitBoundImageSampleExplicitLod(EmitContext&) { | 458 | void EmitBoundImageSampleExplicitLod(EmitContext&) { |
| 459 | throw NotImplementedException("GLSL Instruction"); | 459 | NotImplemented(); |
| 460 | } | 460 | } |
| 461 | 461 | ||
| 462 | void EmitBoundImageSampleDrefImplicitLod(EmitContext&) { | 462 | void EmitBoundImageSampleDrefImplicitLod(EmitContext&) { |
| 463 | throw NotImplementedException("GLSL Instruction"); | 463 | NotImplemented(); |
| 464 | } | 464 | } |
| 465 | 465 | ||
| 466 | void EmitBoundImageSampleDrefExplicitLod(EmitContext&) { | 466 | void EmitBoundImageSampleDrefExplicitLod(EmitContext&) { |
| 467 | throw NotImplementedException("GLSL Instruction"); | 467 | NotImplemented(); |
| 468 | } | 468 | } |
| 469 | 469 | ||
| 470 | void EmitBoundImageGather(EmitContext&) { | 470 | void EmitBoundImageGather(EmitContext&) { |
| 471 | throw NotImplementedException("GLSL Instruction"); | 471 | NotImplemented(); |
| 472 | } | 472 | } |
| 473 | 473 | ||
| 474 | void EmitBoundImageGatherDref(EmitContext&) { | 474 | void EmitBoundImageGatherDref(EmitContext&) { |
| 475 | throw NotImplementedException("GLSL Instruction"); | 475 | NotImplemented(); |
| 476 | } | 476 | } |
| 477 | 477 | ||
| 478 | void EmitBoundImageFetch(EmitContext&) { | 478 | void EmitBoundImageFetch(EmitContext&) { |
| 479 | throw NotImplementedException("GLSL Instruction"); | 479 | NotImplemented(); |
| 480 | } | 480 | } |
| 481 | 481 | ||
| 482 | void EmitBoundImageQueryDimensions(EmitContext&) { | 482 | void EmitBoundImageQueryDimensions(EmitContext&) { |
| 483 | throw NotImplementedException("GLSL Instruction"); | 483 | NotImplemented(); |
| 484 | } | 484 | } |
| 485 | 485 | ||
| 486 | void EmitBoundImageQueryLod(EmitContext&) { | 486 | void EmitBoundImageQueryLod(EmitContext&) { |
| 487 | throw NotImplementedException("GLSL Instruction"); | 487 | NotImplemented(); |
| 488 | } | 488 | } |
| 489 | 489 | ||
| 490 | void EmitBoundImageGradient(EmitContext&) { | 490 | void EmitBoundImageGradient(EmitContext&) { |
| 491 | throw NotImplementedException("GLSL Instruction"); | 491 | NotImplemented(); |
| 492 | } | 492 | } |
| 493 | 493 | ||
| 494 | void EmitBoundImageRead(EmitContext&) { | 494 | void EmitBoundImageRead(EmitContext&) { |
| 495 | throw NotImplementedException("GLSL Instruction"); | 495 | NotImplemented(); |
| 496 | } | 496 | } |
| 497 | 497 | ||
| 498 | void EmitBoundImageWrite(EmitContext&) { | 498 | void EmitBoundImageWrite(EmitContext&) { |
| 499 | throw NotImplementedException("GLSL Instruction"); | 499 | NotImplemented(); |
| 500 | } | 500 | } |
| 501 | 501 | ||
| 502 | } // namespace Shader::Backend::GLSL | 502 | } // namespace Shader::Backend::GLSL |