spirv: Implement ViewportMask with NV_viewport_array2
This commit is contained in:
parent
4657cf78fd
commit
e3514bcd6b
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