r600g,radeonsi: don't add streamout.num_dw_for_end twice
authorMarek Olšák <marek.olsak@amd.com>
Sun, 9 Mar 2014 21:10:27 +0000 (22:10 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 11 Mar 2014 17:51:20 +0000 (18:51 +0100)
commit958ef47a6dea652d79a676625b69b3dec6042395
tree41396a0b23b482a74cba71f585ac0d88e04feca7
parent4f1f32306a5238507af44dde0e3a53820b896930
r600g,radeonsi: don't add streamout.num_dw_for_end twice

It's already added in need_cs_space.

Also don't calculate anything if there are no buffers.

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