radeonsi: simplify setting the DONE bit for PS exports
authorMarek Olšák <marek.olsak@amd.com>
Wed, 23 Dec 2015 17:06:04 +0000 (18:06 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 7 Jan 2016 17:26:06 +0000 (18:26 +0100)
commit5f3e6b5b0f0665c6593cdc59efdb11b0ef6063c3
tree1923d937a12922c542a446904c7de16a4f3c3c85
parente00f3f23b13e2ad99977005da2c1538f181e401d
radeonsi: simplify setting the DONE bit for PS exports

First find out what the last export is and simply set the DONE bit there.

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