yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Daniel KochImplement GL_EXT_opacity_micromap_ray_query_mode0e43b162

main
2.6 KiB52 linesraw
1rayQuery-opacityMicromapRayQueryMode.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 27
5
6                              Capability Shader
7                              Capability RayQueryKHR
8                              Capability RayTracingOpacityMicromapExecutionModeKHR
9                              Extension  "SPV_KHR_opacity_micromap"
10                              Extension  "SPV_KHR_ray_query"
11               1:             ExtInstImport  "GLSL.std.450"
12                              MemoryModel Logical GLSL450
13                              EntryPoint GLCompute 4  "main" 8 11
14                              ExecutionMode 4 LocalSize 1 1 1
15                              ExecutionModeId 4 OpacityMicromapIdKHR 26
16                              Source GLSL 460
17                              SourceExtension  "GL_EXT_opacity_micromap_ray_query_mode"
18                              SourceExtension  "GL_EXT_ray_query"
19                              Name 4  "main"
20                              Name 8  "rq"
21                              Name 11  "topLevelAS"
22                              Decorate 11(topLevelAS) Binding 0
23                              Decorate 11(topLevelAS) DescriptorSet 0
24                              Decorate 26 SpecId 2
25               2:             TypeVoid
26               3:             TypeFunction 2
27               6:             TypeRayQueryKHR
28               7:             TypePointer Private 6
29           8(rq):      7(ptr) Variable Private
30               9:             TypeAccelerationStructureKHR
31              10:             TypePointer UniformConstant 9
32  11(topLevelAS):     10(ptr) Variable UniformConstant
33              13:             TypeInt 32 0
34              14:     13(int) Constant 0
35              15:     13(int) Constant 255
36              16:             TypeFloat 32
37              17:             TypeVector 16(float) 3
38              18:   16(float) Constant 0
39              19:   17(fvec3) ConstantComposite 18 18 18
40              20:   16(float) Constant 1036831949
41              21:   16(float) Constant 1065353216
42              22:   17(fvec3) ConstantComposite 18 18 21
43              23:   16(float) Constant 1120403456
44              24:             TypeBool
45              26:    24(bool) SpecConstantFalse
46         4(main):           2 Function None 3
47               5:             Label
48              12:           9 Load 11(topLevelAS)
49                              RayQueryInitializeKHR 8(rq) 12 14 15 19 20 22 23
50              25:    24(bool) RayQueryProceedKHR 8(rq)
51                              Return
52                              FunctionEnd