SPV: Fix missing 'Member' operand to OpArrayLength.
This commit is contained in:
parent
142d7780a4
commit
ee21fc9081
5 changed files with 18 additions and 4 deletions
|
|
@ -225,6 +225,9 @@ public:
|
|||
// Create an OpAccessChain instruction
|
||||
Id createAccessChain(StorageClass, Id base, std::vector<Id>& offsets);
|
||||
|
||||
// Create an OpArrayLength instruction
|
||||
Id createArrayLength(Id base, unsigned int member);
|
||||
|
||||
// Create an OpCompositeExtract instruction
|
||||
Id createCompositeExtract(Id composite, Id typeId, unsigned index);
|
||||
Id createCompositeExtract(Id composite, Id typeId, std::vector<unsigned>& indexes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue