Browse Source

glsl: Add missing ; in EmitSetSampleMask

Fixes shader compilation in Okami HD
pull/15/merge
Morph 5 years ago
committed by ameerj
parent
commit
cfbc85839d
  1. 2
      src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp

2
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) {

Loading…
Cancel
Save