VERY experimental Nintendo Switch 2 emulator
C++
glsl: Add LoopSafety instructions
ameerjc44b3f664dee
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.hindex 0c717664f4..9e812dabb5 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h+++ b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h@@ -47,6 +47,8 @@ void EmitSetGotoVariable(EmitContext& ctx);void EmitGetGotoVariable(EmitContext& ctx);void EmitSetIndirectBranchVariable(EmitContext& ctx);void EmitGetIndirectBranchVariable(EmitContext& ctx);+void EmitSetLoopSafetyVariable(EmitContext& ctx);+void EmitGetLoopSafetyVariable(EmitContext& ctx);void EmitGetCbufU8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding,const IR::Value& offset);void EmitGetCbufS8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding,diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cppindex f420fe388c..0a28a1ffc4 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp@@ -46,6 +46,14 @@ void EmitGetIndirectBranchVariable(EmitContext& ctx) {NotImplemented();}+void EmitSetLoopSafetyVariable(EmitContext& ctx) {+ NotImplemented();+}++void EmitGetLoopSafetyVariable(EmitContext& ctx) {+ NotImplemented();+}+void EmitGetZFlag(EmitContext& ctx) {NotImplemented();}