summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl/emit_glsl.cpp
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2023-10-22 06:38:30 +0200
committerAmeer J <52414509+ameerj@users.noreply.github.com>2023-10-22 06:45:23 +0200
commitcfe73af6f220734faf32d1871f0da8a6a077dea6 (patch)
treece98bce7ccfdc4696d6280c92f65607fe71626df /src/shader_recompiler/backend/glsl/emit_glsl.cpp
parentMerge pull request #11786 from v1993/cuda-on-linux (diff)
downloadyuzu-cfe73af6f220734faf32d1871f0da8a6a077dea6.tar
yuzu-cfe73af6f220734faf32d1871f0da8a6a077dea6.tar.gz
yuzu-cfe73af6f220734faf32d1871f0da8a6a077dea6.tar.bz2
yuzu-cfe73af6f220734faf32d1871f0da8a6a077dea6.tar.lz
yuzu-cfe73af6f220734faf32d1871f0da8a6a077dea6.tar.xz
yuzu-cfe73af6f220734faf32d1871f0da8a6a077dea6.tar.zst
yuzu-cfe73af6f220734faf32d1871f0da8a6a077dea6.zip
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl.cpp1
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
}
if (program.info.uses_subgroup_shuffles) {
ctx.header += "bool shfl_in_bounds;";
+ ctx.header += "uint shfl_result;";
}
ctx.code.insert(0, ctx.header);
ctx.code += '}';