ilo: use a helper to determine if HiZ is enabled
authorChia-I Wu <olvaffe@gmail.com>
Tue, 14 Jan 2014 05:50:12 +0000 (13:50 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 14 Jan 2014 07:43:20 +0000 (15:43 +0800)
commit18645d1533032e0ee64714731977e12ee16d959b
treefbbfe488ab1df2ab0e01fe4ea2991c2fa2848b96
parent1427c3f79faf3d502e5cc7d467c73e095bcd66de
ilo: use a helper to determine if HiZ is enabled

Add ilo_texture_can_enable_hiz and replace all checks for tex->hiz.bo by calls
to ilo_texture_can_enable_hiz().
src/gallium/drivers/ilo/ilo_blit.c
src/gallium/drivers/ilo/ilo_blit.h
src/gallium/drivers/ilo/ilo_blitter_rectlist.c
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_resource.h