i965: Drop redundant check for non-tiled depth buffer
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 7 Jun 2017 08:00:43 +0000 (11:00 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 20 Jul 2017 08:32:21 +0000 (11:32 +0300)
commit05232a236115a5c3fc8a6586d8334ce65a30bb99
treef2353e2ad7066e1f0018e4901d66b28916a0769f
parentc4ac0d4949a4f33bf9d1b5298304b5743c0f23e0
i965: Drop redundant check for non-tiled depth buffer

Depth buffers are always Y-tiled. In brw_miptree_choose_tiling()
driver opts to use linear buffers for small and 1D but this does
not apply for depth - GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL_EXT
are considered first.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/gen6_depth_state.c