SPIRV-Cross/reference/shaders-no-opt/asm/comp/ray-query-function-object.spv14.asm.vk.nocompat.comp.vk
Chip Davis 5547b25afe Interleave undef values with constants and types.
Undef values may be of struct type and may be used in constants.
Therefore, they must be interleaved with constants and types.

Fixes the rest of the Vulkan CTS test
`dEQP-VK.spirv_assembly.instruction.compute.opundef.undefined_spec_constant_composite`.

(Please excuse the churn in the reference output; it's an inevitable
result of this change.)
2022-11-20 02:08:37 -08:00

16 lines
315 B
Plaintext

#version 460
#extension GL_EXT_ray_query : require
layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in;
float _16;
vec3 _17;
layout(set = 0, binding = 0) uniform accelerationStructureEXT RTAS;
void main()
{
rayQueryEXT _19;
rayQueryInitializeEXT(_19, RTAS, 2u, 255u, _17, _16, _17, _16);
}