yum-mirror/glslang

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

Daniel KochImplement GL_EXT_opacity_micromap_ray_query_mode0e43b162

main
2.8 KiB55 linesraw
1rayQuery-opacityMicromapRayQueryModeForce2State.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 RayTracingOpacityMicromapEXT
9                              Capability RayTracingOpacityMicromapExecutionModeKHR
10                              Extension  "SPV_EXT_opacity_micromap"
11                              Extension  "SPV_KHR_opacity_micromap"
12                              Extension  "SPV_KHR_ray_query"
13               1:             ExtInstImport  "GLSL.std.450"
14                              MemoryModel Logical GLSL450
15                              EntryPoint GLCompute 4  "main" 8 11
16                              ExecutionMode 4 LocalSize 1 1 1
17                              ExecutionModeId 4 OpacityMicromapIdKHR 26
18                              Source GLSL 460
19                              SourceExtension  "GL_EXT_opacity_micromap"
20                              SourceExtension  "GL_EXT_opacity_micromap_ray_query_mode"
21                              SourceExtension  "GL_EXT_ray_query"
22                              Name 4  "main"
23                              Name 8  "rq"
24                              Name 11  "topLevelAS"
25                              Decorate 11(topLevelAS) Binding 0
26                              Decorate 11(topLevelAS) DescriptorSet 0
27                              Decorate 26 SpecId 2
28               2:             TypeVoid
29               3:             TypeFunction 2
30               6:             TypeRayQueryKHR
31               7:             TypePointer Private 6
32           8(rq):      7(ptr) Variable Private
33               9:             TypeAccelerationStructureKHR
34              10:             TypePointer UniformConstant 9
35  11(topLevelAS):     10(ptr) Variable UniformConstant
36              13:             TypeInt 32 0
37              14:     13(int) Constant 1024
38              15:     13(int) Constant 255
39              16:             TypeFloat 32
40              17:             TypeVector 16(float) 3
41              18:   16(float) Constant 0
42              19:   17(fvec3) ConstantComposite 18 18 18
43              20:   16(float) Constant 1036831949
44              21:   16(float) Constant 1065353216
45              22:   17(fvec3) ConstantComposite 18 18 21
46              23:   16(float) Constant 1120403456
47              24:             TypeBool
48              26:    24(bool) SpecConstantFalse
49         4(main):           2 Function None 3
50               5:             Label
51              12:           9 Load 11(topLevelAS)
52                              RayQueryInitializeKHR 8(rq) 12 14 15 19 20 22 23
53              25:    24(bool) RayQueryProceedKHR 8(rq)
54                              Return
55                              FunctionEnd