radeonsi: add sampler view BOs to the BO list last
authorMarek Olšák <marek.olsak@amd.com>
Mon, 12 Sep 2016 10:49:34 +0000 (12:49 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 13 Sep 2016 18:38:25 +0000 (20:38 +0200)
commitfd69fa65a8fc2d3cd2a99ee7519a7e8eb18228c7
tree7502d2ec446d4d4b4bb00a76667e0df4b9028025
parent275c073c6a49eacac85c21dc618d3c577f4d0495
radeonsi: add sampler view BOs to the BO list last

If si_sampler_view_add_buffer ends up flushing, then the code
in begin_new_cs would previously have added the buffer(s) for
whatever was previously bound to that slot. Now it would add only
the new buffer.

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