Lines Matching refs:j
286 unsigned j = 0; in debug_load_immediate() local
289 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_load_immediate()
292 PRINTF(stream, "\t LIS0: 0x%08x\n", ptr[j]); in debug_load_immediate()
293 PRINTF(stream, "\t vb address: 0x%08x\n", (ptr[j] & ~0x3)); in debug_load_immediate()
294 BITS(stream, ptr[j], 0, 0, "vb invalidate disable"); in debug_load_immediate()
295 j++; in debug_load_immediate()
298 PRINTF(stream, "\t LIS1: 0x%08x\n", ptr[j]); in debug_load_immediate()
299 BITS(stream, ptr[j], 29, 24, "vb dword width"); in debug_load_immediate()
300 BITS(stream, ptr[j], 21, 16, "vb dword pitch"); in debug_load_immediate()
301 BITS(stream, ptr[j], 15, 0, "vb max index"); in debug_load_immediate()
302 j++; in debug_load_immediate()
306 PRINTF(stream, "\t LIS2: 0x%08x\n", ptr[j]); in debug_load_immediate()
308 unsigned tc = (ptr[j] >> (i * 4)) & 0xf; in debug_load_immediate()
312 j++; in debug_load_immediate()
315 PRINTF(stream, "\t LIS3: 0x%08x\n", ptr[j]); in debug_load_immediate()
316 j++; in debug_load_immediate()
319 PRINTF(stream, "\t LIS4: 0x%08x\n", ptr[j]); in debug_load_immediate()
320 BITS(stream, ptr[j], 31, 23, "point width"); in debug_load_immediate()
321 BITS(stream, ptr[j], 22, 19, "line width"); in debug_load_immediate()
322 FLAG(stream, ptr[j], 18, "alpha flatshade"); in debug_load_immediate()
323 FLAG(stream, ptr[j], 17, "fog flatshade"); in debug_load_immediate()
324 FLAG(stream, ptr[j], 16, "spec flatshade"); in debug_load_immediate()
325 FLAG(stream, ptr[j], 15, "rgb flatshade"); in debug_load_immediate()
326 BITS(stream, ptr[j], 14, 13, "cull mode"); in debug_load_immediate()
327 FLAG(stream, ptr[j], 12, "vfmt: point width"); in debug_load_immediate()
328 FLAG(stream, ptr[j], 11, "vfmt: specular/fog"); in debug_load_immediate()
329 FLAG(stream, ptr[j], 10, "vfmt: rgba"); in debug_load_immediate()
330 FLAG(stream, ptr[j], 9, "vfmt: depth offset"); in debug_load_immediate()
331 BITS(stream, ptr[j], 8, 6, "vfmt: position (2==xyzw)"); in debug_load_immediate()
332 FLAG(stream, ptr[j], 5, "force dflt diffuse"); in debug_load_immediate()
333 FLAG(stream, ptr[j], 4, "force dflt specular"); in debug_load_immediate()
334 FLAG(stream, ptr[j], 3, "local depth offset enable"); in debug_load_immediate()
335 FLAG(stream, ptr[j], 2, "vfmt: fp32 fog coord"); in debug_load_immediate()
336 FLAG(stream, ptr[j], 1, "sprite point"); in debug_load_immediate()
337 FLAG(stream, ptr[j], 0, "antialiasing"); in debug_load_immediate()
338 j++; in debug_load_immediate()
341 PRINTF(stream, "\t LIS5: 0x%08x\n", ptr[j]); in debug_load_immediate()
342 BITS(stream, ptr[j], 31, 28, "rgba write disables"); in debug_load_immediate()
343 FLAG(stream, ptr[j], 27, "force dflt point width"); in debug_load_immediate()
344 FLAG(stream, ptr[j], 26, "last pixel enable"); in debug_load_immediate()
345 FLAG(stream, ptr[j], 25, "global z offset enable"); in debug_load_immediate()
346 FLAG(stream, ptr[j], 24, "fog enable"); in debug_load_immediate()
347 BITS(stream, ptr[j], 23, 16, "stencil ref"); in debug_load_immediate()
348 BITS(stream, ptr[j], 15, 13, "stencil test"); in debug_load_immediate()
349 BITS(stream, ptr[j], 12, 10, "stencil fail op"); in debug_load_immediate()
350 BITS(stream, ptr[j], 9, 7, "stencil pass z fail op"); in debug_load_immediate()
351 BITS(stream, ptr[j], 6, 4, "stencil pass z pass op"); in debug_load_immediate()
352 FLAG(stream, ptr[j], 3, "stencil write enable"); in debug_load_immediate()
353 FLAG(stream, ptr[j], 2, "stencil test enable"); in debug_load_immediate()
354 FLAG(stream, ptr[j], 1, "color dither enable"); in debug_load_immediate()
355 FLAG(stream, ptr[j], 0, "logiop enable"); in debug_load_immediate()
356 j++; in debug_load_immediate()
359 PRINTF(stream, "\t LIS6: 0x%08x\n", ptr[j]); in debug_load_immediate()
360 FLAG(stream, ptr[j], 31, "alpha test enable"); in debug_load_immediate()
361 BITS(stream, ptr[j], 30, 28, "alpha func"); in debug_load_immediate()
362 BITS(stream, ptr[j], 27, 20, "alpha ref"); in debug_load_immediate()
363 FLAG(stream, ptr[j], 19, "depth test enable"); in debug_load_immediate()
364 BITS(stream, ptr[j], 18, 16, "depth func"); in debug_load_immediate()
365 FLAG(stream, ptr[j], 15, "blend enable"); in debug_load_immediate()
366 BITS(stream, ptr[j], 14, 12, "blend func"); in debug_load_immediate()
367 BITS(stream, ptr[j], 11, 8, "blend src factor"); in debug_load_immediate()
368 BITS(stream, ptr[j], 7, 4, "blend dst factor"); in debug_load_immediate()
369 FLAG(stream, ptr[j], 3, "depth write enable"); in debug_load_immediate()
370 FLAG(stream, ptr[j], 2, "color write enable"); in debug_load_immediate()
371 BITS(stream, ptr[j], 1, 0, "provoking vertex"); in debug_load_immediate()
372 j++; in debug_load_immediate()
378 assert(j == len); in debug_load_immediate()
393 unsigned i, j = 0; in debug_load_indirect() local
396 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_load_indirect()
402 PRINTF(stream, " STATIC: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
403 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
406 PRINTF(stream, " DYNAMIC: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
409 PRINTF(stream, " SAMPLER: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
410 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
413 PRINTF(stream, " MAP: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
414 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
417 PRINTF(stream, " PROGRAM: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
418 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
421 PRINTF(stream, " CONSTANTS: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
422 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
432 PRINTF(stream, "\t DUMMY: 0x%08x\n", ptr[j++]); in debug_load_indirect()
438 assert(j == len); in debug_load_indirect()
510 int j = 0; in debug_copy_blit() local
513 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_copy_blit()
515 BR13(stream, ptr[j++]); in debug_copy_blit()
516 BR22(stream, ptr[j++]); in debug_copy_blit()
517 BR23(stream, ptr[j++]); in debug_copy_blit()
518 BR09(stream, ptr[j++]); in debug_copy_blit()
519 BR26(stream, ptr[j++]); in debug_copy_blit()
520 BR11(stream, ptr[j++]); in debug_copy_blit()
521 BR12(stream, ptr[j++]); in debug_copy_blit()
524 assert(j == len); in debug_copy_blit()
533 int j = 0; in debug_color_blit() local
536 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_color_blit()
538 BR13(stream, ptr[j++]); in debug_color_blit()
539 BR22(stream, ptr[j++]); in debug_color_blit()
540 BR23(stream, ptr[j++]); in debug_color_blit()
541 BR09(stream, ptr[j++]); in debug_color_blit()
542 BR16(stream, ptr[j++]); in debug_color_blit()
545 assert(j == len); in debug_color_blit()
554 int j = 0; in debug_modes4() local
557 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_modes4()
558 BITS(stream, ptr[j], 21, 18, "logicop func"); in debug_modes4()
559 FLAG(stream, ptr[j], 17, "stencil test mask modify-enable"); in debug_modes4()
560 FLAG(stream, ptr[j], 16, "stencil write mask modify-enable"); in debug_modes4()
561 BITS(stream, ptr[j], 15, 8, "stencil test mask"); in debug_modes4()
562 BITS(stream, ptr[j], 7, 0, "stencil write mask"); in debug_modes4()
563 j++; in debug_modes4()
566 assert(j == len); in debug_modes4()
575 unsigned j = 0; in debug_map_state() local
578 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_map_state()
581 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_map_state()
582 BITS(stream, ptr[j], 15, 0, "map mask"); in debug_map_state()
583 j++; in debug_map_state()
586 while (j < len) { in debug_map_state()
588 PRINTF(stream, "\t TMn.0: 0x%08x\n", ptr[j]); in debug_map_state()
589 PRINTF(stream, "\t map address: 0x%08x\n", (ptr[j] & ~0x3)); in debug_map_state()
590 FLAG(stream, ptr[j], 1, "vertical line stride"); in debug_map_state()
591 FLAG(stream, ptr[j], 0, "vertical line stride offset"); in debug_map_state()
592 j++; in debug_map_state()
596 PRINTF(stream, "\t TMn.1: 0x%08x\n", ptr[j]); in debug_map_state()
597 BITS(stream, ptr[j], 31, 21, "height"); in debug_map_state()
598 BITS(stream, ptr[j], 20, 10, "width"); in debug_map_state()
599 BITS(stream, ptr[j], 9, 7, "surface format"); in debug_map_state()
600 BITS(stream, ptr[j], 6, 3, "texel format"); in debug_map_state()
601 FLAG(stream, ptr[j], 2, "use fence regs"); in debug_map_state()
602 FLAG(stream, ptr[j], 1, "tiled surface"); in debug_map_state()
603 FLAG(stream, ptr[j], 0, "tile walk ymajor"); in debug_map_state()
604 j++; in debug_map_state()
607 PRINTF(stream, "\t TMn.2: 0x%08x\n", ptr[j]); in debug_map_state()
608 BITS(stream, ptr[j], 31, 21, "dword pitch"); in debug_map_state()
609 BITS(stream, ptr[j], 20, 15, "cube face enables"); in debug_map_state()
610 BITS(stream, ptr[j], 14, 9, "max lod"); in debug_map_state()
611 FLAG(stream, ptr[j], 8, "mip layout right"); in debug_map_state()
612 BITS(stream, ptr[j], 7, 0, "depth"); in debug_map_state()
613 j++; in debug_map_state()
618 assert(j == len); in debug_map_state()
627 unsigned j = 0; in debug_sampler_state() local
630 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_sampler_state()
633 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_sampler_state()
634 BITS(stream, ptr[j], 15, 0, "sampler mask"); in debug_sampler_state()
635 j++; in debug_sampler_state()
638 while (j < len) { in debug_sampler_state()
640 PRINTF(stream, "\t TSn.0: 0x%08x\n", ptr[j]); in debug_sampler_state()
641 FLAG(stream, ptr[j], 31, "reverse gamma"); in debug_sampler_state()
642 FLAG(stream, ptr[j], 30, "planar to packed"); in debug_sampler_state()
643 FLAG(stream, ptr[j], 29, "yuv->rgb"); in debug_sampler_state()
644 BITS(stream, ptr[j], 28, 27, "chromakey index"); in debug_sampler_state()
645 BITS(stream, ptr[j], 26, 22, "base mip level"); in debug_sampler_state()
646 BITS(stream, ptr[j], 21, 20, "mip mode filter"); in debug_sampler_state()
647 BITS(stream, ptr[j], 19, 17, "mag mode filter"); in debug_sampler_state()
648 BITS(stream, ptr[j], 16, 14, "min mode filter"); in debug_sampler_state()
649 BITS(stream, ptr[j], 13, 5, "lod bias (s4.4)"); in debug_sampler_state()
650 FLAG(stream, ptr[j], 4, "shadow enable"); in debug_sampler_state()
651 FLAG(stream, ptr[j], 3, "max-aniso-4"); in debug_sampler_state()
652 BITS(stream, ptr[j], 2, 0, "shadow func"); in debug_sampler_state()
653 j++; in debug_sampler_state()
657 PRINTF(stream, "\t TSn.1: 0x%08x\n", ptr[j]); in debug_sampler_state()
658 BITS(stream, ptr[j], 31, 24, "min lod"); in debug_sampler_state()
659 MBZ( ptr[j], 23, 18 ); in debug_sampler_state()
660 FLAG(stream, ptr[j], 17, "kill pixel enable"); in debug_sampler_state()
661 FLAG(stream, ptr[j], 16, "keyed tex filter mode"); in debug_sampler_state()
662 FLAG(stream, ptr[j], 15, "chromakey enable"); in debug_sampler_state()
663 BITS(stream, ptr[j], 14, 12, "tcx wrap mode"); in debug_sampler_state()
664 BITS(stream, ptr[j], 11, 9, "tcy wrap mode"); in debug_sampler_state()
665 BITS(stream, ptr[j], 8, 6, "tcz wrap mode"); in debug_sampler_state()
666 FLAG(stream, ptr[j], 5, "normalized coords"); in debug_sampler_state()
667 BITS(stream, ptr[j], 4, 1, "map (surface) index"); in debug_sampler_state()
668 FLAG(stream, ptr[j], 0, "EAST deinterlacer enable"); in debug_sampler_state()
669 j++; in debug_sampler_state()
672 PRINTF(stream, "\t TSn.2: 0x%08x (default color)\n", ptr[j]); in debug_sampler_state()
673 j++; in debug_sampler_state()
678 assert(j == len); in debug_sampler_state()
687 int j = 0; in debug_dest_vars() local
690 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_dest_vars()
693 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_dest_vars()
694 FLAG(stream, ptr[j], 31, "early classic ztest"); in debug_dest_vars()
695 FLAG(stream, ptr[j], 30, "opengl tex default color"); in debug_dest_vars()
696 FLAG(stream, ptr[j], 29, "bypass iz"); in debug_dest_vars()
697 FLAG(stream, ptr[j], 28, "lod preclamp"); in debug_dest_vars()
698 BITS(stream, ptr[j], 27, 26, "dither pattern"); in debug_dest_vars()
699 FLAG(stream, ptr[j], 25, "linear gamma blend"); in debug_dest_vars()
700 FLAG(stream, ptr[j], 24, "debug dither"); in debug_dest_vars()
701 BITS(stream, ptr[j], 23, 20, "dstorg x"); in debug_dest_vars()
702 BITS(stream, ptr[j], 19, 16, "dstorg y"); in debug_dest_vars()
703 MBZ (ptr[j], 15, 15 ); in debug_dest_vars()
704 BITS(stream, ptr[j], 14, 12, "422 write select"); in debug_dest_vars()
705 BITS(stream, ptr[j], 11, 8, "cbuf format"); in debug_dest_vars()
706 BITS(stream, ptr[j], 3, 2, "zbuf format"); in debug_dest_vars()
707 FLAG(stream, ptr[j], 1, "vert line stride"); in debug_dest_vars()
708 FLAG(stream, ptr[j], 1, "vert line stride offset"); in debug_dest_vars()
709 j++; in debug_dest_vars()
713 assert(j == len); in debug_dest_vars()
722 int j = 0; in debug_buf_info() local
725 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_buf_info()
728 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_buf_info()
729 BITS(stream, ptr[j], 28, 28, "aux buffer id"); in debug_buf_info()
730 BITS(stream, ptr[j], 27, 24, "buffer id (7=depth, 3=back)"); in debug_buf_info()
731 FLAG(stream, ptr[j], 23, "use fence regs"); in debug_buf_info()
732 FLAG(stream, ptr[j], 22, "tiled surface"); in debug_buf_info()
733 FLAG(stream, ptr[j], 21, "tile walk ymajor"); in debug_buf_info()
734 MBZ (ptr[j], 20, 14); in debug_buf_info()
735 BITS(stream, ptr[j], 13, 2, "dword pitch"); in debug_buf_info()
736 MBZ (ptr[j], 2, 0); in debug_buf_info()
737 j++; in debug_buf_info()
740 PRINTF(stream, "\t0x%08x -- buffer base address\n", ptr[j++]); in debug_buf_info()
743 assert(j == len); in debug_buf_info()