yum-mirror/glslang

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

Daniel KochImplement GL_EXT_opacity_micromap_ray_query_mode0e43b162

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