radeonsi: Set SPI_SHADER_COL_FORMAT to what the pixel shader actually exports.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 21 Dec 2012 14:39:26 +0000 (15:39 +0100)
committerMichel Dänzer <michel@daenzer.net>
Thu, 17 Jan 2013 15:57:21 +0000 (16:57 +0100)
commit1ace200b2b916d4e9696ae7f711578dcdd5d28e0
tree4e0e8c630e75eb4ad5cb493732266f5748744fd6
parentbc5e65096d2e9ae14b048811315814831427608a
radeonsi: Set SPI_SHADER_COL_FORMAT to what the pixel shader actually exports.

Instead of deriving it from the colour buffer formats only.

Fixes a number of piglit tests which export depth from the pixel shader.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/radeonsi_pipe.h
src/gallium/drivers/radeonsi/radeonsi_shader.c
src/gallium/drivers/radeonsi/radeonsi_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_draw.c