This fixes check_build_sanity.py
Components: Vulkan
Change-Id: I0631c5ef2ede20a68a5853e497acc5e1106ab127
{
const vk::VkPhysicalDeviceFeatures& featuresAvailable = getDeviceFeatures();
const vk::VkBool32* featuresAvailableArray = (vk::VkBool32*)(&featuresAvailable);
- const deUint32 requiredFeatureIndex = static_cast<const deUint32>(requiredFeature);
+ const deUint32 requiredFeatureIndex = static_cast<deUint32>(requiredFeature);
DE_ASSERT(requiredFeatureIndex * sizeof(vk::VkBool32) < sizeof(featuresAvailable));
DE_ASSERT(deviceCoreFeaturesTable[requiredFeatureIndex].featureArrayIndex * sizeof(vk::VkBool32) == deviceCoreFeaturesTable[requiredFeatureIndex].featureArrayOffset);