diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-04-01 08:34:45 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | d819ba4489b90955286341c739083e638173b938 (patch) | |
tree | c0210cabb9dd5a0a7ee3df3a4c36c4135c51ac91 /src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | |
parent | shader: Stub TLD4's PTP when it isn't constant (diff) | |
download | yuzu-d819ba4489b90955286341c739083e638173b938.tar yuzu-d819ba4489b90955286341c739083e638173b938.tar.gz yuzu-d819ba4489b90955286341c739083e638173b938.tar.bz2 yuzu-d819ba4489b90955286341c739083e638173b938.tar.lz yuzu-d819ba4489b90955286341c739083e638173b938.tar.xz yuzu-d819ba4489b90955286341c739083e638173b938.tar.zst yuzu-d819ba4489b90955286341c739083e638173b938.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 50ffc4c19..514de6838 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp @@ -81,6 +81,9 @@ void SetAttribute(Info& info, IR::Attribute attribute) { case IR::Attribute::ClipDistance7: info.stores_clip_distance = true; break; + case IR::Attribute::ViewportIndex: + info.stores_viewport_index = true; + break; default: throw NotImplementedException("Set attribute {}", attribute); } |