summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-11-11 14:03:40 +0100
committerGitHub <noreply@github.com>2022-11-11 14:03:40 +0100
commitc973029374a731e13f2de240820c818fa2899c2b (patch)
treeab20b418b3c6465e4e9b9503d8d3744f3560ad4b /src/shader_recompiler/ir_opt
parentMerge pull request #9223 from goldenx86/threadcount (diff)
parentvideo_core: Fix few issues in Tess stage (diff)
downloadyuzu-c973029374a731e13f2de240820c818fa2899c2b.tar
yuzu-c973029374a731e13f2de240820c818fa2899c2b.tar.gz
yuzu-c973029374a731e13f2de240820c818fa2899c2b.tar.bz2
yuzu-c973029374a731e13f2de240820c818fa2899c2b.tar.lz
yuzu-c973029374a731e13f2de240820c818fa2899c2b.tar.xz
yuzu-c973029374a731e13f2de240820c818fa2899c2b.tar.zst
yuzu-c973029374a731e13f2de240820c818fa2899c2b.zip
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r--src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
index 7cff8ecdc..5a4195217 100644
--- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
+++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
@@ -468,6 +468,9 @@ void VisitUsages(Info& info, IR::Inst& inst) {
case IR::Opcode::InvocationId:
info.uses_invocation_id = true;
break;
+ case IR::Opcode::InvocationInfo:
+ info.uses_invocation_info = true;
+ break;
case IR::Opcode::SampleId:
info.uses_sample_id = true;
break;