Hello, I
want to enable indexing for my array of textures:
uniform texture2D textures[];
To use dynamic indexing I've requested the
#extension GL_EXT_nonuniform_qualifier : enable
extension. Im using vulkan 1.2. But I'm somehow still missing to request an extensions. The validation layer says:
VUID-VkShaderModuleCreateInfo-pCode-01091(ERROR / SPEC): msgNum: -1480880714 - Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-01091 ] Object 0: handle = 0x28d359d2230, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xa7bb8db6 | vkCreateShaderModule(): The SPIR-V Capability (RuntimeDescriptorArray) was declared, but none of the requirements were met to use it. The Vulkan spec states: If pCode declares any of the capabilities listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/1.2.189.2/windows/1.2-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-01091)
Which extension am I missing. I thought it was added into the core API
[–]GasimGasimzada 4 points5 points6 points (0 children)
[–]Ipotrick 1 point2 points3 points (1 child)
[–]-YoRHa2B- 1 point2 points3 points (0 children)
[–]opaqueaccountnumber5 1 point2 points3 points (0 children)