yum-mirror/glslang

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

Guang-035Add groundwork for GLSL_EXT_structured_descriptor_heap in glslang799ea066

main
2.1 KiB42 linesraw
1spv.descriptorHeap.AtomicImage.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 21
5
6                              Capability Shader
7                              Capability Image1D
8                              Capability UntypedPointersKHR
9                              Capability DescriptorHeapEXT
10                              Extension  "SPV_EXT_descriptor_heap"
11                              Extension  "SPV_KHR_untyped_pointers"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical GLSL450
14                              EntryPoint GLCompute 4  "main" 7
15                              ExecutionMode 4 LocalSize 1 1 1
16                              Source GLSL 460
17                              SourceExtension  "GL_EXT_descriptor_heap"
18                              Name 4  "main"
19                              Name 7  "resource_heap"
20                              Decorate 7(resource_heap) BuiltIn ResourceHeapEXT
21                              DecorateId 12 ArrayStrideIdEXT 11
22               2:             TypeVoid
23               3:             TypeFunction 2
24               6:             TypeUntypedPointerKHR UniformConstant
257(resource_heap):      6(ptr) UntypedVariableKHR UniformConstant
26               8:             TypeInt 32 1
27               9:             TypeImage 8(int) 1D nonsampled format:R32i
28              10:             TypeInt 32 0
29              11:     10(int) ConstantSizeOfEXT 9
30              12:             TypeRuntimeArray 9
31              13:      8(int) Constant 1
32              15:     10(int) Constant 0
33              16:             TypePointer Image 8(int)
34              17:             TypeUntypedPointerKHR Image
35              19:     10(int) Constant 1
36         4(main):           2 Function None 3
37               5:             Label
38              14:      6(ptr) UntypedAccessChainKHR 12 7(resource_heap) 13
39              18:     17(ptr) UntypedImageTexelPointerEXT 9 14 13 15
40              20:      8(int) AtomicIAdd 18 19 15 13
41                              Return
42                              FunctionEnd