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