i965: Split gen6 depth hiz state out from brw
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 28 May 2014 23:02:12 +0000 (16:02 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 16 Aug 2014 03:11:40 +0000 (20:11 -0700)
commit39a5b6998538f5a436b2b9f7e30e4f8937aaaea9
treec33742171a69324ec91a55b4240e0964baa200a9
parent341995e4b59b569c48264a839a4fbac2f0ae43d1
i965: Split gen6 depth hiz state out from brw

We will program the gen6 hiz depth state differently to enable layered
rendering on gen6.

v2:
 * Remove unneeded gen6_emit_depthbuffer as suggested by Topi

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/Makefile.sources
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen6_depth_state.c [new file with mode: 0644]