radeonsi: rework RB+ for Stoney
authorMarek Olšák <marek.olsak@amd.com>
Sun, 17 Jan 2016 20:13:16 +0000 (21:13 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 2 Feb 2016 20:03:19 +0000 (21:03 +0100)
commit0d68b91220475620424869810d618ff3225c03d4
treedacf21bff3601a709c7a394da1f9c6758a651426
parent066d76c2f46ecf2e2c02705687738afe7fee8d13
radeonsi: rework RB+ for Stoney

This fixes it.

States which also need to be taken into account:
- SPI color formats - each down-conversion format supports only a limited set
  of SPI formats
- whether MSAA resolving and logic op are enabled

These need special handling:
- blending
- disabled channels

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_shaders.c