diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-09-10 09:18:03 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-09-13 07:49:43 +0200 |
commit | ab7cc445801b99a4482ea50429ceea1d0601a221 (patch) | |
tree | 0c869af913208ef5188fe669a391d85d381235a4 /src/gallium/drivers/r300/r300_texture_desc.c | |
parent | c3c5646b93eb20013d2739c7966da7ddad532877 (diff) | |
download | external_mesa3d-ab7cc445801b99a4482ea50429ceea1d0601a221.zip external_mesa3d-ab7cc445801b99a4482ea50429ceea1d0601a221.tar.gz external_mesa3d-ab7cc445801b99a4482ea50429ceea1d0601a221.tar.bz2 |
r300g: add new debug options for dumping scissor regs and disabling CBZB clear
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture_desc.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture_desc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_texture_desc.c b/src/gallium/drivers/r300/r300_texture_desc.c index 2fe5d72..112282a 100644 --- a/src/gallium/drivers/r300/r300_texture_desc.c +++ b/src/gallium/drivers/r300/r300_texture_desc.c @@ -339,6 +339,9 @@ static void r300_setup_cbzb_flags(struct r300_screen *rscreen, (bpp == 16 || bpp == 32) && desc->macrotile[0]; + if (SCREEN_DBG_ON(rscreen, DBG_NO_CBZB)) + first_level_valid = FALSE; + for (i = 0; i <= desc->b.b.last_level; i++) desc->cbzb_allowed[i] = first_level_valid && desc->macrotile[i]; } |