diff options
author | Michel Dänzer <[email protected]> | 2012-12-21 15:39:26 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2013-01-17 16:57:21 +0100 |
commit | 1ace200b2b916d4e9696ae7f711578dcdd5d28e0 (patch) | |
tree | 4e0e8c630e75eb4ad5cb493732266f5748744fd6 /src/gallium/drivers/radeonsi/radeonsi_shader.h | |
parent | bc5e65096d2e9ae14b048811315814831427608a (diff) |
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 <[email protected]>
Signed-off-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.h b/src/gallium/drivers/radeonsi/radeonsi_shader.h index 6f12e760b8e..07b2f9fc3e6 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.h +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.h @@ -94,6 +94,7 @@ struct si_pipe_shader { unsigned num_sgprs; unsigned num_vgprs; unsigned spi_ps_input_ena; + unsigned spi_shader_col_format; unsigned sprite_coord_enable; unsigned so_strides[4]; struct si_shader_key key; |