diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-07-22 03:25:34 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:27 +0100 |
commit | 1672e9ba092f6bc268ece7619c4bae793c00c580 (patch) | |
tree | 41ee5463acf9290c21541dbf2ada79a3cff74811 /src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | |
parent | shader: Add resolution down factor opcode (diff) | |
download | yuzu-1672e9ba092f6bc268ece7619c4bae793c00c580.tar yuzu-1672e9ba092f6bc268ece7619c4bae793c00c580.tar.gz yuzu-1672e9ba092f6bc268ece7619c4bae793c00c580.tar.bz2 yuzu-1672e9ba092f6bc268ece7619c4bae793c00c580.tar.lz yuzu-1672e9ba092f6bc268ece7619c4bae793c00c580.tar.xz yuzu-1672e9ba092f6bc268ece7619c4bae793c00c580.tar.zst yuzu-1672e9ba092f6bc268ece7619c4bae793c00c580.zip |
Diffstat (limited to 'src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp')
-rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 3 |
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 f69e1c9cc..ef918f4d4 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp @@ -430,6 +430,9 @@ void VisitUsages(Info& info, IR::Inst& inst) { case IR::Opcode::IsHelperInvocation: info.uses_is_helper_invocation = true; break; + case IR::Opcode::ResolutionDownFactor: + info.uses_rescaling_uniform = true; + break; case IR::Opcode::LaneId: info.uses_subgroup_invocation_id = true; break; |