yum-mirror/glslang

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

Kevin PetitUpdate expected output for GL_ARM_tensors tests2b63972c

main
4.2 KiB84 linesraw
1spv.tensorARM.params.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 45
5
6                              Capability Shader
7                              Capability TensorsARM
8                              Extension  "SPV_ARM_tensors"
9                              Extension  "SPV_KHR_storage_buffer_storage_class"
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint GLCompute 4  "main"
13                              ExecutionMode 4 LocalSize 1 1 1
14                              Source GLSL 460
15                              SourceExtension  "GL_ARM_tensors"
16                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
17                              Name 4  "main"
18                              Name 14  "unusedTensorParams(Ti1<4>;Ti1<4>;"
19                              Name 12  ""
20                              Name 13  ""
21                              Name 18  "tensorParam(Ti1<4>;"
22                              Name 17  "t"
23                              Name 21  "qualifiedTensorParam(Ti1<4>;"
24                              Name 20  "t"
25                              Name 33  "tu"
26                              Name 36  "buff"
27                              MemberName 36(buff) 0  "out_data"
28                              Name 38  ""
29                              Decorate 13 NonWritable
30                              Decorate 20(t) NonWritable
31                              Decorate 33(tu) Binding 0
32                              Decorate 33(tu) DescriptorSet 0
33                              Decorate 35 ArrayStride 4
34                              Decorate 36(buff) Block
35                              MemberDecorate 36(buff) 0 Offset 0
36                              Decorate 38 Binding 1
37                              Decorate 38 DescriptorSet 0
38               2:             TypeVoid
39               3:             TypeFunction 2
40               6:             TypeInt 32 1
41               7:             TypeInt 32 0
42               8:      7(int) Constant 4
43               9:             TypeTensorARM 6(int) 8
44              10:             TypePointer UniformConstant 9
45              11:             TypeFunction 2 10(ptr) 10(ptr)
46              16:             TypeFunction 7(int) 10(ptr)
47              25:      7(int) Constant 0
48          33(tu):     10(ptr) Variable UniformConstant
49              35:             TypeRuntimeArray 7(int)
50        36(buff):             TypeStruct 35
51              37:             TypePointer StorageBuffer 36(buff)
52              38:     37(ptr) Variable StorageBuffer
53              39:      6(int) Constant 0
54              43:             TypePointer StorageBuffer 7(int)
55         4(main):           2 Function None 3
56               5:             Label
57              34:           2 FunctionCall 14(unusedTensorParams(Ti1<4>;Ti1<4>;) 33(tu) 33(tu)
58              40:      7(int) FunctionCall 18(tensorParam(Ti1<4>;) 33(tu)
59              41:      7(int) FunctionCall 21(qualifiedTensorParam(Ti1<4>;) 33(tu)
60              42:      7(int) IAdd 40 41
61              44:     43(ptr) AccessChain 38 39 39
62                              Store 44 42
63                              Return
64                              FunctionEnd
6514(unusedTensorParams(Ti1<4>;Ti1<4>;):           2 Function None 11
66              12:     10(ptr) FunctionParameter
67              13:     10(ptr) FunctionParameter
68              15:             Label
69                              Return
70                              FunctionEnd
7118(tensorParam(Ti1<4>;):      7(int) Function None 16
72           17(t):     10(ptr) FunctionParameter
73              19:             Label
74              24:           9 Load 17(t)
75              26:      7(int) TensorQuerySizeARM 24 25
76                              ReturnValue 26
77                              FunctionEnd
7821(qualifiedTensorParam(Ti1<4>;):      7(int) Function None 16
79           20(t):     10(ptr) FunctionParameter
80              22:             Label
81              29:           9 Load 20(t)
82              30:      7(int) TensorQuerySizeARM 29 25
83                              ReturnValue 30
84                              FunctionEnd