diff options
author | Christoph Bumiller <[email protected]> | 2010-09-12 11:37:07 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-09-12 11:41:57 +0200 |
commit | fdb00ac1efc7c12aeed1a7e705c5a5dd258b7d54 (patch) | |
tree | e97aec9149b398a4a497e1fcd2471a19f868f08e /src/gallium/drivers/nv50/nv50_pc.c | |
parent | d4fd11a628b0e48d76fab4a0b94470a7592faf26 (diff) |
nv50: newlines in shader bincode printing
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_pc.c | 7 |
1 files changed, 5 insertions, 2 deletions
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"); } |