summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_context.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-12 00:16:12 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:27 +0200
commit5c61e860e4f83524ffce10ca447398e83de81640 (patch)
treeff19c70e70170715c1de763d9674bf35d4aa5c42 /src/shader_recompiler/backend/spirv/emit_context.cpp
parentshader: Apply sign bit in FCMP (imm) (diff)
downloadyuzu-5c61e860e4f83524ffce10ca447398e83de81640.tar
yuzu-5c61e860e4f83524ffce10ca447398e83de81640.tar.gz
yuzu-5c61e860e4f83524ffce10ca447398e83de81640.tar.bz2
yuzu-5c61e860e4f83524ffce10ca447398e83de81640.tar.lz
yuzu-5c61e860e4f83524ffce10ca447398e83de81640.tar.xz
yuzu-5c61e860e4f83524ffce10ca447398e83de81640.tar.zst
yuzu-5c61e860e4f83524ffce10ca447398e83de81640.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_context.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/emit_context.cpp
index e5d83e9b4..bf2210899 100644
--- a/src/shader_recompiler/backend/spirv/emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_context.cpp
@@ -790,6 +790,9 @@ void EmitContext::DefineInputs(const Info& info) {
if (info.uses_local_invocation_id) {
local_invocation_id = DefineInput(*this, U32[3], spv::BuiltIn::LocalInvocationId);
}
+ if (info.uses_is_helper_invocation) {
+ is_helper_invocation = DefineInput(*this, U1, spv::BuiltIn::HelperInvocation);
+ }
if (info.uses_subgroup_mask) {
subgroup_mask_eq = DefineInput(*this, U32[4], spv::BuiltIn::SubgroupEqMaskKHR);
subgroup_mask_lt = DefineInput(*this, U32[4], spv::BuiltIn::SubgroupLtMaskKHR);