doesnt pass spir-v validation, getting the following validation error
Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08737 ] | MessageID = 0xa5625282 | vkCreateShaderModule(): pCreateInfo->pCode (spirv-val produced an error):
OpVariable 19: expected AliasedPointer or RestrictPointer for PhysicalStorageBuffer pointer.
%19 = OpVariable %_ptr_Function__arr__ptr_PhysicalStorageBuffer_void_int_1000 Function
. The Vulkan spec states: If pCode is a pointer to SPIR-V code, pCode must adhere to the validation rules described by the Validation Rules within a Module section of the SPIR-V Environment appendix (https://vulkan.lunarg.com/doc/view/1.3.283.0/linux/1.3-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-08737)
currently on commit e19e0474639d579e6f0dc33d6b0c9b2a6d723fae, vulkan sdk version: 1.3.283.0
the following shader
doesnt pass spir-v validation, getting the following validation error
currently on commit e19e0474639d579e6f0dc33d6b0c9b2a6d723fae, vulkan sdk version: 1.3.283.0