diff options
| author | 2023-10-26 19:11:15 -0300 | |
|---|---|---|
| committer | 2023-10-26 19:11:15 -0300 | |
| commit | b5415b687203599fe18e2cefc78700e4c6f2ae7c (patch) | |
| tree | ddd4c82cab9e367cdcf2bbf4a1d444f85ed0b02e /src/shader_recompiler/backend/glsl/emit_glsl.cpp | |
| parent | Merge branch 'yuzu-emu:master' into new-shortcut (diff) | |
| parent | Merge pull request #11880 from abouvier/unbundle-stb (diff) | |
| download | yuzu-b5415b687203599fe18e2cefc78700e4c6f2ae7c.tar.gz yuzu-b5415b687203599fe18e2cefc78700e4c6f2ae7c.tar.xz yuzu-b5415b687203599fe18e2cefc78700e4c6f2ae7c.zip | |
Merge branch 'yuzu-emu:master' into new-shortcut
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.cpp b/src/shader_recompiler/backend/glsl/emit_glsl.cpp index d91e04446..66ecfc9f7 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl.cpp | |||
| @@ -242,6 +242,7 @@ std::string EmitGLSL(const Profile& profile, const RuntimeInfo& runtime_info, IR | |||
| 242 | } | 242 | } |
| 243 | if (program.info.uses_subgroup_shuffles) { | 243 | if (program.info.uses_subgroup_shuffles) { |
| 244 | ctx.header += "bool shfl_in_bounds;"; | 244 | ctx.header += "bool shfl_in_bounds;"; |
| 245 | ctx.header += "uint shfl_result;"; | ||
| 245 | } | 246 | } |
| 246 | ctx.code.insert(0, ctx.header); | 247 | ctx.code.insert(0, ctx.header); |
| 247 | ctx.code += '}'; | 248 | ctx.code += '}'; |