yum-mirror/glslang

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

Jeff BolzImplement GL_EXT_ocp_microscaling_types62f5430e

main
8.2 KiB172 linesraw
1spv.floate3m2.comp
2// Module Version 10600
3// Generated by (magic number): 8000b
4// Id's are bound by 104
5
6                              Capability Shader
7                              Capability Float16
8                              Capability Float64
9                              Capability Int16
10                              Capability Int8
11                              Capability Float6EXT
12                              Capability BitcastExtractEXT
13                              Capability LongVectorEXT
14                              Extension  "SPV_EXT_long_vector"
15                              Extension  "SPV_EXT_ocp_microscaling_types"
16               1:             ExtInstImport  "GLSL.std.450"
17                              MemoryModel Logical GLSL450
18                              EntryPoint GLCompute 4  "main"
19                              ExecutionMode 4 LocalSize 1 1 1
20                              Source GLSL 450
21                              SourceExtension  "GL_EXT_float_e3m2"
22                              SourceExtension  "GL_EXT_long_vector"
23                              SourceExtension  "GL_EXT_scalar_block_layout"
24                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
25                              SourceExtension  "GL_KHR_memory_scope_semantics"
26                              Name 4  "main"
27                              Name 10  "funcfe3m2(fe3m21;"
28                              Name 9  "x"
29                              Name 17  "f"
30                              Name 19  "b"
31                              Name 23  "f16"
32                              Name 25  "f32"
33                              Name 29  "f64"
34                              Name 43  "param"
35                              Name 49  "u8"
36                              Name 52  "v4"
37                              Name 58  "u16"
38                              Name 61  "v8"
39                              Name 67  "u32"
40                              Name 70  "v16"
41                              Name 82  "v4_2"
42                              Name 88  "v7"
43                              Name 99  "bsc10"
44                              Name 100  "S"
45                              MemberName 100(S) 0  "b"
46                              Decorate 99(bsc10) SpecId 1
47               2:             TypeVoid
48               3:             TypeFunction 2
49               6:             TypeFloat 6 4224
50               7:             TypePointer Function 6(floate3m2_t)
51               8:             TypeFunction 6(floate3m2_t) 7(ptr)
52              15:             TypeFloat 32
53              16:             TypePointer Function 15(float)
54              18:   15(float) Constant 1073741824
55              20:6(floate3m2_t) Constant 12
56              21:             TypeFloat 16
57              22:             TypePointer Function 21(float16_t)
58              24:21(float16_t) Constant 18176
59              26:   15(float) Constant 1088421888
60              27:             TypeFloat 64
61              28:             TypePointer Function 27(float64_t)
62              30:27(float64_t) Constant 0 1075576832
63              46:             TypeInt 8 0
64              47:             TypeVector 46(int8_t) 3
65              48:             TypePointer Function 47(i8vec3)
66              50:             TypeVector 6(floate3m2_t) 4
67              51:             TypePointer Function 50(fvec4)
68              55:             TypeInt 16 0
69              56:             TypeVector 55(int16_t) 3
70              57:             TypePointer Function 56(i16vec3)
71              59:             TypeVector 6(floate3m2_t) 8
72              60:             TypePointer Function 59(fvec8)
73              64:             TypeInt 32 0
74              65:             TypeVector 64(int) 3
75              66:             TypePointer Function 65(ivec3)
76              68:             TypeVector 6(floate3m2_t) 16
77              69:             TypePointer Function 68(fvec16)
78              79:  46(int8_t) Constant 1
79              80:     64(int) Constant 2
80              83:             TypeVector 46(int8_t) 4
81              84:  83(i8vec4) ConstantComposite 79 79 79 79
82              86:             TypeVector 6(floate3m2_t) 7
83              87:             TypePointer Function 86(fvec)
84              89:             TypeVector 46(int8_t) 7
85              90:   89(i8vec) ConstantComposite 79 79 79 79 79 79 79
86              91:     64(int) Constant 3
87              93:     64(int) Constant 1
88              94:   65(ivec3) ConstantComposite 93 93 93
89              95:6(floate3m2_t) Constant 25
90              96:             TypeVector 6(floate3m2_t) 2
91              97:6(floate3m2_t) Constant 29
92              98:   96(fvec2) ConstantComposite 97 97
93       99(bsc10):6(floate3m2_t) SpecConstant 25
94          100(S):             TypeStruct 6(floate3m2_t)
95             101:      100(S) ConstantComposite 95
96             102:             TypeArray 6(floate3m2_t) 80
97             103:         102 ConstantComposite 95 95
98         4(main):           2 Function None 3
99               5:             Label
100           17(f):     16(ptr) Variable Function
101           19(b):      7(ptr) Variable Function
102         23(f16):     22(ptr) Variable Function
103         25(f32):     16(ptr) Variable Function
104         29(f64):     28(ptr) Variable Function
105       43(param):      7(ptr) Variable Function
106          49(u8):     48(ptr) Variable Function
107          52(v4):     51(ptr) Variable Function
108         58(u16):     57(ptr) Variable Function
109          61(v8):     60(ptr) Variable Function
110         67(u32):     66(ptr) Variable Function
111         70(v16):     69(ptr) Variable Function
112        82(v4_2):     51(ptr) Variable Function
113          88(v7):     87(ptr) Variable Function
114                              Store 17(f) 18
115                              Store 19(b) 20
116                              Store 23(f16) 24
117                              Store 25(f32) 26
118                              Store 29(f64) 30
119              31:6(floate3m2_t) Load 19(b)
120              32:21(float16_t) FConvert 31
121                              Store 23(f16) 32
122              33:6(floate3m2_t) Load 19(b)
123              34:   15(float) FConvert 33
124                              Store 25(f32) 34
125              35:6(floate3m2_t) Load 19(b)
126              36:27(float64_t) FConvert 35
127                              Store 29(f64) 36
128              37:6(floate3m2_t) Load 19(b)
129              38:21(float16_t) FConvert 37
130                              Store 23(f16) 38
131              39:6(floate3m2_t) Load 19(b)
132              40:   15(float) FConvert 39
133                              Store 25(f32) 40
134              41:6(floate3m2_t) Load 19(b)
135              42:27(float64_t) FConvert 41
136                              Store 29(f64) 42
137              44:6(floate3m2_t) Load 19(b)
138                              Store 43(param) 44
139              45:6(floate3m2_t) FunctionCall 10(funcfe3m2(fe3m21;) 43(param)
140                              Store 19(b) 45
141              53:   50(fvec4) Load 52(v4)
142              54:  47(i8vec3) Bitcast 53
143                              Store 49(u8) 54
144              62:   59(fvec8) Load 61(v8)
145              63: 56(i16vec3) Bitcast 62
146                              Store 58(u16) 63
147              71:  68(fvec16) Load 70(v16)
148              72:   65(ivec3) Bitcast 71
149                              Store 67(u32) 72
150              73:  47(i8vec3) Load 49(u8)
151              74:   50(fvec4) Bitcast 73
152                              Store 52(v4) 74
153              75: 56(i16vec3) Load 58(u16)
154              76:   59(fvec8) Bitcast 75
155                              Store 61(v8) 76
156              77:   65(ivec3) Load 67(u32)
157              78:  68(fvec16) Bitcast 77
158                              Store 70(v16) 78
159              81:6(floate3m2_t) BitcastExtractEXT 79 80
160                              Store 19(b) 81
161              85:   50(fvec4) BitcastExtractEXT 84 80
162                              Store 82(v4_2) 85
163              92:    86(fvec) BitcastExtractEXT 90 91
164                              Store 88(v7) 92
165                              Return
166                              FunctionEnd
16710(funcfe3m2(fe3m21;):6(floate3m2_t) Function None 8
168            9(x):      7(ptr) FunctionParameter
169              11:             Label
170              12:6(floate3m2_t) Load 9(x)
171                              ReturnValue 12
172                              FunctionEnd