yum-mirror/glslang

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

Guang-035Add groundwork for GLSL_EXT_structured_descriptor_heap in glslang799ea066

main
3.3 KiB65 linesraw
1spv.tensorARM.descriptorHeap.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 33
5
6                              Capability Shader
7                              Capability TensorsARM
8                              Capability UntypedPointersKHR
9                              Capability DescriptorHeapEXT
10                              Extension  "SPV_ARM_tensors"
11                              Extension  "SPV_EXT_descriptor_heap"
12                              Extension  "SPV_KHR_untyped_pointers"
13               1:             ExtInstImport  "GLSL.std.450"
14                              MemoryModel Logical GLSL450
15                              EntryPoint GLCompute 4  "main" 19 11
16                              ExecutionMode 4 LocalSize 1 1 1
17                              Source GLSL 460
18                              SourceExtension  "GL_ARM_tensors"
19                              SourceExtension  "GL_EXT_descriptor_heap"
20                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
21                              Name 4  "main"
22                              Name 11  "t"
23                              Name 19  "resource_heap"
24                              Name 24  "O"
25                              MemberName 24(O) 0  "out_data"
26                              Decorate 11(t) Binding 0
27                              Decorate 11(t) DescriptorSet 0
28                              Decorate 19(resource_heap) BuiltIn ResourceHeapEXT
29                              DecorateId 22 ArrayStrideIdEXT 21
30                              Decorate 24(O) Block
31                              MemberDecorate 24(O) 0 Offset 0
32               2:             TypeVoid
33               3:             TypeFunction 2
34               6:             TypeInt 32 1
35               7:             TypeInt 32 0
36               8:      7(int) Constant 4
37               9:             TypeTensorARM 6(int) 8
38              10:             TypePointer UniformConstant 9
39           11(t):     10(ptr) Variable UniformConstant
40              13:             TypeArray 7(int) 8
41              14:      7(int) Constant 1
42              15:      7(int) Constant 2
43              16:      7(int) Constant 3
44              17:          13 ConstantComposite 14 15 16 8
45              18:             TypeUntypedPointerKHR UniformConstant
4619(resource_heap):     18(ptr) UntypedVariableKHR UniformConstant
47              20:             TypeBufferEXT StorageBuffer
48              21:      7(int) ConstantSizeOfEXT 20
49              22:             TypeRuntimeArray 20
50              23:      6(int) Constant 1
51           24(O):             TypeStruct 6(int)
52              25:      6(int) Constant 0
53              26:      7(int) Constant 0
54              29:             TypePointer StorageBuffer 24(O)
55              31:             TypePointer StorageBuffer 6(int)
56         4(main):           2 Function None 3
57               5:             Label
58              12:           9 Load 11(t)
59              27:      6(int) TensorReadARM 12 17
60              28:     18(ptr) UntypedAccessChainKHR 22 19(resource_heap) 23
61              30:     29(ptr) BufferPointerEXT 28
62              32:     31(ptr) AccessChain 30 25
63                              Store 32 27
64                              Return
65                              FunctionEnd