diff options
| author | 2021-05-20 21:06:50 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:32 -0400 | |
| commit | 2913ca811ea95527d0a0ae653348e3bdc90407fd (patch) | |
| tree | a49ee808b3def33ca9170747fe9f0a30a8fc7058 /src/shader_recompiler/backend/glasm | |
| parent | gl_shader_manager: Zero initialize current assembly programs (diff) | |
| download | yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar.gz yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.tar.xz yuzu-2913ca811ea95527d0a0ae653348e3bdc90407fd.zip | |
glasm: Implement TessellationEvaluationPoint
Diffstat (limited to 'src/shader_recompiler/backend/glasm')
| -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 | |||
| 77 | ctx.Add("MOV.F {}.x,{}.position.{};", inst, ctx.attrib_name, swizzle); | 77 | ctx.Add("MOV.F {}.x,{}.position.{};", inst, ctx.attrib_name, swizzle); |
| 78 | } | 78 | } |
| 79 | break; | 79 | break; |
| 80 | case IR::Attribute::TessellationEvaluationPointU: | ||
| 81 | case IR::Attribute::TessellationEvaluationPointV: | ||
| 82 | ctx.Add("MOV.F {}.x,vertex.tesscoord.{}", inst, swizzle); | ||
| 83 | break; | ||
| 80 | case IR::Attribute::PointSpriteS: | 84 | case IR::Attribute::PointSpriteS: |
| 81 | case IR::Attribute::PointSpriteT: | 85 | case IR::Attribute::PointSpriteT: |
| 82 | ctx.Add("MOV.F {}.x,{}.pointcoord.{};", inst, ctx.attrib_name, swizzle); | 86 | ctx.Add("MOV.F {}.x,{}.pointcoord.{};", inst, ctx.attrib_name, swizzle); |