• Home
  • Raw
  • Download

Lines Matching refs:j

278    unsigned j = 0;  in debug_load_immediate()  local
281 mesa_logi("\t0x%08x", ptr[j++]); in debug_load_immediate()
284 mesa_logi("\t LIS0: 0x%08x", ptr[j]); in debug_load_immediate()
285 mesa_logi("\t vb address: 0x%08x", (ptr[j] & ~0x3)); in debug_load_immediate()
286 BITS(stream, ptr[j], 0, 0, "vb invalidate disable"); in debug_load_immediate()
287 j++; in debug_load_immediate()
290 mesa_logi("\t LIS1: 0x%08x", ptr[j]); in debug_load_immediate()
291 BITS(stream, ptr[j], 29, 24, "vb dword width"); in debug_load_immediate()
292 BITS(stream, ptr[j], 21, 16, "vb dword pitch"); in debug_load_immediate()
293 BITS(stream, ptr[j], 15, 0, "vb max index"); in debug_load_immediate()
294 j++; in debug_load_immediate()
298 mesa_logi("\t LIS2: 0x%08x", ptr[j]); in debug_load_immediate()
300 unsigned tc = (ptr[j] >> (i * 4)) & 0xf; in debug_load_immediate()
304 j++; in debug_load_immediate()
307 mesa_logi("\t LIS3: 0x%08x", ptr[j]); in debug_load_immediate()
308 j++; in debug_load_immediate()
311 mesa_logi("\t LIS4: 0x%08x", ptr[j]); in debug_load_immediate()
312 BITS(stream, ptr[j], 31, 23, "point width"); in debug_load_immediate()
313 BITS(stream, ptr[j], 22, 19, "line width"); in debug_load_immediate()
314 FLAG(stream, ptr[j], 18, "alpha flatshade"); in debug_load_immediate()
315 FLAG(stream, ptr[j], 17, "fog flatshade"); in debug_load_immediate()
316 FLAG(stream, ptr[j], 16, "spec flatshade"); in debug_load_immediate()
317 FLAG(stream, ptr[j], 15, "rgb flatshade"); in debug_load_immediate()
318 BITS(stream, ptr[j], 14, 13, "cull mode"); in debug_load_immediate()
319 FLAG(stream, ptr[j], 12, "vfmt: point width"); in debug_load_immediate()
320 FLAG(stream, ptr[j], 11, "vfmt: specular/fog"); in debug_load_immediate()
321 FLAG(stream, ptr[j], 10, "vfmt: rgba"); in debug_load_immediate()
322 FLAG(stream, ptr[j], 9, "vfmt: depth offset"); in debug_load_immediate()
323 BITS(stream, ptr[j], 8, 6, "vfmt: position (2==xyzw)"); in debug_load_immediate()
324 FLAG(stream, ptr[j], 5, "force dflt diffuse"); in debug_load_immediate()
325 FLAG(stream, ptr[j], 4, "force dflt specular"); in debug_load_immediate()
326 FLAG(stream, ptr[j], 3, "local depth offset enable"); in debug_load_immediate()
327 FLAG(stream, ptr[j], 2, "vfmt: fp32 fog coord"); in debug_load_immediate()
328 FLAG(stream, ptr[j], 1, "sprite point"); in debug_load_immediate()
329 FLAG(stream, ptr[j], 0, "antialiasing"); in debug_load_immediate()
330 j++; in debug_load_immediate()
333 mesa_logi("\t LIS5: 0x%08x", ptr[j]); in debug_load_immediate()
334 BITS(stream, ptr[j], 31, 28, "rgba write disables"); in debug_load_immediate()
335 FLAG(stream, ptr[j], 27, "force dflt point width"); in debug_load_immediate()
336 FLAG(stream, ptr[j], 26, "last pixel enable"); in debug_load_immediate()
337 FLAG(stream, ptr[j], 25, "global z offset enable"); in debug_load_immediate()
338 FLAG(stream, ptr[j], 24, "fog enable"); in debug_load_immediate()
339 BITS(stream, ptr[j], 23, 16, "stencil ref"); in debug_load_immediate()
340 BITS(stream, ptr[j], 15, 13, "stencil test"); in debug_load_immediate()
341 BITS(stream, ptr[j], 12, 10, "stencil fail op"); in debug_load_immediate()
342 BITS(stream, ptr[j], 9, 7, "stencil pass z fail op"); in debug_load_immediate()
343 BITS(stream, ptr[j], 6, 4, "stencil pass z pass op"); in debug_load_immediate()
344 FLAG(stream, ptr[j], 3, "stencil write enable"); in debug_load_immediate()
345 FLAG(stream, ptr[j], 2, "stencil test enable"); in debug_load_immediate()
346 FLAG(stream, ptr[j], 1, "color dither enable"); in debug_load_immediate()
347 FLAG(stream, ptr[j], 0, "logiop enable"); in debug_load_immediate()
348 j++; in debug_load_immediate()
351 mesa_logi("\t LIS6: 0x%08x", ptr[j]); in debug_load_immediate()
352 FLAG(stream, ptr[j], 31, "alpha test enable"); in debug_load_immediate()
353 BITS(stream, ptr[j], 30, 28, "alpha func"); in debug_load_immediate()
354 BITS(stream, ptr[j], 27, 20, "alpha ref"); in debug_load_immediate()
355 FLAG(stream, ptr[j], 19, "depth test enable"); in debug_load_immediate()
356 BITS(stream, ptr[j], 18, 16, "depth func"); in debug_load_immediate()
357 FLAG(stream, ptr[j], 15, "blend enable"); in debug_load_immediate()
358 BITS(stream, ptr[j], 14, 12, "blend func"); in debug_load_immediate()
359 BITS(stream, ptr[j], 11, 8, "blend src factor"); in debug_load_immediate()
360 BITS(stream, ptr[j], 7, 4, "blend dst factor"); in debug_load_immediate()
361 FLAG(stream, ptr[j], 3, "depth write enable"); in debug_load_immediate()
362 FLAG(stream, ptr[j], 2, "color write enable"); in debug_load_immediate()
363 BITS(stream, ptr[j], 1, 0, "provoking vertex"); in debug_load_immediate()
364 j++; in debug_load_immediate()
369 assert(j == len); in debug_load_immediate()
381 unsigned i, j = 0; in debug_load_indirect() local
384 mesa_logi("\t0x%08x", ptr[j++]); in debug_load_indirect()
390 mesa_logi(" STATIC: 0x%08x | %x", ptr[j] & ~3, ptr[j] & 3); in debug_load_indirect()
391 j++; in debug_load_indirect()
392 mesa_logi(" 0x%08x", ptr[j++]); in debug_load_indirect()
395 mesa_logi(" DYNAMIC: 0x%08x | %x", ptr[j] & ~3, ptr[j] & 3); in debug_load_indirect()
396 j++; in debug_load_indirect()
399 mesa_logi(" SAMPLER: 0x%08x | %x", ptr[j] & ~3, ptr[j] & 3); in debug_load_indirect()
400 j++; in debug_load_indirect()
401 mesa_logi(" 0x%08x", ptr[j++]); in debug_load_indirect()
404 mesa_logi(" MAP: 0x%08x | %x", ptr[j] & ~3, ptr[j] & 3); in debug_load_indirect()
405 j++; in debug_load_indirect()
406 mesa_logi(" 0x%08x", ptr[j++]); in debug_load_indirect()
409 mesa_logi(" PROGRAM: 0x%08x | %x", ptr[j] & ~3, ptr[j] & 3); in debug_load_indirect()
410 j++; in debug_load_indirect()
411 mesa_logi(" 0x%08x", ptr[j++]); in debug_load_indirect()
414 mesa_logi(" CONSTANTS: 0x%08x | %x", ptr[j] & ~3, ptr[j] & 3); in debug_load_indirect()
415 j++; in debug_load_indirect()
416 mesa_logi(" 0x%08x", ptr[j++]); in debug_load_indirect()
426 mesa_logi("\t DUMMY: 0x%08x", ptr[j++]); in debug_load_indirect()
431 assert(j == len); in debug_load_indirect()
501 int j = 0; in debug_copy_blit() local
504 mesa_logi("\t0x%08x", ptr[j++]); in debug_copy_blit()
506 BR13(stream, ptr[j++]); in debug_copy_blit()
507 BR22(stream, ptr[j++]); in debug_copy_blit()
508 BR23(stream, ptr[j++]); in debug_copy_blit()
509 BR09(stream, ptr[j++]); in debug_copy_blit()
510 BR26(stream, ptr[j++]); in debug_copy_blit()
511 BR11(stream, ptr[j++]); in debug_copy_blit()
512 BR12(stream, ptr[j++]); in debug_copy_blit()
515 assert(j == len); in debug_copy_blit()
523 int j = 0; in debug_color_blit() local
526 mesa_logi("\t0x%08x", ptr[j++]); in debug_color_blit()
528 BR13(stream, ptr[j++]); in debug_color_blit()
529 BR22(stream, ptr[j++]); in debug_color_blit()
530 BR23(stream, ptr[j++]); in debug_color_blit()
531 BR09(stream, ptr[j++]); in debug_color_blit()
532 BR16(stream, ptr[j++]); in debug_color_blit()
535 assert(j == len); in debug_color_blit()
543 int j = 0; in debug_modes4() local
546 mesa_logi("\t0x%08x", ptr[j]); in debug_modes4()
547 BITS(stream, ptr[j], 21, 18, "logicop func"); in debug_modes4()
548 FLAG(stream, ptr[j], 17, "stencil test mask modify-enable"); in debug_modes4()
549 FLAG(stream, ptr[j], 16, "stencil write mask modify-enable"); in debug_modes4()
550 BITS(stream, ptr[j], 15, 8, "stencil test mask"); in debug_modes4()
551 BITS(stream, ptr[j], 7, 0, "stencil write mask"); in debug_modes4()
552 j++; in debug_modes4()
555 assert(j == len); in debug_modes4()
563 unsigned j = 0; in debug_map_state() local
566 mesa_logi("\t0x%08x", ptr[j++]); in debug_map_state()
569 mesa_logi("\t0x%08x", ptr[j]); in debug_map_state()
570 BITS(stream, ptr[j], 15, 0, "map mask"); in debug_map_state()
571 j++; in debug_map_state()
574 while (j < len) { in debug_map_state()
576 mesa_logi("\t TMn.0: 0x%08x", ptr[j]); in debug_map_state()
577 mesa_logi("\t map address: 0x%08x", (ptr[j] & ~0x3)); in debug_map_state()
578 FLAG(stream, ptr[j], 1, "vertical line stride"); in debug_map_state()
579 FLAG(stream, ptr[j], 0, "vertical line stride offset"); in debug_map_state()
580 j++; in debug_map_state()
584 mesa_logi("\t TMn.1: 0x%08x", ptr[j]); in debug_map_state()
585 BITS(stream, ptr[j], 31, 21, "height"); in debug_map_state()
586 BITS(stream, ptr[j], 20, 10, "width"); in debug_map_state()
587 BITS(stream, ptr[j], 9, 7, "surface format"); in debug_map_state()
588 BITS(stream, ptr[j], 6, 3, "texel format"); in debug_map_state()
589 FLAG(stream, ptr[j], 2, "use fence regs"); in debug_map_state()
590 FLAG(stream, ptr[j], 1, "tiled surface"); in debug_map_state()
591 FLAG(stream, ptr[j], 0, "tile walk ymajor"); in debug_map_state()
592 j++; in debug_map_state()
595 mesa_logi("\t TMn.2: 0x%08x", ptr[j]); in debug_map_state()
596 BITS(stream, ptr[j], 31, 21, "dword pitch"); in debug_map_state()
597 BITS(stream, ptr[j], 20, 15, "cube face enables"); in debug_map_state()
598 BITS(stream, ptr[j], 14, 9, "max lod"); in debug_map_state()
599 FLAG(stream, ptr[j], 8, "mip layout right"); in debug_map_state()
600 BITS(stream, ptr[j], 7, 0, "depth"); in debug_map_state()
601 j++; in debug_map_state()
606 assert(j == len); in debug_map_state()
614 unsigned j = 0; in debug_sampler_state() local
617 mesa_logi("\t0x%08x", ptr[j++]); in debug_sampler_state()
620 mesa_logi("\t0x%08x", ptr[j]); in debug_sampler_state()
621 BITS(stream, ptr[j], 15, 0, "sampler mask"); in debug_sampler_state()
622 j++; in debug_sampler_state()
625 while (j < len) { in debug_sampler_state()
627 mesa_logi("\t TSn.0: 0x%08x", ptr[j]); in debug_sampler_state()
628 FLAG(stream, ptr[j], 31, "reverse gamma"); in debug_sampler_state()
629 FLAG(stream, ptr[j], 30, "planar to packed"); in debug_sampler_state()
630 FLAG(stream, ptr[j], 29, "yuv->rgb"); in debug_sampler_state()
631 BITS(stream, ptr[j], 28, 27, "chromakey index"); in debug_sampler_state()
632 BITS(stream, ptr[j], 26, 22, "base mip level"); in debug_sampler_state()
633 BITS(stream, ptr[j], 21, 20, "mip mode filter"); in debug_sampler_state()
634 BITS(stream, ptr[j], 19, 17, "mag mode filter"); in debug_sampler_state()
635 BITS(stream, ptr[j], 16, 14, "min mode filter"); in debug_sampler_state()
636 BITS(stream, ptr[j], 13, 5, "lod bias (s4.4)"); in debug_sampler_state()
637 FLAG(stream, ptr[j], 4, "shadow enable"); in debug_sampler_state()
638 FLAG(stream, ptr[j], 3, "max-aniso-4"); in debug_sampler_state()
639 BITS(stream, ptr[j], 2, 0, "shadow func"); in debug_sampler_state()
640 j++; in debug_sampler_state()
644 mesa_logi("\t TSn.1: 0x%08x", ptr[j]); in debug_sampler_state()
645 BITS(stream, ptr[j], 31, 24, "min lod"); in debug_sampler_state()
646 MBZ(ptr[j], 23, 18); in debug_sampler_state()
647 FLAG(stream, ptr[j], 17, "kill pixel enable"); in debug_sampler_state()
648 FLAG(stream, ptr[j], 16, "keyed tex filter mode"); in debug_sampler_state()
649 FLAG(stream, ptr[j], 15, "chromakey enable"); in debug_sampler_state()
650 BITS(stream, ptr[j], 14, 12, "tcx wrap mode"); in debug_sampler_state()
651 BITS(stream, ptr[j], 11, 9, "tcy wrap mode"); in debug_sampler_state()
652 BITS(stream, ptr[j], 8, 6, "tcz wrap mode"); in debug_sampler_state()
653 FLAG(stream, ptr[j], 5, "normalized coords"); in debug_sampler_state()
654 BITS(stream, ptr[j], 4, 1, "map (surface) index"); in debug_sampler_state()
655 FLAG(stream, ptr[j], 0, "EAST deinterlacer enable"); in debug_sampler_state()
656 j++; in debug_sampler_state()
659 mesa_logi("\t TSn.2: 0x%08x (default color)", ptr[j]); in debug_sampler_state()
660 j++; in debug_sampler_state()
665 assert(j == len); in debug_sampler_state()
673 int j = 0; in debug_dest_vars() local
676 mesa_logi("\t0x%08x", ptr[j++]); in debug_dest_vars()
679 mesa_logi("\t0x%08x", ptr[j]); in debug_dest_vars()
680 FLAG(stream, ptr[j], 31, "early classic ztest"); in debug_dest_vars()
681 FLAG(stream, ptr[j], 30, "opengl tex default color"); in debug_dest_vars()
682 FLAG(stream, ptr[j], 29, "bypass iz"); in debug_dest_vars()
683 FLAG(stream, ptr[j], 28, "lod preclamp"); in debug_dest_vars()
684 BITS(stream, ptr[j], 27, 26, "dither pattern"); in debug_dest_vars()
685 FLAG(stream, ptr[j], 25, "linear gamma blend"); in debug_dest_vars()
686 FLAG(stream, ptr[j], 24, "debug dither"); in debug_dest_vars()
687 BITS(stream, ptr[j], 23, 20, "dstorg x"); in debug_dest_vars()
688 BITS(stream, ptr[j], 19, 16, "dstorg y"); in debug_dest_vars()
689 MBZ(ptr[j], 15, 15); in debug_dest_vars()
690 BITS(stream, ptr[j], 14, 12, "422 write select"); in debug_dest_vars()
691 BITS(stream, ptr[j], 11, 8, "cbuf format"); in debug_dest_vars()
692 BITS(stream, ptr[j], 3, 2, "zbuf format"); in debug_dest_vars()
693 FLAG(stream, ptr[j], 1, "vert line stride"); in debug_dest_vars()
694 FLAG(stream, ptr[j], 1, "vert line stride offset"); in debug_dest_vars()
695 j++; in debug_dest_vars()
699 assert(j == len); in debug_dest_vars()
707 int j = 0; in debug_buf_info() local
710 mesa_logi("\t0x%08x", ptr[j++]); in debug_buf_info()
713 mesa_logi("\t0x%08x", ptr[j]); in debug_buf_info()
714 BITS(stream, ptr[j], 28, 28, "aux buffer id"); in debug_buf_info()
715 BITS(stream, ptr[j], 27, 24, "buffer id (7=depth, 3=back)"); in debug_buf_info()
716 FLAG(stream, ptr[j], 23, "use fence regs"); in debug_buf_info()
717 FLAG(stream, ptr[j], 22, "tiled surface"); in debug_buf_info()
718 FLAG(stream, ptr[j], 21, "tile walk ymajor"); in debug_buf_info()
719 MBZ(ptr[j], 20, 14); in debug_buf_info()
720 BITS(stream, ptr[j], 13, 2, "dword pitch"); in debug_buf_info()
721 MBZ(ptr[j], 2, 0); in debug_buf_info()
722 j++; in debug_buf_info()
725 mesa_logi("\t0x%08x -- buffer base address", ptr[j++]); in debug_buf_info()
728 assert(j == len); in debug_buf_info()