gen7 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>
Sun, 4 Aug 2013 18:52:37 +0000 (11:52 -0700)
commit171e633294baa29a2dfcf889764b6c7409cdc1ff
tree5dc709ecb0c23c96e13a55f740defb95a9972c32
parent0e6be2e67b409d1542fd02e7c0f454676fc04587
gen7 depth surface: calculate more specific surface type

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: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/gen7_blorp.cpp
src/mesa/drivers/dri/i965/gen7_misc_state.c