-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
The distance.fp16.test
and distance.32.test
tests do not support clang-vulkan due to a validation error.
When running these tests, this error output is seen:
# .---command stderr------------
# | Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08740 ]
# | vkCreateShaderModule(): SPIR-V Capability FloatControls2 was declared, but one of the following requirements is required (VkPhysicalDeviceVulkan14Features::shaderFloatControls2 OR VkPhysicalDeviceShaderFloatControls2Features::shaderFloatControls2).
# | The Vulkan spec states: If pCode is a pointer to SPIR-V code, and 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.4.313.2/windows/antora/spec/latest/chapters/shaders.html#VUID-VkShaderModuleCreateInfo-pCode-08740)
# | Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08742 ]
# | vkCreateShaderModule(): SPIR-V Extension SPV_KHR_float_controls2 was declared, but one of the following requirements is required (1.4.0 (0x00404000) or VK_KHR_shader_float_controls2).
# | The Vulkan spec states: If pCode is a pointer to SPIR-V code, and pCode declares any of the SPIR-V extensions listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/1.4.313.2/windows/antora/spec/latest/chapters/shaders.html#VUID-VkShaderModuleCreateInfo-pCode-08742)
# | gpu-exec: error: Failed to create shader module.
# `-----------------------------
# error: command failed with exit status: 0xc0000005
In both validation errors, there are missing requirements.
The offload test suite needs a way to specify these requirements, so that these tests can be run.
This issue tracks the two tests listed above, while they're run in clang-vulkan unsupported mode. They should be run in clang-vulkan as well.
Metadata
Metadata
Assignees
Labels
No labels