Id Builder::createArrayLength(Id base, unsigned int member)
{
- spv::Id intType = makeIntType(32);
+ spv::Id intType = makeUintType(32);
Instruction* length = new Instruction(getUniqueId(), intType, OpArrayLength);
length->addIdOperand(base);
length->addImmediateOperand(member);