diff options
author | Chia-I Wu <[email protected]> | 2013-08-20 11:40:49 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-08-20 13:54:39 +0800 |
commit | ce87c51e9ad131670fd8e4dcc0d023d0b057612b (patch) | |
tree | 4e6ff9fed3a0b47fc787dcbe8cb5cf2c2e4221e7 /src/gallium/drivers/ilo/ilo_3d.c | |
parent | 216a576e111b85662eabd8d4c398149818adbf39 (diff) |
ilo: add ILO_DEBUG=flush
When specified, ilo will print a line similar to
cp flushed for render with 949+888 DWords (22.4%) because of frame end
for every ilo_cp_flush() call.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d.c b/src/gallium/drivers/ilo/ilo_3d.c index 3a810adf6f6..c7e5014075a 100644 --- a/src/gallium/drivers/ilo/ilo_3d.c +++ b/src/gallium/drivers/ilo/ilo_3d.c @@ -402,7 +402,7 @@ draw_vbo(struct ilo_3d *hw3d, const struct ilo_context *ilo, } if (max_len > ilo_cp_space(hw3d->cp)) { - ilo_cp_flush(hw3d->cp); + ilo_cp_flush(hw3d->cp, "out of space"); need_flush = false; assert(max_len <= ilo_cp_space(hw3d->cp)); } @@ -782,7 +782,7 @@ ilo_texture_barrier(struct pipe_context *pipe) /* don't know why */ if (ilo->dev->gen >= ILO_GEN(7)) - ilo_cp_flush(hw3d->cp); + ilo_cp_flush(hw3d->cp, "texture barrier"); } static void |