r300g: fix HiZ memory size computation and deciding when to use HiZ
authorMarek Olšák <maraeo@gmail.com>
Mon, 28 Feb 2011 12:38:01 +0000 (13:38 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 28 Feb 2011 23:23:11 +0000 (00:23 +0100)
commitd99ec708afbb785ce05031661222b38c9447059f
tree9237afd4647f65e00339776e207de469de1c279d
parent5f44fab5a6ba99c287da8d01fa584763bff2565b
r300g: fix HiZ memory size computation and deciding when to use HiZ

I removed the HiZ memory management, because the HiZ RAM is too small
and I also did it in hope that HiZ will be enabled more often.

This also sets aligned strides to HIZ_PITCH and ZMASK_PITCH.
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_hyperz.c
src/gallium/drivers/r300/r300_hyperz.h [deleted file]
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_texture_desc.c