Explorar o código

glsl: Add missing ; in EmitSetSampleMask

Fixes shader compilation in Okami HD
Morph %!s(int64=5) %!d(string=hai) anos
pai
achega
cfbc85839d

+ 1 - 1
src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp

@@ -409,7 +409,7 @@ void EmitSetFragColor(EmitContext& ctx, u32 index, u32 component, std::string_vi
 }
 
 void EmitSetSampleMask(EmitContext& ctx, std::string_view value) {
-    ctx.Add("gl_SampleMask[0]=int({})", value);
+    ctx.Add("gl_SampleMask[0]=int({});", value);
 }
 
 void EmitSetFragDepth(EmitContext& ctx, std::string_view value) {