summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-03-29 20:05:38 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commit9d7422d967a97fea7888449652ad93da88e92b54 (patch)
tree609f0dd7d03d26cea693807b524f59e9d6092885 /src/shader_recompiler/ir_opt
parentshader: Add PointSize attribute (diff)
downloadyuzu-9d7422d967a97fea7888449652ad93da88e92b54.tar
yuzu-9d7422d967a97fea7888449652ad93da88e92b54.tar.gz
yuzu-9d7422d967a97fea7888449652ad93da88e92b54.tar.bz2
yuzu-9d7422d967a97fea7888449652ad93da88e92b54.tar.lz
yuzu-9d7422d967a97fea7888449652ad93da88e92b54.tar.xz
yuzu-9d7422d967a97fea7888449652ad93da88e92b54.tar.zst
yuzu-9d7422d967a97fea7888449652ad93da88e92b54.zip
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r--src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp4
1 files changed, 4 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 a47d54b9c..eb3d1343f 100644
--- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
+++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
@@ -47,6 +47,10 @@ void GetAttribute(Info& info, IR::Attribute attribute) {
case IR::Attribute::FrontFace:
info.loads_front_face = true;
break;
+ case IR::Attribute::PointSpriteS:
+ case IR::Attribute::PointSpriteT:
+ info.loads_point_coord = true;
+ break;
default:
throw NotImplementedException("Get attribute {}", attribute);
}