spirv: Implement Layer stores
This commit is contained in:
parent
f930bda4fb
commit
bba876f192
6 changed files with 30 additions and 9 deletions
|
@ -83,6 +83,9 @@ void SetAttribute(Info& info, IR::Attribute attribute) {
|
|||
case IR::Attribute::ClipDistance7:
|
||||
info.stores_clip_distance = true;
|
||||
break;
|
||||
case IR::Attribute::Layer:
|
||||
info.stores_layer = true;
|
||||
break;
|
||||
case IR::Attribute::ViewportIndex:
|
||||
info.stores_viewport_index = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue