SPV: Fix missing 'Member' operand to OpArrayLength.

This commit is contained in:
John Kessenich
2015-09-21 21:50:29 -06:00
parent 142d7780a4
commit ee21fc9081
5 changed files with 18 additions and 4 deletions

View File

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