static const VkExtent3D smallImageExtent = { 4, 4, 1 };
static const VkExtent3D bigImageExtent = { 32, 32, 1 };
-static const VkDescriptorType VK_DESCRIPTOR_TYPE_UNDEFINED = VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT;
+
+#ifndef CTS_USES_VULKANSC
+static const VkDescriptorType VK_DESCRIPTOR_TYPE_UNDEFINED = VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT;
+#else
+static const VkDescriptorType VK_DESCRIPTOR_TYPE_UNDEFINED = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT;
+#endif
template<deUint32 BindingNumber>
struct Binding
{
context.requireDeviceFunctionality("VK_EXT_descriptor_indexing");
- const vk::VkPhysicalDeviceDescriptorIndexingFeaturesEXT& feats = context.getDescriptorIndexingFeatures();
+ const vk::VkPhysicalDeviceDescriptorIndexingFeatures& feats = context.getDescriptorIndexingFeatures();
switch (m_testCaseParams.descriptorType)
{
std::string(*genShaderSource)(VkShaderStageFlagBits, const TestCaseParams&, bool) = &CommonDescriptorInstance::getShaderAsm;
- deUint32 vulkan_version = VK_MAKE_VERSION(1, 2, 0);
+ deUint32 vulkan_version = VK_MAKE_API_VERSION(0, 1, 2, 0);
vk::SpirvVersion spirv_version = vk::SPIRV_VERSION_1_4;
vk::SpirVAsmBuildOptions asm_options(vulkan_version, spirv_version);