radeonsi: write all MRTs only if there is exactly one output
authorMarek Olšák <marek.olsak@amd.com>
Wed, 23 Dec 2015 15:24:02 +0000 (16:24 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 7 Jan 2016 17:26:06 +0000 (18:26 +0100)
commit4e597c25c76e502e5fd32900feb1ea953cf03338
tree50245701ce6ec026e8ebcbb6720f913a1c7036c3
parent746a7a74983a708edfd60ac2e501939844eacfc0
radeonsi: write all MRTs only if there is exactly one output

This doesn't fix a known bug, but better safe than sorry.

Also, simplify the expression in si_shader.c.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_state_shaders.c