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