shader: Add PointCoord attribute
This commit is contained in:
parent
357a47d944
commit
a8c2a85610
5 changed files with 16 additions and 0 deletions
|
@ -47,6 +47,10 @@ void GetAttribute(Info& info, IR::Attribute attribute) {
|
|||
case IR::Attribute::FrontFace:
|
||||
info.loads_front_face = true;
|
||||
break;
|
||||
case IR::Attribute::PointSpriteS:
|
||||
case IR::Attribute::PointSpriteT:
|
||||
info.loads_point_coord = true;
|
||||
break;
|
||||
default:
|
||||
throw NotImplementedException("Get attribute {}", attribute);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue