From aac6d63716f766aa73897324b1a12b179b3fdbe4 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 25 Sep 2018 16:32:06 -0400 Subject: [PATCH] Use unsigned int instead of uint32_t --- SPIRV/SpvBuilder.cpp | 2 +- SPIRV/SpvBuilder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index 39eb8f25..7d779346 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -631,7 +631,7 @@ Id Builder::getContainedTypeId(Id typeId) const // 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. // 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); diff --git a/SPIRV/SpvBuilder.h b/SPIRV/SpvBuilder.h index 83edcd51..0836fffc 100644 --- a/SPIRV/SpvBuilder.h +++ b/SPIRV/SpvBuilder.h @@ -172,7 +172,7 @@ public: bool isImageType(Id typeId) const { return getTypeClass(typeId) == OpTypeImage; } bool isSamplerType(Id typeId) const { return getTypeClass(typeId) == OpTypeSampler; } 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 isSpecConstantOpCode(Op opcode) const;