Use unsigned int instead of uint32_t
This commit is contained in:
parent
b29c58ea45
commit
aac6d63716
@ -631,7 +631,7 @@ Id Builder::getContainedTypeId(Id typeId) const
|
|||||||
// Returns true if 'typeId' is or contains a scalar type declared with 'typeOp'
|
// Returns true if 'typeId' is or contains a scalar type declared with 'typeOp'
|
||||||
// of width 'width'. The 'width' is only consumed for int and float types.
|
// of width 'width'. The 'width' is only consumed for int and float types.
|
||||||
// Returns false otherwise.
|
// Returns false otherwise.
|
||||||
bool Builder::containsType(Id typeId, spv::Op typeOp, uint32_t width) const
|
bool Builder::containsType(Id typeId, spv::Op typeOp, unsigned int width) const
|
||||||
{
|
{
|
||||||
const Instruction& instr = *module.getInstruction(typeId);
|
const Instruction& instr = *module.getInstruction(typeId);
|
||||||
|
|
||||||
|
|||||||
@ -172,7 +172,7 @@ public:
|
|||||||
bool isImageType(Id typeId) const { return getTypeClass(typeId) == OpTypeImage; }
|
bool isImageType(Id typeId) const { return getTypeClass(typeId) == OpTypeImage; }
|
||||||
bool isSamplerType(Id typeId) const { return getTypeClass(typeId) == OpTypeSampler; }
|
bool isSamplerType(Id typeId) const { return getTypeClass(typeId) == OpTypeSampler; }
|
||||||
bool isSampledImageType(Id typeId) const { return getTypeClass(typeId) == OpTypeSampledImage; }
|
bool isSampledImageType(Id typeId) const { return getTypeClass(typeId) == OpTypeSampledImage; }
|
||||||
bool containsType(Id typeId, Op typeOp, uint32_t width) const;
|
bool containsType(Id typeId, Op typeOp, unsigned int width) const;
|
||||||
|
|
||||||
bool isConstantOpCode(Op opcode) const;
|
bool isConstantOpCode(Op opcode) const;
|
||||||
bool isSpecConstantOpCode(Op opcode) const;
|
bool isSpecConstantOpCode(Op opcode) const;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user