gallium/u_blitter: make clearing independent of the number of bound colorbuffers
authorMarek Olšák <maraeo@gmail.com>
Wed, 29 May 2013 13:35:38 +0000 (15:35 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 13 Jun 2013 01:54:13 +0000 (03:54 +0200)
commit17350ea979b883662573dac136cd9efb49938210
tree3aa0e357a580e16e188c53551893eb29b0a3ab34
parentde1c38299ceb3160ed0c163d4dd8944ec6589a7f
gallium/u_blitter: make clearing independent of the number of bound colorbuffers

We can use the fragment shader TGSI property WRITES_ALL_CBUFS.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h
src/gallium/auxiliary/util/u_simple_shaders.c
src/gallium/auxiliary/util/u_simple_shaders.h
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/radeonsi/r600_blit.c