shader: Implement ViewportIndex
This commit is contained in:
parent
c7ed439bbc
commit
68bad0e922
8 changed files with 33 additions and 2 deletions
|
@ -81,6 +81,9 @@ void SetAttribute(Info& info, IR::Attribute attribute) {
|
|||
case IR::Attribute::ClipDistance7:
|
||||
info.stores_clip_distance = true;
|
||||
break;
|
||||
case IR::Attribute::ViewportIndex:
|
||||
info.stores_viewport_index = true;
|
||||
break;
|
||||
default:
|
||||
throw NotImplementedException("Set attribute {}", attribute);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue