diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-21 02:06:50 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:32 +0200 |
commit | 2913ca811ea95527d0a0ae653348e3bdc90407fd (patch) | |
tree | a49ee808b3def33ca9170747fe9f0a30a8fc7058 | |
parent | gl_shader_manager: Zero initialize current assembly programs (diff) | |
download | yuzu-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.cpp | 4 |
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); |