Change-Id: I5697999b2d9d313b74a2d716abacc66fb5f19d8d
Move<VkShaderModule> fragmentShaderModule;
Move<VkPipeline> graphicsPipelines;
- if(memoryTypeIndex == -1u)
+ if (memoryTypeIndex == static_cast<deUint32>(-1))
TCU_THROW(NotSupportedError, "Lazily allocated bit is not supported");
const VkImageCreateInfo imageParams =
if((pMemoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & propertyFlag) == propertyFlag)
return memoryTypeIndex;
}
- return -1u;
+
+ return static_cast<deUint32>(-1);
}
void MemoryCommitmentTestCase::initPrograms (SourceCollections& programCollection) const