summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-26 23:52:06 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commitb7589fe1154d9e810e83f6c609dad1d646ec0359 (patch)
treef8b79ef7529b80f0322b0d84a88e3a7df225e3f0 /src/shader_recompiler/ir_opt
parentshader: Store type of phi nodes in flags (diff)
downloadyuzu-b7589fe1154d9e810e83f6c609dad1d646ec0359.tar
yuzu-b7589fe1154d9e810e83f6c609dad1d646ec0359.tar.gz
yuzu-b7589fe1154d9e810e83f6c609dad1d646ec0359.tar.bz2
yuzu-b7589fe1154d9e810e83f6c609dad1d646ec0359.tar.lz
yuzu-b7589fe1154d9e810e83f6c609dad1d646ec0359.tar.xz
yuzu-b7589fe1154d9e810e83f6c609dad1d646ec0359.tar.zst
yuzu-b7589fe1154d9e810e83f6c609dad1d646ec0359.zip
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 81090335f..a47d54b9c 100644
--- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
+++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
@@ -58,6 +58,9 @@ void SetAttribute(Info& info, IR::Attribute attribute) {
return;
}
switch (attribute) {
+ case IR::Attribute::PointSize:
+ info.stores_point_size = true;
+ break;
case IR::Attribute::PositionX:
case IR::Attribute::PositionY:
case IR::Attribute::PositionZ: