spv.nv.cluster-allops.frag // Module Version 10400 // Generated by (magic number): 8000b // Id's are bound by 31 Capability Shader Capability RayQueryKHR Capability RayTracingClusterAccelerationStructureNV Extension "SPV_KHR_ray_query" Extension "SPV_NV_cluster_acceleration_structure" 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 11 30 ExecutionMode 4 OriginUpperLeft Source GLSL 460 SourceExtension "GL_EXT_ray_query" SourceExtension "GL_NV_cluster_acceleration_structure" Name 4 "main" Name 8 "id_candidate" Name 11 "rq" Name 16 "id_committed" Name 21 "test" Name 30 "as" Decorate 30(as) Binding 1 Decorate 30(as) DescriptorSet 0 2: TypeVoid 3: TypeFunction 2 6: TypeInt 32 1 7: TypePointer Function 6(int) 9: TypeRayQueryKHR 10: TypePointer Private 9 11(rq): 10(ptr) Variable Private 12: TypeBool 13: 12(bool) ConstantFalse 14: 6(int) Constant 0 17: 12(bool) ConstantTrue 18: 6(int) Constant 1 20: TypePointer Function 12(bool) 23: 6(int) Constant 4294967295 28: TypeAccelerationStructureKHR 29: TypePointer UniformConstant 28 30(as): 29(ptr) Variable UniformConstant 4(main): 2 Function None 3 5: Label 8(id_candidate): 7(ptr) Variable Function 16(id_committed): 7(ptr) Variable Function 21(test): 20(ptr) Variable Function 15: 6(int) RayQueryGetIntersectionClusterIdNV 11(rq) 14 Store 8(id_candidate) 15 19: 6(int) RayQueryGetIntersectionClusterIdNV 11(rq) 18 Store 16(id_committed) 19 22: 6(int) Load 8(id_candidate) 24: 12(bool) IEqual 22 23 25: 6(int) Load 16(id_committed) 26: 12(bool) IEqual 25 23 27: 12(bool) LogicalAnd 24 26 Store 21(test) 27 Return FunctionEnd