VERY experimental Nintendo Switch 2 emulator
C++
glasm: Implement TessellationEvaluationPoint
ReinUsesLisp539a4ef59c99
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.cppindex c3a2c6b70e..a728225b02 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, Scalctx.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);