2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

glasm: Implement gl_PointSize stores

This commit is contained in:
ReinUsesLisp 2021-05-19 02:26:32 -03:00 committed by ameerj
parent 9415c435fc
commit 2494dbe183

View file

@ -93,6 +93,9 @@ void EmitSetAttribute(EmitContext& ctx, IR::Attribute attr, ScalarF32 value,
return;
}
switch (attr) {
case IR::Attribute::PointSize:
ctx.Add("MOV.F result.pointsize.x,{};", value);
break;
case IR::Attribute::PositionX:
case IR::Attribute::PositionY:
case IR::Attribute::PositionZ: