spirv: Implement ViewportMask with NV_viewport_array2

This commit is contained in:
ReinUsesLisp 2021-04-16 16:31:15 -03:00 committed by ameerj
parent f65aa540d8
commit b6b541e36a
10 changed files with 32 additions and 0 deletions

View file

@ -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);
}