summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
diff options
context:
space:
mode:
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.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 80ca8db26..0ec0d4c01 100644
--- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
+++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
@@ -44,6 +44,9 @@ void GetAttribute(Info& info, IR::Attribute attribute) {
case IR::Attribute::VertexId:
info.loads_vertex_id = true;
break;
+ case IR::Attribute::FrontFace:
+ info.loads_front_face = true;
+ break;
default:
throw NotImplementedException("Get attribute {}", attribute);
}