i965/miptree: Drop miptree_array_layout in get_isl_dim_layout()
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 29 Jun 2017 05:18:24 +0000 (08:18 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 21 Jul 2017 21:14:16 +0000 (00:14 +0300)
commit38ddb3bc604b50a86ce0e14e869854dbf94b2689
treeb871ff97bd9d0273a17e69f688643b03e1b7ac90
parent61c95c94a0c74f0ca3b7f36b32c541a4137d7024
i965/miptree: Drop miptree_array_layout in get_isl_dim_layout()

This was only needed for checking gen6 stencil which is already
using isl. One could delete GEN6_HIZ_STENCIL layout altogether
but that will be gone with the rest after a while anyway.

The dim_layout converter is needed even after transition to isl
when setting up surface states - see brw_emit_surface_state().
Hence dropping the unneeded argument separately.

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