blob: b39861c46e4bba380bc596a9d88cfe6256746706 [file] [edit]
rayQuery-opacityMicromap.comp
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 26
Capability Shader
Capability RayQueryKHR
Capability RayTracingOpacityMicromapEXT
Extension "SPV_EXT_opacity_micromap"
Extension "SPV_KHR_ray_query"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 1 1 1
Source GLSL 460
SourceExtension "GL_EXT_opacity_micromap"
SourceExtension "GL_EXT_ray_query"
Name 4 "main"
Name 8 "rq"
Name 11 "topLevelAS"
Decorate 11(topLevelAS) Binding 0
Decorate 11(topLevelAS) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeRayQueryKHR
7: TypePointer Private 6
8(rq): 7(ptr) Variable Private
9: TypeAccelerationStructureKHR
10: TypePointer UniformConstant 9
11(topLevelAS): 10(ptr) Variable UniformConstant
13: TypeInt 32 0
14: 13(int) Constant 1024
15: 13(int) Constant 255
16: TypeFloat 32
17: TypeVector 16(float) 3
18: 16(float) Constant 0
19: 17(fvec3) ConstantComposite 18 18 18
20: 16(float) Constant 1036831949
21: 16(float) Constant 1065353216
22: 17(fvec3) ConstantComposite 18 18 21
23: 16(float) Constant 1120403456
24: TypeBool
4(main): 2 Function None 3
5: Label
12: 9 Load 11(topLevelAS)
RayQueryInitializeKHR 8(rq) 12 14 15 19 20 22 23
25: 24(bool) RayQueryProceedKHR 8(rq)
Return
FunctionEnd