diff options
| author | 2023-03-11 22:10:38 -0500 | |
|---|---|---|
| committer | 2023-03-12 11:33:01 -0400 | |
| commit | 600f325d87e42f856da58c42a5280f098ebb6e8c (patch) | |
| tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/shader_recompiler/backend/glsl | |
| parent | general: use codespell to identify spelling mistakes (diff) | |
| download | yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.gz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.xz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.zip | |
general: fix spelling mistakes
Diffstat (limited to 'src/shader_recompiler/backend/glsl')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp | 80 | ||||
| -rw-r--r-- | src/shader_recompiler/backend/glsl/glsl_emit_context.h | 2 |
2 files changed, 41 insertions, 41 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp index 911181c43..376a05827 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp | |||
| @@ -398,162 +398,162 @@ void EmitStorageAtomicMaxF32x2(EmitContext& ctx, IR::Inst& inst, const IR::Value | |||
| 398 | } | 398 | } |
| 399 | 399 | ||
| 400 | void EmitGlobalAtomicIAdd32(EmitContext&) { | 400 | void EmitGlobalAtomicIAdd32(EmitContext&) { |
| 401 | throw NotImplementedException("GLSL Instrucion"); | 401 | throw NotImplementedException("GLSL Instruction"); |
| 402 | } | 402 | } |
| 403 | 403 | ||
| 404 | void EmitGlobalAtomicSMin32(EmitContext&) { | 404 | void EmitGlobalAtomicSMin32(EmitContext&) { |
| 405 | throw NotImplementedException("GLSL Instrucion"); | 405 | throw NotImplementedException("GLSL Instruction"); |
| 406 | } | 406 | } |
| 407 | 407 | ||
| 408 | void EmitGlobalAtomicUMin32(EmitContext&) { | 408 | void EmitGlobalAtomicUMin32(EmitContext&) { |
| 409 | throw NotImplementedException("GLSL Instrucion"); | 409 | throw NotImplementedException("GLSL Instruction"); |
| 410 | } | 410 | } |
| 411 | 411 | ||
| 412 | void EmitGlobalAtomicSMax32(EmitContext&) { | 412 | void EmitGlobalAtomicSMax32(EmitContext&) { |
| 413 | throw NotImplementedException("GLSL Instrucion"); | 413 | throw NotImplementedException("GLSL Instruction"); |
| 414 | } | 414 | } |
| 415 | 415 | ||
| 416 | void EmitGlobalAtomicUMax32(EmitContext&) { | 416 | void EmitGlobalAtomicUMax32(EmitContext&) { |
| 417 | throw NotImplementedException("GLSL Instrucion"); | 417 | throw NotImplementedException("GLSL Instruction"); |
| 418 | } | 418 | } |
| 419 | 419 | ||
| 420 | void EmitGlobalAtomicInc32(EmitContext&) { | 420 | void EmitGlobalAtomicInc32(EmitContext&) { |
| 421 | throw NotImplementedException("GLSL Instrucion"); | 421 | throw NotImplementedException("GLSL Instruction"); |
| 422 | } | 422 | } |
| 423 | 423 | ||
| 424 | void EmitGlobalAtomicDec32(EmitContext&) { | 424 | void EmitGlobalAtomicDec32(EmitContext&) { |
| 425 | throw NotImplementedException("GLSL Instrucion"); | 425 | throw NotImplementedException("GLSL Instruction"); |
| 426 | } | 426 | } |
| 427 | 427 | ||
| 428 | void EmitGlobalAtomicAnd32(EmitContext&) { | 428 | void EmitGlobalAtomicAnd32(EmitContext&) { |
| 429 | throw NotImplementedException("GLSL Instrucion"); | 429 | throw NotImplementedException("GLSL Instruction"); |
| 430 | } | 430 | } |
| 431 | 431 | ||
| 432 | void EmitGlobalAtomicOr32(EmitContext&) { | 432 | void EmitGlobalAtomicOr32(EmitContext&) { |
| 433 | throw NotImplementedException("GLSL Instrucion"); | 433 | throw NotImplementedException("GLSL Instruction"); |
| 434 | } | 434 | } |
| 435 | 435 | ||
| 436 | void EmitGlobalAtomicXor32(EmitContext&) { | 436 | void EmitGlobalAtomicXor32(EmitContext&) { |
| 437 | throw NotImplementedException("GLSL Instrucion"); | 437 | throw NotImplementedException("GLSL Instruction"); |
| 438 | } | 438 | } |
| 439 | 439 | ||
| 440 | void EmitGlobalAtomicExchange32(EmitContext&) { | 440 | void EmitGlobalAtomicExchange32(EmitContext&) { |
| 441 | throw NotImplementedException("GLSL Instrucion"); | 441 | throw NotImplementedException("GLSL Instruction"); |
| 442 | } | 442 | } |
| 443 | 443 | ||
| 444 | void EmitGlobalAtomicIAdd64(EmitContext&) { | 444 | void EmitGlobalAtomicIAdd64(EmitContext&) { |
| 445 | throw NotImplementedException("GLSL Instrucion"); | 445 | throw NotImplementedException("GLSL Instruction"); |
| 446 | } | 446 | } |
| 447 | 447 | ||
| 448 | void EmitGlobalAtomicSMin64(EmitContext&) { | 448 | void EmitGlobalAtomicSMin64(EmitContext&) { |
| 449 | throw NotImplementedException("GLSL Instrucion"); | 449 | throw NotImplementedException("GLSL Instruction"); |
| 450 | } | 450 | } |
| 451 | 451 | ||
| 452 | void EmitGlobalAtomicUMin64(EmitContext&) { | 452 | void EmitGlobalAtomicUMin64(EmitContext&) { |
| 453 | throw NotImplementedException("GLSL Instrucion"); | 453 | throw NotImplementedException("GLSL Instruction"); |
| 454 | } | 454 | } |
| 455 | 455 | ||
| 456 | void EmitGlobalAtomicSMax64(EmitContext&) { | 456 | void EmitGlobalAtomicSMax64(EmitContext&) { |
| 457 | throw NotImplementedException("GLSL Instrucion"); | 457 | throw NotImplementedException("GLSL Instruction"); |
| 458 | } | 458 | } |
| 459 | 459 | ||
| 460 | void EmitGlobalAtomicUMax64(EmitContext&) { | 460 | void EmitGlobalAtomicUMax64(EmitContext&) { |
| 461 | throw NotImplementedException("GLSL Instrucion"); | 461 | throw NotImplementedException("GLSL Instruction"); |
| 462 | } | 462 | } |
| 463 | 463 | ||
| 464 | void EmitGlobalAtomicInc64(EmitContext&) { | 464 | void EmitGlobalAtomicInc64(EmitContext&) { |
| 465 | throw NotImplementedException("GLSL Instrucion"); | 465 | throw NotImplementedException("GLSL Instruction"); |
| 466 | } | 466 | } |
| 467 | 467 | ||
| 468 | void EmitGlobalAtomicDec64(EmitContext&) { | 468 | void EmitGlobalAtomicDec64(EmitContext&) { |
| 469 | throw NotImplementedException("GLSL Instrucion"); | 469 | throw NotImplementedException("GLSL Instruction"); |
| 470 | } | 470 | } |
| 471 | 471 | ||
| 472 | void EmitGlobalAtomicAnd64(EmitContext&) { | 472 | void EmitGlobalAtomicAnd64(EmitContext&) { |
| 473 | throw NotImplementedException("GLSL Instrucion"); | 473 | throw NotImplementedException("GLSL Instruction"); |
| 474 | } | 474 | } |
| 475 | 475 | ||
| 476 | void EmitGlobalAtomicOr64(EmitContext&) { | 476 | void EmitGlobalAtomicOr64(EmitContext&) { |
| 477 | throw NotImplementedException("GLSL Instrucion"); | 477 | throw NotImplementedException("GLSL Instruction"); |
| 478 | } | 478 | } |
| 479 | 479 | ||
| 480 | void EmitGlobalAtomicXor64(EmitContext&) { | 480 | void EmitGlobalAtomicXor64(EmitContext&) { |
| 481 | throw NotImplementedException("GLSL Instrucion"); | 481 | throw NotImplementedException("GLSL Instruction"); |
| 482 | } | 482 | } |
| 483 | 483 | ||
| 484 | void EmitGlobalAtomicExchange64(EmitContext&) { | 484 | void EmitGlobalAtomicExchange64(EmitContext&) { |
| 485 | throw NotImplementedException("GLSL Instrucion"); | 485 | throw NotImplementedException("GLSL Instruction"); |
| 486 | } | 486 | } |
| 487 | 487 | ||
| 488 | void EmitGlobalAtomicIAdd32x2(EmitContext&) { | 488 | void EmitGlobalAtomicIAdd32x2(EmitContext&) { |
| 489 | throw NotImplementedException("GLSL Instrucion"); | 489 | throw NotImplementedException("GLSL Instruction"); |
| 490 | } | 490 | } |
| 491 | 491 | ||
| 492 | void EmitGlobalAtomicSMin32x2(EmitContext&) { | 492 | void EmitGlobalAtomicSMin32x2(EmitContext&) { |
| 493 | throw NotImplementedException("GLSL Instrucion"); | 493 | throw NotImplementedException("GLSL Instruction"); |
| 494 | } | 494 | } |
| 495 | 495 | ||
| 496 | void EmitGlobalAtomicUMin32x2(EmitContext&) { | 496 | void EmitGlobalAtomicUMin32x2(EmitContext&) { |
| 497 | throw NotImplementedException("GLSL Instrucion"); | 497 | throw NotImplementedException("GLSL Instruction"); |
| 498 | } | 498 | } |
| 499 | 499 | ||
| 500 | void EmitGlobalAtomicSMax32x2(EmitContext&) { | 500 | void EmitGlobalAtomicSMax32x2(EmitContext&) { |
| 501 | throw NotImplementedException("GLSL Instrucion"); | 501 | throw NotImplementedException("GLSL Instruction"); |
| 502 | } | 502 | } |
| 503 | 503 | ||
| 504 | void EmitGlobalAtomicUMax32x2(EmitContext&) { | 504 | void EmitGlobalAtomicUMax32x2(EmitContext&) { |
| 505 | throw NotImplementedException("GLSL Instrucion"); | 505 | throw NotImplementedException("GLSL Instruction"); |
| 506 | } | 506 | } |
| 507 | 507 | ||
| 508 | void EmitGlobalAtomicInc32x2(EmitContext&) { | 508 | void EmitGlobalAtomicInc32x2(EmitContext&) { |
| 509 | throw NotImplementedException("GLSL Instrucion"); | 509 | throw NotImplementedException("GLSL Instruction"); |
| 510 | } | 510 | } |
| 511 | 511 | ||
| 512 | void EmitGlobalAtomicDec32x2(EmitContext&) { | 512 | void EmitGlobalAtomicDec32x2(EmitContext&) { |
| 513 | throw NotImplementedException("GLSL Instrucion"); | 513 | throw NotImplementedException("GLSL Instruction"); |
| 514 | } | 514 | } |
| 515 | 515 | ||
| 516 | void EmitGlobalAtomicAnd32x2(EmitContext&) { | 516 | void EmitGlobalAtomicAnd32x2(EmitContext&) { |
| 517 | throw NotImplementedException("GLSL Instrucion"); | 517 | throw NotImplementedException("GLSL Instruction"); |
| 518 | } | 518 | } |
| 519 | 519 | ||
| 520 | void EmitGlobalAtomicOr32x2(EmitContext&) { | 520 | void EmitGlobalAtomicOr32x2(EmitContext&) { |
| 521 | throw NotImplementedException("GLSL Instrucion"); | 521 | throw NotImplementedException("GLSL Instruction"); |
| 522 | } | 522 | } |
| 523 | 523 | ||
| 524 | void EmitGlobalAtomicXor32x2(EmitContext&) { | 524 | void EmitGlobalAtomicXor32x2(EmitContext&) { |
| 525 | throw NotImplementedException("GLSL Instrucion"); | 525 | throw NotImplementedException("GLSL Instruction"); |
| 526 | } | 526 | } |
| 527 | 527 | ||
| 528 | void EmitGlobalAtomicExchange32x2(EmitContext&) { | 528 | void EmitGlobalAtomicExchange32x2(EmitContext&) { |
| 529 | throw NotImplementedException("GLSL Instrucion"); | 529 | throw NotImplementedException("GLSL Instruction"); |
| 530 | } | 530 | } |
| 531 | 531 | ||
| 532 | void EmitGlobalAtomicAddF32(EmitContext&) { | 532 | void EmitGlobalAtomicAddF32(EmitContext&) { |
| 533 | throw NotImplementedException("GLSL Instrucion"); | 533 | throw NotImplementedException("GLSL Instruction"); |
| 534 | } | 534 | } |
| 535 | 535 | ||
| 536 | void EmitGlobalAtomicAddF16x2(EmitContext&) { | 536 | void EmitGlobalAtomicAddF16x2(EmitContext&) { |
| 537 | throw NotImplementedException("GLSL Instrucion"); | 537 | throw NotImplementedException("GLSL Instruction"); |
| 538 | } | 538 | } |
| 539 | 539 | ||
| 540 | void EmitGlobalAtomicAddF32x2(EmitContext&) { | 540 | void EmitGlobalAtomicAddF32x2(EmitContext&) { |
| 541 | throw NotImplementedException("GLSL Instrucion"); | 541 | throw NotImplementedException("GLSL Instruction"); |
| 542 | } | 542 | } |
| 543 | 543 | ||
| 544 | void EmitGlobalAtomicMinF16x2(EmitContext&) { | 544 | void EmitGlobalAtomicMinF16x2(EmitContext&) { |
| 545 | throw NotImplementedException("GLSL Instrucion"); | 545 | throw NotImplementedException("GLSL Instruction"); |
| 546 | } | 546 | } |
| 547 | 547 | ||
| 548 | void EmitGlobalAtomicMinF32x2(EmitContext&) { | 548 | void EmitGlobalAtomicMinF32x2(EmitContext&) { |
| 549 | throw NotImplementedException("GLSL Instrucion"); | 549 | throw NotImplementedException("GLSL Instruction"); |
| 550 | } | 550 | } |
| 551 | 551 | ||
| 552 | void EmitGlobalAtomicMaxF16x2(EmitContext&) { | 552 | void EmitGlobalAtomicMaxF16x2(EmitContext&) { |
| 553 | throw NotImplementedException("GLSL Instrucion"); | 553 | throw NotImplementedException("GLSL Instruction"); |
| 554 | } | 554 | } |
| 555 | 555 | ||
| 556 | void EmitGlobalAtomicMaxF32x2(EmitContext&) { | 556 | void EmitGlobalAtomicMaxF32x2(EmitContext&) { |
| 557 | throw NotImplementedException("GLSL Instrucion"); | 557 | throw NotImplementedException("GLSL Instruction"); |
| 558 | } | 558 | } |
| 559 | } // namespace Shader::Backend::GLSL | 559 | } // namespace Shader::Backend::GLSL |
diff --git a/src/shader_recompiler/backend/glsl/glsl_emit_context.h b/src/shader_recompiler/backend/glsl/glsl_emit_context.h index dfd10ac28..7587f7bab 100644 --- a/src/shader_recompiler/backend/glsl/glsl_emit_context.h +++ b/src/shader_recompiler/backend/glsl/glsl_emit_context.h | |||
| @@ -49,7 +49,7 @@ public: | |||
| 49 | void Add(const char* format_str, IR::Inst& inst, Args&&... args) { | 49 | void Add(const char* format_str, IR::Inst& inst, Args&&... args) { |
| 50 | const auto var_def{var_alloc.AddDefine(inst, type)}; | 50 | const auto var_def{var_alloc.AddDefine(inst, type)}; |
| 51 | if (var_def.empty()) { | 51 | if (var_def.empty()) { |
| 52 | // skip assigment. | 52 | // skip assignment. |
| 53 | code += fmt::format(fmt::runtime(format_str + 3), std::forward<Args>(args)...); | 53 | code += fmt::format(fmt::runtime(format_str + 3), std::forward<Args>(args)...); |
| 54 | } else { | 54 | } else { |
| 55 | code += fmt::format(fmt::runtime(format_str), var_def, std::forward<Args>(args)...); | 55 | code += fmt::format(fmt::runtime(format_str), var_def, std::forward<Args>(args)...); |