Lines Matching refs:BITS
180 #define BITS( dw, hi, lo, ... ) \
209 GLuint bits = (ptr[0] >> 4) & 0xff;
212 printf("%s (%d dwords, flags: %x):\n", name, len, bits);
215 if (bits & (1<<0)) {
218 BITS(ptr[j], 0, 0, "vb invalidate disable");
221 if (bits & (1<<1)) {
223 BITS(ptr[j], 29, 24, "vb dword width");
224 BITS(ptr[j], 21, 16, "vb dword pitch");
225 BITS(ptr[j], 15, 0, "vb max index");
228 if (bits & (1<<2)) {
234 BITS(tc, 3, 0, "tex coord %d", i);
238 if (bits & (1<<3)) {
242 if (bits & (1<<4)) {
244 BITS(ptr[j], 31, 23, "point width");
245 BITS(ptr[j], 22, 19, "line width");
250 BITS(ptr[j], 14, 13, "cull mode");
255 BITS(ptr[j], 8, 6, "vfmt: position (2==xyzw)");
264 if (bits & (1<<5)) {
266 BITS(ptr[j], 31, 28, "rgba write disables");
271 BITS(ptr[j], 23, 16, "stencil ref");
272 BITS(ptr[j], 15, 13, "stencil test");
273 BITS(ptr[j], 12, 10, "stencil fail op");
274 BITS(ptr[j], 9, 7, "stencil pass z fail op");
275 BITS(ptr[j], 6, 4, "stencil pass z pass op");
282 if (bits & (1<<6)) {
285 BITS(ptr[j], 30, 28, "alpha func");
286 BITS(ptr[j], 27, 20, "alpha ref");
288 BITS(ptr[j], 18, 16, "depth func");
290 BITS(ptr[j], 14, 12, "blend func");
291 BITS(ptr[j], 11, 8, "blend src factor");
292 BITS(ptr[j], 7, 4, "blend dst factor");
295 BITS(ptr[j], 1, 0, "provoking vertex");
315 GLuint bits = (ptr[0] >> 8) & 0x3f;
322 if (bits & (1<<i)) {
354 if (bits == 0) {
373 BITS(val, 25, 24, "color depth (3==32bpp)");
374 BITS(val, 23, 16, "raster op");
375 BITS(val, 15, 0, "dest pitch");
388 BITS(val22, 31, 16, "dest y1");
389 BITS(val22, 15, 0, "dest x1");
392 BITS(val23, 31, 16, "dest y2");
393 BITS(val23, 15, 0, "dest x2");
410 BITS(val, 31, 16, "src y1");
411 BITS(val, 15, 0, "src x1");
418 BITS(val, 15, 0, "src pitch");
483 BITS(ptr[j], 21, 18, "logicop func");
486 BITS(ptr[j], 15, 8, "stencil test mask");
487 BITS(ptr[j], 7, 0, "stencil write mask");
506 BITS(ptr[j], 15, 0, "map mask");
521 BITS(ptr[j], 31, 21, "height");
522 BITS(ptr[j], 20, 10, "width");
523 BITS(ptr[j], 9, 7, "surface format");
524 BITS(ptr[j], 6, 3, "texel format");
532 BITS(ptr[j], 31, 21, "dword pitch");
533 BITS(ptr[j], 20, 15, "cube face enables");
534 BITS(ptr[j], 14, 9, "max lod");
536 BITS(ptr[j], 7, 0, "depth");
557 BITS(ptr[j], 15, 0, "sampler mask");
567 BITS(ptr[j], 28, 27, "chromakey index");
568 BITS(ptr[j], 26, 22, "base mip level");
569 BITS(ptr[j], 21, 20, "mip mode filter");
570 BITS(ptr[j], 19, 17, "mag mode filter");
571 BITS(ptr[j], 16, 14, "min mode filter");
572 BITS(ptr[j], 13, 5, "lod bias (s4.4)");
575 BITS(ptr[j], 2, 0, "shadow func");
581 BITS(ptr[j], 31, 24, "min lod");
586 BITS(ptr[j], 14, 12, "tcx wrap mode");
587 BITS(ptr[j], 11, 9, "tcy wrap mode");
588 BITS(ptr[j], 8, 6, "tcz wrap mode");
590 BITS(ptr[j], 4, 1, "map (surface) index");
620 BITS(ptr[j], 27, 26, "dither pattern");
623 BITS(ptr[j], 23, 20, "dstorg x");
624 BITS(ptr[j], 19, 16, "dstorg y");
626 BITS(ptr[j], 14, 12, "422 write select");
627 BITS(ptr[j], 11, 8, "cbuf format");
628 BITS(ptr[j], 3, 2, "zbuf format");
650 BITS(ptr[j], 28, 28, "aux buffer id");
651 BITS(ptr[j], 27, 24, "buffer id (7=depth, 3=back)");
656 BITS(ptr[j], 13, 2, "dword pitch");