diff options
| author | 2021-06-18 03:31:13 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:38 -0400 | |
| commit | cfbc85839db5b92b0b205348f4ccdeb21570599c (patch) | |
| tree | 66d477f43f626cef52ff6161bed2652574addab2 /src/shader_recompiler/backend/glsl | |
| parent | buffer_cache: Fix size reductions not having in mind bind sizes (diff) | |
| download | yuzu-cfbc85839db5b92b0b205348f4ccdeb21570599c.tar.gz yuzu-cfbc85839db5b92b0b205348f4ccdeb21570599c.tar.xz yuzu-cfbc85839db5b92b0b205348f4ccdeb21570599c.zip | |
glsl: Add missing ; in EmitSetSampleMask
Fixes shader compilation in Okami HD
Diffstat (limited to 'src/shader_recompiler/backend/glsl')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp index 30c4cff81..3d2ba2eee 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp +++ b/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 | |||
| 409 | } | 409 | } |
| 410 | 410 | ||
| 411 | void EmitSetSampleMask(EmitContext& ctx, std::string_view value) { | 411 | void EmitSetSampleMask(EmitContext& ctx, std::string_view value) { |
| 412 | ctx.Add("gl_SampleMask[0]=int({})", value); | 412 | ctx.Add("gl_SampleMask[0]=int({});", value); |
| 413 | } | 413 | } |
| 414 | 414 | ||
| 415 | void EmitSetFragDepth(EmitContext& ctx, std::string_view value) { | 415 | void EmitSetFragDepth(EmitContext& ctx, std::string_view value) { |