i965/gen6 depth surface: calculate more specific surface type
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 9 Jul 2013 21:56:38 +0000 (14:56 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 16 Aug 2014 03:11:41 +0000 (20:11 -0700)
commit48acf19d2311385f1bbec76ddceb911596f567ec
treec1a7cb64eccabeb49768fbfb1e0090eb99eb265d
parent11663050eb5c93ad86a120b6c3bc978142d414a4
i965/gen6 depth surface: calculate more specific surface type

(171e633 for gen6)

This will be used in 3DSTATE_DEPTH_BUFFER in a later patch.

Note: Cube maps are treated as 2D arrays with 6 times as
many array elements as the cube map array would have.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen6_depth_state.c