diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_instructions.h')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_instructions.h | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h index b54fe684e..07408d9e9 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h +++ b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h | |||
| @@ -52,10 +52,14 @@ void EmitSetGotoVariable(EmitContext& ctx); | |||
| 52 | void EmitGetGotoVariable(EmitContext& ctx); | 52 | void EmitGetGotoVariable(EmitContext& ctx); |
| 53 | void EmitSetIndirectBranchVariable(EmitContext& ctx); | 53 | void EmitSetIndirectBranchVariable(EmitContext& ctx); |
| 54 | void EmitGetIndirectBranchVariable(EmitContext& ctx); | 54 | void EmitGetIndirectBranchVariable(EmitContext& ctx); |
| 55 | void EmitGetCbufU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 55 | void EmitGetCbufU8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| 56 | void EmitGetCbufS8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 56 | const IR::Value& offset); |
| 57 | void EmitGetCbufU16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 57 | void EmitGetCbufS8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| 58 | void EmitGetCbufS16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 58 | const IR::Value& offset); |
| 59 | void EmitGetCbufU16(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | ||
| 60 | const IR::Value& offset); | ||
| 61 | void EmitGetCbufS16(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | ||
| 62 | const IR::Value& offset); | ||
| 59 | void EmitGetCbufU32(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | 63 | void EmitGetCbufU32(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| 60 | const IR::Value& offset); | 64 | const IR::Value& offset); |
| 61 | void EmitGetCbufF32(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | 65 | void EmitGetCbufF32(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| @@ -83,7 +87,7 @@ void EmitSetSFlag(EmitContext& ctx); | |||
| 83 | void EmitSetCFlag(EmitContext& ctx); | 87 | void EmitSetCFlag(EmitContext& ctx); |
| 84 | void EmitSetOFlag(EmitContext& ctx); | 88 | void EmitSetOFlag(EmitContext& ctx); |
| 85 | void EmitWorkgroupId(EmitContext& ctx); | 89 | void EmitWorkgroupId(EmitContext& ctx); |
| 86 | void EmitLocalInvocationId(EmitContext& ctx); | 90 | void EmitLocalInvocationId(EmitContext& ctx, IR::Inst& inst); |
| 87 | void EmitInvocationId(EmitContext& ctx); | 91 | void EmitInvocationId(EmitContext& ctx); |
| 88 | void EmitSampleId(EmitContext& ctx); | 92 | void EmitSampleId(EmitContext& ctx); |
| 89 | void EmitIsHelperInvocation(EmitContext& ctx); | 93 | void EmitIsHelperInvocation(EmitContext& ctx); |
| @@ -109,10 +113,14 @@ void EmitWriteGlobalS16(EmitContext& ctx); | |||
| 109 | void EmitWriteGlobal32(EmitContext& ctx, std::string_view address, std::string_view value); | 113 | void EmitWriteGlobal32(EmitContext& ctx, std::string_view address, std::string_view value); |
| 110 | void EmitWriteGlobal64(EmitContext& ctx, std::string_view address, std::string_view value); | 114 | void EmitWriteGlobal64(EmitContext& ctx, std::string_view address, std::string_view value); |
| 111 | void EmitWriteGlobal128(EmitContext& ctx, std::string_view address, std::string_view value); | 115 | void EmitWriteGlobal128(EmitContext& ctx, std::string_view address, std::string_view value); |
| 112 | void EmitLoadStorageU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 116 | void EmitLoadStorageU8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| 113 | void EmitLoadStorageS8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 117 | const IR::Value& offset); |
| 114 | void EmitLoadStorageU16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 118 | void EmitLoadStorageS8(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| 115 | void EmitLoadStorageS16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); | 119 | const IR::Value& offset); |
| 120 | void EmitLoadStorageU16(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | ||
| 121 | const IR::Value& offset); | ||
| 122 | void EmitLoadStorageS16(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | ||
| 123 | const IR::Value& offset); | ||
| 116 | void EmitLoadStorage32(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | 124 | void EmitLoadStorage32(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |
| 117 | const IR::Value& offset); | 125 | const IR::Value& offset); |
| 118 | void EmitLoadStorage64(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, | 126 | void EmitLoadStorage64(EmitContext& ctx, IR::Inst& inst, const IR::Value& binding, |