VK-GL-CTS icon indicating copy to clipboard operation
VK-GL-CTS copied to clipboard

Conformance concern for dEQP-VK.ray_query.advanced.using_wrapper_function.comp.*

Open iDingDong opened this issue 8 months ago • 0 comments

This case uses a shader that OpLoad/OpStore for OpTypeRayQueryKHR:

https://github.com/KhronosGroup/VK-GL-CTS/blob/a7dbc48b7b028e9e4bb14cde64c21ad268efd434/external/vulkancts/modules/vulkan/ray_query/vktRayQueryBuiltinTests.cpp#L5663

https://github.com/KhronosGroup/VK-GL-CTS/blob/a7dbc48b7b028e9e4bb14cde64c21ad268efd434/external/vulkancts/modules/vulkan/ray_query/vktRayQueryBuiltinTests.cpp#L5664

https://github.com/KhronosGroup/VK-GL-CTS/blob/a7dbc48b7b028e9e4bb14cde64c21ad268efd434/external/vulkancts/modules/vulkan/ray_query/vktRayQueryBuiltinTests.cpp#L5715

https://github.com/KhronosGroup/VK-GL-CTS/blob/a7dbc48b7b028e9e4bb14cde64c21ad268efd434/external/vulkancts/modules/vulkan/ray_query/vktRayQueryBuiltinTests.cpp#L5757

https://github.com/KhronosGroup/VK-GL-CTS/blob/a7dbc48b7b028e9e4bb14cde64c21ad268efd434/external/vulkancts/modules/vulkan/ray_query/vktRayQueryBuiltinTests.cpp#L5772

https://github.com/KhronosGroup/VK-GL-CTS/blob/a7dbc48b7b028e9e4bb14cde64c21ad268efd434/external/vulkancts/modules/vulkan/ray_query/vktRayQueryBuiltinTests.cpp#L5784

Which I believe would be against the amendment to SPIR-V specification for SPV_KHR_ray_query which says:

https://github.khronos.org/SPIRV-Registry/extensions/KHR/SPV_KHR_ray_query.html#_modifications_to_the_spir_v_specification

(Add the following line to the description of OpStore and OpLoad, in Section 3.32.8, Memory Instructions)

The Type operand to the OpTypePointer used for Pointer must not be OpTypeRayQueryKHR.

Am I missing something here?

iDingDong avatar Jul 08 '25 07:07 iDingDong