if (m_context.getDeviceFeatures().fragmentStoresAndAtomics == VK_FALSE)
throw tcu::NotSupportedError("fragmentStoresAndAtomics not supported");
+ if (m_context.getDeviceFeatures().sampleRateShading == VK_FALSE)
+ throw tcu::NotSupportedError("sampleRateShading not supported");
+
imageFormatProperties = getPhysicalDeviceImageFormatProperties(vki, physicalDevice, m_format, VK_IMAGE_TYPE_2D,
VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, (VkImageCreateFlags)0);
if (m_context.getDeviceFeatures().fragmentStoresAndAtomics == VK_FALSE)
throw tcu::NotSupportedError("fragmentStoresAndAtomics not supported");
+ if (m_context.getDeviceFeatures().sampleRateShading == VK_FALSE)
+ throw tcu::NotSupportedError("sampleRateShading not supported");
+
imageFormatProperties = getPhysicalDeviceImageFormatProperties(vki, physicalDevice, VK_FORMAT_R32G32B32A32_SFLOAT, VK_IMAGE_TYPE_2D,
VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, (VkImageCreateFlags)0);