yum-mirror/glslang

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

Shaochi Zhou(AMD)Implement extension GL_EXT_descriptor_heap.c8d3e066

16.3.0
2.2 KiB43 linesraw
1spv.descriptorHeap.AtomicImage.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 22
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 14 DecorationArrayStrideIdEXT 13
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:      8(int) Constant 1
28              10:             TypeImage 8(int) 1D nonsampled format:R32i
29              11:             TypeUntypedPointerKHR Uniform
30              13:      8(int) ConstantSizeOfEXT 10
31              14:             TypeRuntimeArray 10
32              15:             TypeInt 32 0
33              16:     15(int) Constant 0
34              17:             TypePointer Image 8(int)
35              18:             TypeUntypedPointerKHR Image
36              20:     15(int) Constant 1
37         4(main):           2 Function None 3
38               5:             Label
39              12:      6(ptr) UntypedAccessChainKHR 14 7(resource_heap) 9
40              19:     18(ptr) UntypedImageTexelPointerEXT 10 12 9 16
41              21:      8(int) AtomicIAdd 19 20 16 9
42                              Return
43                              FunctionEnd