i965: Remove check for hiz on earlier gens than SNB
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 28 Dec 2016 15:49:56 +0000 (17:49 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 27 Jan 2017 06:57:26 +0000 (08:57 +0200)
commit19412abb3f1b865a3e3810e725052a5a478aaf76
treedd5eee404ba316b0cb058229883f523bc17b8317
parent26a9e039fdc63c04d5b3383d91c5eea1494c0f8f
i965: Remove check for hiz on earlier gens than SNB

Only caller, brw_workaround_depthstencil_alignment(), returns
early for gen6+.

While at it, reduce scope for brw_get_depthstencil_tile_masks() as
well.

Reviewed-by: Samuel Iglesias Gons\341lvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_misc_state.c