r600g: initialize DB_DEPTH_CONTROL at beginning of CS
authorMarek Olšák <maraeo@gmail.com>
Mon, 27 Feb 2012 13:34:52 +0000 (14:34 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 5 Mar 2012 13:22:25 +0000 (14:22 +0100)
commit96ef4ddc3ddda4d1f637af86f4790d24f8f386c6
tree8900fc2bfb5f206cb25c13d2d88c5b5e288eb1a3
parent428146c14fed5b41e3da9e72488396f214b23b0d
r600g: initialize DB_DEPTH_CONTROL at beginning of CS

Otherwise streamout with rasterizer discard will make the kernel upset
if the state tracker doesn't set a depth-stencil-alpha state.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c