Revert the commits that change OpArrayLength type and bumped the version number.
Now, version 5.* is all connected to making the uint type, which doesn't quite work. Generator versions 4 and 6 do not do this.
This commit is contained in:
parent
097047a919
commit
ac3707921e
525 changed files with 646 additions and 644 deletions
|
|
@ -1177,7 +1177,7 @@ Id Builder::createAccessChain(StorageClass storageClass, Id base, const std::vec
|
|||
|
||||
Id Builder::createArrayLength(Id base, unsigned int member)
|
||||
{
|
||||
spv::Id intType = makeUintType(32);
|
||||
spv::Id intType = makeIntType(32);
|
||||
Instruction* length = new Instruction(getUniqueId(), intType, OpArrayLength);
|
||||
length->addIdOperand(base);
|
||||
length->addImmediateOperand(member);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue