Lines Matching refs:tex2d
123 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local
131 tex2d[t][s][0] = (x) ? 0 : 63; in init_tex()
132 tex2d[t][s][1] = (x) ? 0 : 128; in init_tex()
133 tex2d[t][s][2] = 0; in init_tex()
134 tex2d[t][s][3] = 0xff; in init_tex()
138 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex()
139 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex()
140 tex2d[t][s][2] = (x) ? 0 : 128; in init_tex()
141 tex2d[t][s][3] = 0xff; in init_tex()
146 tex2d[0][0][0] = 0; in init_tex()
147 tex2d[0][0][1] = 255; in init_tex()
148 tex2d[0][0][2] = 255; in init_tex()
149 tex2d[0][0][3] = 0; in init_tex()
151 tex2d[0][1][0] = 0; in init_tex()
152 tex2d[0][1][1] = 0; in init_tex()
153 tex2d[0][1][2] = 255; in init_tex()
154 tex2d[0][1][3] = 255; in init_tex()
156 tex2d[1][0][0] = 255; in init_tex()
157 tex2d[1][0][1] = 255; in init_tex()
158 tex2d[1][0][2] = 0; in init_tex()
159 tex2d[1][0][3] = 255; in init_tex()
161 tex2d[1][1][0] = 255; in init_tex()
162 tex2d[1][1][1] = 0; in init_tex()
163 tex2d[1][1][2] = 0; in init_tex()
164 tex2d[1][1][3] = 255; in init_tex()
168 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d); in init_tex()