blob: 8ebb36df4712ea00a2d9ce1de018be80227d6f1b [file] [edit]
rayQuery-opacityMicromapRayQueryModeDefault.comp
// Module Version 10400
// Generated by (magic number): 8000b
// Id's are bound by 27
Capability Shader
Capability RayQueryKHR
Capability RayTracingOpacityMicromapExecutionModeKHR
Extension "SPV_KHR_opacity_micromap"
Extension "SPV_KHR_ray_query"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main" 8 11
ExecutionMode 4 LocalSize 1 1 1
ExecutionModeId 4 OpacityMicromapIdKHR 26
Source GLSL 460
SourceExtension "GL_EXT_opacity_micromap_ray_query_mode"
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 0
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
26: 24(bool) ConstantFalse
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