Lines Matching refs:BITS
226 BITS(
285 unsigned bits = (ptr[0] >> 4) & 0xff;
288 PRINTF(stream, "%s (%d dwords, flags: %x):\n", name, len, bits);
291 if (bits & (1<<0)) {
294 BITS(stream, ptr[j], 0, 0, "vb invalidate disable");
297 if (bits & (1<<1)) {
299 BITS(stream, ptr[j], 29, 24, "vb dword width");
300 BITS(stream, ptr[j], 21, 16, "vb dword pitch");
301 BITS(stream, ptr[j], 15, 0, "vb max index");
304 if (bits & (1<<2)) {
310 BITS(stream, tc, 3, 0, "tex coord %d", i);
314 if (bits & (1<<3)) {
318 if (bits & (1<<4)) {
320 BITS(stream, ptr[j], 31, 23, "point width");
321 BITS(stream, ptr[j], 22, 19, "line width");
326 BITS(stream, ptr[j], 14, 13, "cull mode");
331 BITS(stream, ptr[j], 8, 6, "vfmt: position (2==xyzw)");
340 if (bits & (1<<5)) {
342 BITS(stream, ptr[j], 31, 28, "rgba write disables");
347 BITS(stream, ptr[j], 23, 16, "stencil ref");
348 BITS(stream, ptr[j], 15, 13, "stencil test");
349 BITS(stream, ptr[j], 12, 10, "stencil fail op");
350 BITS(stream, ptr[j], 9, 7, "stencil pass z fail op");
351 BITS(stream, ptr[j], 6, 4, "stencil pass z pass op");
358 if (bits & (1<<6)) {
361 BITS(stream, ptr[j], 30, 28, "alpha func");
362 BITS(stream, ptr[j], 27, 20, "alpha ref");
364 BITS(stream, ptr[j], 18, 16, "depth func");
366 BITS(stream, ptr[j], 14, 12, "blend func");
367 BITS(stream, ptr[j], 11, 8, "blend src factor");
368 BITS(stream, ptr[j], 7, 4, "blend dst factor");
371 BITS(stream, ptr[j], 1, 0, "provoking vertex");
392 unsigned bits = (ptr[0] >> 8) & 0x3f;
399 if (bits & (1<<i)) {
431 if (bits == 0) {
450 BITS(stream, val, 25, 24, "color depth (3==32bpp)");
451 BITS(stream, val, 23, 16, "raster op");
452 BITS(stream, val, 15, 0, "dest pitch");
460 BITS(stream, val, 31, 16, "dest y1");
461 BITS(stream, val, 15, 0, "dest x1");
468 BITS(stream, val, 31, 16, "dest y2");
469 BITS(stream, val, 15, 0, "dest x2");
482 BITS(stream, val, 31, 16, "src y1");
483 BITS(stream, val, 15, 0, "src x1");
490 BITS(stream, val, 15, 0, "src pitch");
558 BITS(stream, ptr[j], 21, 18, "logicop func");
561 BITS
562 BITS(stream, ptr[j], 7, 0, "stencil write mask");
582 BITS(stream, ptr[j], 15, 0, "map mask");
597 BITS(stream, ptr[j], 31, 21, "height");
598 BITS(stream, ptr[j], 20, 10, "width");
599 BITS(stream, ptr[j], 9, 7, "surface format");
600 BITS(stream, ptr[j], 6, 3, "texel format");
608 BITS(stream, ptr[j], 31, 21, "dword pitch");
609 BITS(stream, ptr[j], 20, 15, "cube face enables");
610 BITS(stream, ptr[j], 14, 9, "max lod");
612 BITS(stream, ptr[j], 7, 0, "depth");
634 BITS(stream, ptr[j], 15, 0, "sampler mask");
644 BITS(stream, ptr[j], 28, 27, "chromakey index");
645 BITS(stream, ptr[j], 26, 22, "base mip level");
646 BITS(stream, ptr[j], 21, 20, "mip mode filter");
647 BITS(stream, ptr[j], 19, 17, "mag mode filter");
648 BITS(stream, ptr[j], 16, 14, "min mode filter");
649 BITS(stream, ptr[j], 13, 5, "lod bias (s4.4)");
652 BITS(stream, ptr[j], 2, 0, "shadow func");
658 BITS(stream, ptr[j], 31, 24, "min lod");
663 BITS(stream, ptr[j], 14, 12, "tcx wrap mode");
664 BITS(stream, ptr[j], 11, 9, "tcy wrap mode");
665 BITS(stream, ptr[j], 8, 6, "tcz wrap mode");
667 BITS(stream, ptr[j], 4, 1, "map (surface) index");
698 BITS(stream, ptr[j], 27, 26, "dither pattern");
701 BITS(stream, ptr[j], 23, 20, "dstorg x");
702 BITS(stream, ptr[j], 19, 16, "dstorg y");
704 BITS(stream, ptr[j], 14, 12, "422 write select");
705 BITS(stream, ptr[j], 11, 8, "cbuf format");
706 BITS(stream, ptr[j], 3, 2, "zbuf format");
729 BITS(stream, ptr[j], 28, 28, "aux buffer id");
730 BITS(stream, ptr[j], 27, 24, "buffer id (7=depth, 3=back)");
735 BITS(stream, ptr[j], 13, 2, "dword pitch");