i965/gen6: Set up layer constraints properly for depth buffers.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Jun 2015 16:17:38 +0000 (09:17 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Jul 2015 02:13:42 +0000 (19:13 -0700)
commit6be024f44dea7df6608e5a3111deffc61dbf6d6d
tree87c026655fd264307e4066c606404654fe83c765
parentf3a620e2a63956a37367b9e393d4c1ecd41e5d43
i965/gen6: Set up layer constraints properly for depth buffers.

This ports over Chris Forbes' equivalent fixes in gen7_misc_state.c
from commit 77d55ef4819436ebbf9786a1e720ec00707bbb19.

No Piglit changes on Sandybridge.

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