Lines Matching defs:tex2d
121 ubyte tex2d[SIZE][SIZE][4];
129 tex2d[t][s][0] = (x) ? 0 : 63;
130 tex2d[t][s][1] = (x) ? 0 : 128;
131 tex2d[t][s][2] = 0;
132 tex2d[t][s][3] = 0xff;
136 tex2d[t][s][0] = s*255/(SIZE-1);
137 tex2d[t][s][1] = t*255/(SIZE-1);
138 tex2d[t][s][2] = (x) ? 0 : 128;
139 tex2d[t][s][3] = 0xff;
144 tex2d[0][0][0] = 0;
145 tex2d[0][0][1] = 255;
146 tex2d[0][0][2] = 255;
147 tex2d[0][0][3] = 0;
149 tex2d[0][1][0] = 0;
150 tex2d[0][1][1] = 0;
151 tex2d[0][1][2] = 255;
152 tex2d[0][1][3] = 255;
154 tex2d[1][0][0] = 255;
155 tex2d[1][0][1] = 255;
156 tex2d[1][0][2] = 0;
157 tex2d[1][0][3] = 255;
159 tex2d[1][1][0] = 255;
160 tex2d[1][1][1] = 0;
161 tex2d[1][1][2] = 0;
162 tex2d[1][1][3] = 255;
166 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);