From: Christoph Bumiller Date: Sun, 12 Sep 2010 09:37:07 +0000 (+0200) Subject: nv50: newlines in shader bincode printing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdb00ac1efc7c12aeed1a7e705c5a5dd258b7d54;p=mesa.git nv50: newlines in shader bincode printing --- diff --git a/src/gallium/drivers/nv50/nv50_pc.c b/src/gallium/drivers/nv50/nv50_pc.c index 0511acfd571..c934450d424 100644 --- a/src/gallium/drivers/nv50/nv50_pc.c +++ b/src/gallium/drivers/nv50/nv50_pc.c @@ -405,10 +405,13 @@ nv_print_cfgraph(struct nv_pc *pc, const char *filepath, int subr) static INLINE void nvcg_show_bincode(struct nv_pc *pc) { - int i; + unsigned i; - for (i = 0; i < pc->bin_size / 4; ++i) + for (i = 0; i < pc->bin_size / 4; ++i) { debug_printf("0x%08x ", pc->emit[i]); + if ((i % 16) == 15) + debug_printf("\n"); + } debug_printf("\n"); }