spirv: Implement ViewportMask with NV_viewport_array2
This commit is contained in:
parent
f65aa540d8
commit
b6b541e36a
10 changed files with 32 additions and 0 deletions
|
@ -96,6 +96,9 @@ void SetAttribute(Info& info, IR::Attribute attribute) {
|
|||
case IR::Attribute::ViewportIndex:
|
||||
info.stores_viewport_index = true;
|
||||
break;
|
||||
case IR::Attribute::ViewportMask:
|
||||
info.stores_viewport_mask = true;
|
||||
break;
|
||||
default:
|
||||
throw NotImplementedException("Set attribute {}", attribute);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue