diff options
author | Chia-I Wu <[email protected]> | 2014-01-14 14:51:51 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-01-14 15:43:20 +0800 |
commit | 7fdab3b201bd2a011e8e0b0b15aca7b7fb5a7aa5 (patch) | |
tree | d95b9eb1481ae53350082bf1db87b6b58d359ad9 /src/gallium/drivers/ilo/ilo_blit.h | |
parent | 18645d1533032e0ee64714731977e12ee16d959b (diff) |
ilo: disable HiZ for misaligned levels
We need to disable HiZ for non-8x4 aligned levels, except for level 0, layer
0. For the very first layer we can adjust Width and Height fields of
3DSTATE_DEPTH_BUFFER to make it aligned.
Specifically, add ILO_TEXTURE_HIZ and set the flag only for properly aligned
levels. ilo_texture_can_enable_hiz() is updated to check for the flag.
In tex_layout_validate(), align the depth bo to 8x4 so that we can adjust
Width/Height of 3DSTATE_DEPTH_BUFFER without introducing out-of-bound access.
Finally in rectlist blitter, add the ability to adjust 3DSTATE_DEPTH_BUFFER.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blit.h')
0 files changed, 0 insertions, 0 deletions