diff options
| author | 2021-06-14 11:27:37 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:38 -0400 | |
| commit | 6c6a451d6afdfe02dc24b06f54b2a183f73a04fb (patch) | |
| tree | b9185295e4065bd986ad34fef1a3c406a17a2aad /src/shader_recompiler/backend/glsl | |
| parent | glsl: Conditionally add EXT_texture_shadow_lod (diff) | |
| download | yuzu-6c6a451d6afdfe02dc24b06f54b2a183f73a04fb.tar.gz yuzu-6c6a451d6afdfe02dc24b06f54b2a183f73a04fb.tar.xz yuzu-6c6a451d6afdfe02dc24b06f54b2a183f73a04fb.zip | |
glsl: Add LoopSafety instructions
Diffstat (limited to 'src/shader_recompiler/backend/glsl')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_instructions.h | 2 | ||||
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h index 0c717664f..9e812dabb 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); | |||
| 47 | void EmitGetGotoVariable(EmitContext& ctx); | 47 | void EmitGetGotoVariable(EmitContext& ctx); |
| 48 | void EmitSetIndirectBranchVariable(EmitContext& ctx); | 48 | void EmitSetIndirectBranchVariable(EmitContext& ctx); |
| 49 | void EmitGetIndirectBranchVariable(EmitContext& ctx); | 49 | void EmitGetIndirectBranchVariable(EmitContext& ctx); |
| 50 | void EmitSetLoopSafetyVariable(EmitContext& ctx); | ||
| 51 | void EmitGetLoopSafetyVariable(EmitContext& ctx); | ||
| 50 | void EmitGetCbufU8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | 52 | void EmitGetCbufU8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| 51 | const IR::Value& offset); | 53 | const IR::Value& offset); |
| 52 | void EmitGetCbufS8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | 54 | 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.cpp index f420fe388..0a28a1ffc 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) { | |||
| 46 | NotImplemented(); | 46 | NotImplemented(); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | void EmitSetLoopSafetyVariable(EmitContext& ctx) { | ||
| 50 | NotImplemented(); | ||
| 51 | } | ||
| 52 | |||
| 53 | void EmitGetLoopSafetyVariable(EmitContext& ctx) { | ||
| 54 | NotImplemented(); | ||
| 55 | } | ||
| 56 | |||
| 49 | void EmitGetZFlag(EmitContext& ctx) { | 57 | void EmitGetZFlag(EmitContext& ctx) { |
| 50 | NotImplemented(); | 58 | NotImplemented(); |
| 51 | } | 59 | } |