yum-mirror/glslang

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

Daniel KochImplement GL_EXT_opacity_micromap_ray_query_mode0e43b162

main
2.5 KiB51 linesraw
1rayQuery-opacityMicromapRayQueryModeTrue.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               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeRayQueryKHR
27               7:             TypePointer Private 6
28           8(rq):      7(ptr) Variable Private
29               9:             TypeAccelerationStructureKHR
30              10:             TypePointer UniformConstant 9
31  11(topLevelAS):     10(ptr) Variable UniformConstant
32              13:             TypeInt 32 0
33              14:     13(int) Constant 0
34              15:     13(int) Constant 255
35              16:             TypeFloat 32
36              17:             TypeVector 16(float) 3
37              18:   16(float) Constant 0
38              19:   17(fvec3) ConstantComposite 18 18 18
39              20:   16(float) Constant 1036831949
40              21:   16(float) Constant 1065353216
41              22:   17(fvec3) ConstantComposite 18 18 21
42              23:   16(float) Constant 1120403456
43              24:             TypeBool
44              26:    24(bool) ConstantTrue
45         4(main):           2 Function None 3
46               5:             Label
47              12:           9 Load 11(topLevelAS)
48                              RayQueryInitializeKHR 8(rq) 12 14 15 19 20 22 23
49              25:    24(bool) RayQueryProceedKHR 8(rq)
50                              Return
51                              FunctionEnd