diff options
author | Brian Paul <[email protected]> | 2008-10-16 20:25:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-17 14:14:23 -0600 |
commit | 9fa8671c73fa44a95e2ea7fed6047bddb042796f (patch) | |
tree | c5b1bf1bfe68d06fc21966ec5be2dbdc0d35bed0 /src/gallium/drivers/cell/spu/spu_command.c | |
parent | cb8ebc912430201683463822897f06d7d42795f2 (diff) |
cell: add new debug flag (cache) to report texture cache stats on exit
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_command.c')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_command.c b/src/gallium/drivers/cell/spu/spu_command.c index ff4a52d79a4..9c853c0961a 100644 --- a/src/gallium/drivers/cell/spu/spu_command.c +++ b/src/gallium/drivers/cell/spu/spu_command.c @@ -720,5 +720,6 @@ command_loop(void) D_PRINTF(CELL_DEBUG_CMD, "Exit command loop\n"); - spu_dcache_report(); + if (spu.init.debug_flags & CELL_DEBUG_CACHE) + spu_dcache_report(); } |