shader: Add PointSize attribute

This commit is contained in:
ameerj 2021-03-26 18:52:06 -04:00
parent 514a6b07ee
commit b7589fe115
5 changed files with 13 additions and 0 deletions

View file

@ -58,6 +58,9 @@ void SetAttribute(Info& info, IR::Attribute attribute) {
return;
}
switch (attribute) {
case IR::Attribute::PointSize:
info.stores_point_size = true;
break;
case IR::Attribute::PositionX:
case IR::Attribute::PositionY:
case IR::Attribute::PositionZ: