radeonsi: use the colorbuffer count from the shader key
authorMarek Olšák <marek.olsak@amd.com>
Wed, 4 Dec 2013 11:40:28 +0000 (12:40 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Dec 2013 17:48:04 +0000 (18:48 +0100)
commitcd86f773a7ca13fa1d74e6287cc8ad0e0bd4c153
tree63cf9b8720c68bb1ec7b3028436dc8d01908d9b2
parente9fc5528379189b5775b78a3fabe78168505eead
radeonsi: use the colorbuffer count from the shader key

As a result, the initialization of write_all must be done before
the compilation.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/radeonsi_shader.c
src/gallium/drivers/radeonsi/radeonsi_shader.h
src/gallium/drivers/radeonsi/si_state.c