softpipe: pass stream-out targets to draw-module early
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 7 May 2019 10:13:43 +0000 (12:13 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 17 Jul 2019 10:43:06 +0000 (10:43 +0000)
commitd59c961af9eb48b61c0e078a71b3e8ca95a06778
treee36df1e1747111fd3dbef3bc35b60e36a9d6025d
parent5a8496007202f065efb3734e5925717268efc226
softpipe: pass stream-out targets to draw-module early

This is essensially a port of ed53e61bec9 from LLVMpipe to softpipe,
as it makes things a bit simpler and more performant.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/gallium/drivers/softpipe/sp_state_so.c