summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-05-19 16:51:52 -0300
committerGravatar ameerj2021-07-22 21:51:32 -0400
commitd957b3a8fef35ec0c2797e5ff0793f7236c08a3f (patch)
tree6d0cfa051d46c4f0cfa72014d4945103c3b8a5cb /src/shader_recompiler/backend
parentglasm: Fix compute stage name (diff)
downloadyuzu-d957b3a8fef35ec0c2797e5ff0793f7236c08a3f.tar.gz
yuzu-d957b3a8fef35ec0c2797e5ff0793f7236c08a3f.tar.xz
yuzu-d957b3a8fef35ec0c2797e5ff0793f7236c08a3f.zip
glasm: Implement barriers
Diffstat (limited to 'src/shader_recompiler/backend')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
index 066ed1012..f7fec0545 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
@@ -53,15 +53,15 @@ void EmitDemoteToHelperInvocation(EmitContext& ctx) {
53} 53}
54 54
55void EmitBarrier(EmitContext& ctx) { 55void EmitBarrier(EmitContext& ctx) {
56 NotImplemented(); 56 ctx.Add("BAR;");
57} 57}
58 58
59void EmitWorkgroupMemoryBarrier(EmitContext& ctx) { 59void EmitWorkgroupMemoryBarrier(EmitContext& ctx) {
60 NotImplemented(); 60 ctx.Add("MEMBAR.CTA;");
61} 61}
62 62
63void EmitDeviceMemoryBarrier(EmitContext& ctx) { 63void EmitDeviceMemoryBarrier(EmitContext& ctx) {
64 NotImplemented(); 64 ctx.Add("MEMBAR;");
65} 65}
66 66
67void EmitPrologue(EmitContext& ctx) { 67void EmitPrologue(EmitContext& ctx) {