2 #extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable
\r
3 #extension GL_EXT_shader_explicit_arithmetic_types_float32 : enable
\r
4 #extension GL_EXT_shader_explicit_arithmetic_types_float64 : enable
\r
5 #extension GL_EXT_shader_explicit_arithmetic_types_int8 : enable
\r
6 #extension GL_EXT_shader_explicit_arithmetic_types_int16 : enable
\r
7 #extension GL_EXT_shader_explicit_arithmetic_types_int32 : enable
\r
8 #extension GL_EXT_shader_explicit_arithmetic_types_int64 : enable
\r
10 precision highp float;
\r
14 float16_t(float16_t(0x1));
\r
15 float16_t(float32_t(0x2));
\r
16 float16_t(float64_t(0x3));
\r
17 float16_t(int8_t (0x4));
\r
18 float16_t(int16_t (0x5));
\r
19 float16_t(int32_t (0x6));
\r
20 float16_t(int64_t (0x7));
\r
21 float16_t(uint8_t (0x8));
\r
22 float16_t(uint16_t (0x9));
\r
23 float16_t(uint32_t (0xA));
\r
24 float16_t(uint64_t (0xB));
\r
25 float16_t(bool (0xC));
\r
26 float32_t(float16_t(0x11));
\r
27 float32_t(float32_t(0x12));
\r
28 float32_t(float64_t(0x13));
\r
29 float32_t(int8_t (0x14));
\r
30 float32_t(int16_t (0x15));
\r
31 float32_t(int32_t (0x16));
\r
32 float32_t(int64_t (0x17));
\r
33 float32_t(uint8_t (0x18));
\r
34 float32_t(uint16_t (0x19));
\r
35 float32_t(uint32_t (0x1A));
\r
36 float32_t(uint64_t (0x1B));
\r
37 float32_t(bool (0x1C));
\r
38 float64_t(float16_t(0x21));
\r
39 float64_t(float32_t(0x22));
\r
40 float64_t(float64_t(0x23));
\r
41 float64_t(int8_t (0x24));
\r
42 float64_t(int16_t (0x25));
\r
43 float64_t(int32_t (0x26));
\r
44 float64_t(int64_t (0x27));
\r
45 float64_t(uint8_t (0x28));
\r
46 float64_t(uint16_t (0x29));
\r
47 float64_t(uint32_t (0x2A));
\r
48 float64_t(uint64_t (0x2B));
\r
49 float64_t(bool (0x2C));
\r
50 int8_t(float16_t(0x31));
\r
51 int8_t(float32_t(0x32));
\r
52 int8_t(float64_t(0x33));
\r
53 int8_t(int8_t (0x34));
\r
54 int8_t(int16_t (0x35));
\r
55 int8_t(int32_t (0x36));
\r
56 int8_t(int64_t (0x37));
\r
57 int8_t(uint8_t (0x38));
\r
58 int8_t(uint16_t (0x39));
\r
59 int8_t(uint32_t (0x3A));
\r
60 int8_t(uint64_t (0x3B));
\r
61 int8_t(bool (0x3C));
\r
62 int16_t(float16_t(0x41));
\r
63 int16_t(float32_t(0x42));
\r
64 int16_t(float64_t(0x43));
\r
65 int16_t(int8_t (0x44));
\r
66 int16_t(int16_t (0x45));
\r
67 int16_t(int32_t (0x46));
\r
68 int16_t(int64_t (0x47));
\r
69 int16_t(uint8_t (0x48));
\r
70 int16_t(uint16_t (0x49));
\r
71 int16_t(uint32_t (0x4A));
\r
72 int16_t(uint64_t (0x4B));
\r
73 int16_t(bool (0x4C));
\r
74 int32_t(float16_t(0x51));
\r
75 int32_t(float32_t(0x52));
\r
76 int32_t(float64_t(0x53));
\r
77 int32_t(int8_t (0x54));
\r
78 int32_t(int16_t (0x55));
\r
79 int32_t(int32_t (0x56));
\r
80 int32_t(int64_t (0x57));
\r
81 int32_t(uint8_t (0x58));
\r
82 int32_t(uint16_t (0x59));
\r
83 int32_t(uint32_t (0x5A));
\r
84 int32_t(uint64_t (0x5B));
\r
85 int32_t(bool (0x5C));
\r
86 int64_t(float16_t(0x61));
\r
87 int64_t(float32_t(0x62));
\r
88 int64_t(float64_t(0x63));
\r
89 int64_t(int8_t (0x64));
\r
90 int64_t(int16_t (0x65));
\r
91 int64_t(int32_t (0x66));
\r
92 int64_t(int64_t (0x67));
\r
93 int64_t(uint8_t (0x68));
\r
94 int64_t(uint16_t (0x69));
\r
95 int64_t(uint32_t (0x6A));
\r
96 int64_t(uint64_t (0x6B));
\r
97 int64_t(bool (0x6C));
\r
98 uint8_t(float16_t(0x71));
\r
99 uint8_t(float32_t(0x72));
\r
100 uint8_t(float64_t(0x73));
\r
101 uint8_t(int8_t (0x74));
\r
102 uint8_t(int16_t (0x75));
\r
103 uint8_t(int32_t (0x76));
\r
104 uint8_t(int64_t (0x77));
\r
105 uint8_t(uint8_t (0x78));
\r
106 uint8_t(uint16_t (0x79));
\r
107 uint8_t(uint32_t (0x7A));
\r
108 uint8_t(uint64_t (0x7B));
\r
109 uint8_t(bool (0x7C));
\r
110 uint16_t(float16_t(0x81));
\r
111 uint16_t(float32_t(0x82));
\r
112 uint16_t(float64_t(0x83));
\r
113 uint16_t(int8_t (0x84));
\r
114 uint16_t(int16_t (0x85));
\r
115 uint16_t(int32_t (0x86));
\r
116 uint16_t(int64_t (0x87));
\r
117 uint16_t(uint8_t (0x88));
\r
118 uint16_t(uint16_t (0x89));
\r
119 uint16_t(uint32_t (0x8A));
\r
120 uint16_t(uint64_t (0x8B));
\r
121 uint16_t(bool (0x8C));
\r
122 uint32_t(float16_t(0x91));
\r
123 uint32_t(float32_t(0x92));
\r
124 uint32_t(float64_t(0x93));
\r
125 uint32_t(int8_t (0x94));
\r
126 uint32_t(int16_t (0x95));
\r
127 uint32_t(int32_t (0x96));
\r
128 uint32_t(int64_t (0x97));
\r
129 uint32_t(uint8_t (0x98));
\r
130 uint32_t(uint16_t (0x99));
\r
131 uint32_t(uint32_t (0x9A));
\r
132 uint32_t(uint64_t (0x9B));
\r
133 uint32_t(bool (0x9C));
\r
134 uint64_t(float16_t(0xA1));
\r
135 uint64_t(float32_t(0xA2));
\r
136 uint64_t(float64_t(0xA3));
\r
137 uint64_t(int8_t (0xA4));
\r
138 uint64_t(int16_t (0xA5));
\r
139 uint64_t(int32_t (0xA6));
\r
140 uint64_t(int64_t (0xA7));
\r
141 uint64_t(uint8_t (0xA8));
\r
142 uint64_t(uint16_t (0xA9));
\r
143 uint64_t(uint32_t (0xAA));
\r
144 uint64_t(uint64_t (0xAB));
\r
145 uint64_t(bool (0xAC));
\r
146 bool(float16_t(0xB1));
\r
147 bool(float32_t(0xB2));
\r
148 bool(float64_t(0xB3));
\r
149 bool(int8_t (0xB4));
\r
150 bool(int16_t (0xB5));
\r
151 bool(int32_t (0xB6));
\r
152 bool(int64_t (0xB7));
\r
153 bool(uint8_t (0xB8));
\r
154 bool(uint16_t (0xB9));
\r
155 bool(uint32_t (0xBA));
\r
156 bool(uint64_t (0xBB));
\r