summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h
diff options
context:
space:
mode:
authorGravatar ameerj2021-05-29 23:31:58 -0400
committerGravatar ameerj2021-07-22 21:51:36 -0400
commit181a4ffdc477e56c82d5de17e242c64ee70275c2 (patch)
treef99db335e95cb80670e4e50315a79a2bd6fa22e7 /src/shader_recompiler/backend/glsl/emit_glsl_instructions.h
parentglsl: Implement more instructions used by SMO (diff)
downloadyuzu-181a4ffdc477e56c82d5de17e242c64ee70275c2.tar.gz
yuzu-181a4ffdc477e56c82d5de17e242c64ee70275c2.tar.xz
yuzu-181a4ffdc477e56c82d5de17e242c64ee70275c2.zip
glsl: Implement ST{LS}
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_instructions.h')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_instructions.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h
index a1806b7f5..72d97c7e1 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h
@@ -92,7 +92,7 @@ void EmitInvocationId(EmitContext& ctx, IR::Inst& inst);
92void EmitSampleId(EmitContext& ctx, IR::Inst& inst); 92void EmitSampleId(EmitContext& ctx, IR::Inst& inst);
93void EmitIsHelperInvocation(EmitContext& ctx); 93void EmitIsHelperInvocation(EmitContext& ctx);
94void EmitYDirection(EmitContext& ctx, IR::Inst& inst); 94void EmitYDirection(EmitContext& ctx, IR::Inst& inst);
95void EmitLoadLocal(EmitContext& ctx, std::string_view word_offset); 95void EmitLoadLocal(EmitContext& ctx, IR::Inst& inst, std::string_view word_offset);
96void EmitWriteLocal(EmitContext& ctx, std::string_view word_offset, std::string_view value); 96void EmitWriteLocal(EmitContext& ctx, std::string_view word_offset, std::string_view value);
97void EmitUndefU1(EmitContext& ctx, IR::Inst& inst); 97void EmitUndefU1(EmitContext& ctx, IR::Inst& inst);
98void EmitUndefU8(EmitContext& ctx, IR::Inst& inst); 98void EmitUndefU8(EmitContext& ctx, IR::Inst& inst);
@@ -141,13 +141,13 @@ void EmitWriteStorage64(EmitContext& ctx, const IR::Value& binding, const IR::Va
141 std::string_view value); 141 std::string_view value);
142void EmitWriteStorage128(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset, 142void EmitWriteStorage128(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset,
143 std::string_view value); 143 std::string_view value);
144void EmitLoadSharedU8(EmitContext& ctx, std::string_view offset); 144void EmitLoadSharedU8(EmitContext& ctx, IR::Inst& inst, std::string_view offset);
145void EmitLoadSharedS8(EmitContext& ctx, std::string_view offset); 145void EmitLoadSharedS8(EmitContext& ctx, IR::Inst& inst, std::string_view offset);
146void EmitLoadSharedU16(EmitContext& ctx, std::string_view offset); 146void EmitLoadSharedU16(EmitContext& ctx, IR::Inst& inst, std::string_view offset);
147void EmitLoadSharedS16(EmitContext& ctx, std::string_view offset); 147void EmitLoadSharedS16(EmitContext& ctx, IR::Inst& inst, std::string_view offset);
148void EmitLoadSharedU32(EmitContext& ctx, std::string_view offset); 148void EmitLoadSharedU32(EmitContext& ctx, IR::Inst& inst, std::string_view offset);
149void EmitLoadSharedU64(EmitContext& ctx, std::string_view offset); 149void EmitLoadSharedU64(EmitContext& ctx, IR::Inst& inst, std::string_view offset);
150void EmitLoadSharedU128(EmitContext& ctx, std::string_view offset); 150void EmitLoadSharedU128(EmitContext& ctx, IR::Inst& inst, std::string_view offset);
151void EmitWriteSharedU8(EmitContext& ctx, std::string_view offset, std::string_view value); 151void EmitWriteSharedU8(EmitContext& ctx, std::string_view offset, std::string_view value);
152void EmitWriteSharedU16(EmitContext& ctx, std::string_view offset, std::string_view value); 152void EmitWriteSharedU16(EmitContext& ctx, std::string_view offset, std::string_view value);
153void EmitWriteSharedU32(EmitContext& ctx, std::string_view offset, std::string_view value); 153void EmitWriteSharedU32(EmitContext& ctx, std::string_view offset, std::string_view value);