diff options
| author | 2021-05-14 04:48:46 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:31 -0400 | |
| commit | bf5e48ffe4bd48ea681f2a01c8919c97125e88df (patch) | |
| tree | 2127c2f01aa19b98672f1ac9f34395b9b0240b3e /src/shader_recompiler/backend/spirv/emit_spirv.cpp | |
| parent | glasm: Write result to scalar on integer comparison instructions (diff) | |
| download | yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar.gz yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar.xz yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.zip | |
glasm: Initial implementation of phi nodes on GLASM
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp index c22edfec2..7bf8c78de 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp | |||
| @@ -468,7 +468,11 @@ Id EmitIdentity(EmitContext& ctx, const IR::Value& value) { | |||
| 468 | return id; | 468 | return id; |
| 469 | } | 469 | } |
| 470 | 470 | ||
| 471 | void EmitBranchConditionRef(EmitContext&) {} | 471 | void EmitDummyReference(EmitContext&) {} |
| 472 | |||
| 473 | void EmitPhiMove(EmitContext&) { | ||
| 474 | throw LogicError("Unreachable instruction"); | ||
| 475 | } | ||
| 472 | 476 | ||
| 473 | void EmitGetZeroFromOp(EmitContext&) { | 477 | void EmitGetZeroFromOp(EmitContext&) { |
| 474 | throw LogicError("Unreachable instruction"); | 478 | throw LogicError("Unreachable instruction"); |