radeon: don't emit streamout state if there are no streamout buffers
authorMarek Olšák <marek.olsak@amd.com>
Sun, 1 Sep 2013 21:00:28 +0000 (23:00 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Sep 2013 23:04:44 +0000 (01:04 +0200)
commit4ea35023c5a911fee5eebe8e4c4b7200cf665d9b
tree3692d9a288d6c7bd0f8d182f97ebcf87fa5c1279
parent60416cb17368ecf8bf6323466384ad6c12c7e31b
radeon: don't emit streamout state if there are no streamout buffers

This could happen if set_stream_output_targets is called twice
in a row without a draw call in between.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/r600_streamout.c