You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After having this fixed,
the generated spirv i get is invalid according to the vulkan validation layers (my app also crashes when i still run):
VUID-VkShaderModuleCreateInfo-pCode-08737(ERROR / SPEC): msgNum: -1520283006 - Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08737 ] | MessageID = 0xa5625282 | vkCreateShaderModule(): pCreateInfo->pCode is not valid SPIR-V: OpVariable 159: expected AliasedPointer or RestrictPointer for PhysicalStorageBuffer pointer.
%159 = OpVariable %_ptr_Function__ptr_PhysicalStorageBuffer_PP 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.268.0/windows/1.3-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-08737)
Objects: 0
The repro is the same as in the issue i linked.
The text was updated successfully, but these errors were encountered:
It appears that this is a spirv-opt bug. Run slangc with -O0 to disable spirvopt and you will get a valid SPIRV. I suggest you open an issue for spirvopt, and provide the slang output using -O0.
After having this fixed,
the generated spirv i get is invalid according to the vulkan validation layers (my app also crashes when i still run):
The repro is the same as in the issue i linked.
The text was updated successfully, but these errors were encountered: