summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
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 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) {
83 case IR::Attribute::ClipDistance7: 83 case IR::Attribute::ClipDistance7:
84 info.stores_clip_distance = true; 84 info.stores_clip_distance = true;
85 break; 85 break;
86 case IR::Attribute::Layer:
87 info.stores_layer = true;
88 break;
86 case IR::Attribute::ViewportIndex: 89 case IR::Attribute::ViewportIndex:
87 info.stores_viewport_index = true; 90 info.stores_viewport_index = true;
88 break; 91 break;