shader_ir/memory: Implement physical input attributes
This commit is contained in:
parent
b7d412c99b
commit
71aa9d0877
4 changed files with 32 additions and 6 deletions
|
@ -98,6 +98,10 @@ union Attribute {
|
|||
BitField<22, 2, u64> element;
|
||||
BitField<24, 6, Index> index;
|
||||
BitField<47, 3, AttributeSize> size;
|
||||
|
||||
bool IsPhysical() const {
|
||||
return element == 0 && static_cast<u64>(index.Value()) == 0;
|
||||
}
|
||||
} fmt20;
|
||||
|
||||
union {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue