diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-14 23:09:18 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:27 +0200 |
commit | d8ec99dadaa033aa440671572ed38e2614815e11 (patch) | |
tree | b17186775bbfe5d4c1d135aba73605407d7e080a /src/shader_recompiler/ir_opt | |
parent | spirv: Fix alpha test (diff) | |
download | yuzu-d8ec99dadaa033aa440671572ed38e2614815e11.tar yuzu-d8ec99dadaa033aa440671572ed38e2614815e11.tar.gz yuzu-d8ec99dadaa033aa440671572ed38e2614815e11.tar.bz2 yuzu-d8ec99dadaa033aa440671572ed38e2614815e11.tar.lz yuzu-d8ec99dadaa033aa440671572ed38e2614815e11.tar.xz yuzu-d8ec99dadaa033aa440671572ed38e2614815e11.tar.zst yuzu-d8ec99dadaa033aa440671572ed38e2614815e11.zip |
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-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 116d93c1c..617ec05ce 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp @@ -83,6 +83,9 @@ void SetAttribute(Info& info, IR::Attribute attribute) { case IR::Attribute::ClipDistance7: info.stores_clip_distance = true; break; + case IR::Attribute::Layer: + info.stores_layer = true; + break; case IR::Attribute::ViewportIndex: info.stores_viewport_index = true; break; |