summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-19 07:25:53 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:32 +0200
commit9415c435fc447f2cd5a9e5d92401f08931ac1261 (patch)
tree2bd6ccb089d3629ec54bbf6413f042661def111d /src/shader_recompiler
parentglasm: Implement ImageQueryLod (diff)
downloadyuzu-9415c435fc447f2cd5a9e5d92401f08931ac1261.tar
yuzu-9415c435fc447f2cd5a9e5d92401f08931ac1261.tar.gz
yuzu-9415c435fc447f2cd5a9e5d92401f08931ac1261.tar.bz2
yuzu-9415c435fc447f2cd5a9e5d92401f08931ac1261.tar.lz
yuzu-9415c435fc447f2cd5a9e5d92401f08931ac1261.tar.xz
yuzu-9415c435fc447f2cd5a9e5d92401f08931ac1261.tar.zst
yuzu-9415c435fc447f2cd5a9e5d92401f08931ac1261.zip
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp
index 8c5cd286d..7bbb3e1af 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp
@@ -65,6 +65,10 @@ void EmitGetAttribute(EmitContext& ctx, IR::Inst& inst, IR::Attribute attr,
case IR::Attribute::PositionW:
ctx.Add("MOV.F {}.x,{}.position.{};", inst, ctx.stage_name, swizzle);
break;
+ case IR::Attribute::PointSpriteS:
+ case IR::Attribute::PointSpriteT:
+ ctx.Add("MOV.F {}.x,{}.pointcoord.{};", inst, ctx.stage_name, swizzle);
+ break;
case IR::Attribute::InstanceId:
ctx.Add("MOV.S {}.x,{}.instance;", inst, ctx.stage_name);
break;