diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp | 24 | ||||
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | 2 |
2 files changed, 18 insertions, 8 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp index 442a958a5..42fff74e3 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp | |||
| @@ -163,35 +163,43 @@ Id GetCbufElement(EmitContext& ctx, Id vector, const IR::Value& offset, u32 inde | |||
| 163 | } // Anonymous namespace | 163 | } // Anonymous namespace |
| 164 | 164 | ||
| 165 | void EmitGetRegister(EmitContext&) { | 165 | void EmitGetRegister(EmitContext&) { |
| 166 | throw NotImplementedException("SPIR-V Instruction"); | 166 | throw LogicError("Unreachable instruction"); |
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | void EmitSetRegister(EmitContext&) { | 169 | void EmitSetRegister(EmitContext&) { |
| 170 | throw NotImplementedException("SPIR-V Instruction"); | 170 | throw LogicError("Unreachable instruction"); |
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | void EmitGetPred(EmitContext&) { | 173 | void EmitGetPred(EmitContext&) { |
| 174 | throw NotImplementedException("SPIR-V Instruction"); | 174 | throw LogicError("Unreachable instruction"); |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | void EmitSetPred(EmitContext&) { | 177 | void EmitSetPred(EmitContext&) { |
| 178 | throw NotImplementedException("SPIR-V Instruction"); | 178 | throw LogicError("Unreachable instruction"); |
| 179 | } | 179 | } |
| 180 | 180 | ||
| 181 | void EmitSetGotoVariable(EmitContext&) { | 181 | void EmitSetGotoVariable(EmitContext&) { |
| 182 | throw NotImplementedException("SPIR-V Instruction"); | 182 | throw LogicError("Unreachable instruction"); |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | void EmitGetGotoVariable(EmitContext&) { | 185 | void EmitGetGotoVariable(EmitContext&) { |
| 186 | throw NotImplementedException("SPIR-V Instruction"); | 186 | throw LogicError("Unreachable instruction"); |
| 187 | } | 187 | } |
| 188 | 188 | ||
| 189 | void EmitSetIndirectBranchVariable(EmitContext&) { | 189 | void EmitSetIndirectBranchVariable(EmitContext&) { |
| 190 | throw NotImplementedException("SPIR-V Instruction"); | 190 | throw LogicError("Unreachable instruction"); |
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | void EmitGetIndirectBranchVariable(EmitContext&) { | 193 | void EmitGetIndirectBranchVariable(EmitContext&) { |
| 194 | throw NotImplementedException("SPIR-V Instruction"); | 194 | throw LogicError("Unreachable instruction"); |
| 195 | } | ||
| 196 | |||
| 197 | void EmitSetLoopSafetyVariable(EmitContext&) { | ||
| 198 | throw LogicError("Unreachable instruction"); | ||
| 199 | } | ||
| 200 | |||
| 201 | void EmitGetLoopSafetyVariable(EmitContext&) { | ||
| 202 | throw LogicError("Unreachable instruction"); | ||
| 195 | } | 203 | } |
| 196 | 204 | ||
| 197 | Id EmitGetCbufU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset) { | 205 | Id EmitGetCbufU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset) { |
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h index 1181e7b4f..e3e5b03fe 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h +++ b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | |||
| @@ -43,6 +43,8 @@ void EmitSetGotoVariable(EmitContext& ctx); | |||
| 43 | void EmitGetGotoVariable(EmitContext& ctx); | 43 | void EmitGetGotoVariable(EmitContext& ctx); |
| 44 | void EmitSetIndirectBranchVariable(EmitContext& ctx); | 44 | void EmitSetIndirectBranchVariable(EmitContext& ctx); |
| 45 | void EmitGetIndirectBranchVariable(EmitContext& ctx); | 45 | void EmitGetIndirectBranchVariable(EmitContext& ctx); |
| 46 | void EmitSetLoopSafetyVariable(EmitContext& ctx); | ||
| 47 | void EmitGetLoopSafetyVariable(EmitContext& ctx); | ||
| 46 | Id EmitGetCbufU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 48 | Id EmitGetCbufU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); |
| 47 | Id EmitGetCbufS8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 49 | Id EmitGetCbufS8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); |
| 48 | Id EmitGetCbufU16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 50 | Id EmitGetCbufU16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); |