summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-21 02:06:50 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:32 +0200
commit2913ca811ea95527d0a0ae653348e3bdc90407fd (patch)
treea49ee808b3def33ca9170747fe9f0a30a8fc7058
parentgl_shader_manager: Zero initialize current assembly programs (diff)
downloadyuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar
yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar.gz
yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar.bz2
yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar.lz
yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar.xz
yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar.zst
yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.zip
-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 c3a2c6b70..a728225b0 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
@@ -77,6 +77,10 @@ void EmitGetAttribute(EmitContext& ctx, IR::Inst& inst, IR::Attribute attr, Scal
ctx.Add("MOV.F {}.x,{}.position.{};", inst, ctx.attrib_name, swizzle);
}
break;
+ case IR::Attribute::TessellationEvaluationPointU:
+ case IR::Attribute::TessellationEvaluationPointV:
+ ctx.Add("MOV.F {}.x,vertex.tesscoord.{}", inst, swizzle);
+ break;
case IR::Attribute::PointSpriteS:
case IR::Attribute::PointSpriteT:
ctx.Add("MOV.F {}.x,{}.pointcoord.{};", inst, ctx.attrib_name, swizzle);