v3d: flush jobs reading from transform feedback output buffers
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 19 Jun 2019 07:48:12 +0000 (09:48 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 21 Jun 2019 06:06:13 +0000 (08:06 +0200)
commiteb44dcc219fe1b224a548341c51337e810942455
tree1b682c5f0626f5083afd17c46b8af79874ebc55f
parent42572f2f7df91f65ac31145380cd9d170ba4b783
v3d: flush jobs reading from transform feedback output buffers

If we are about to write to a transform feedback buffer, we should
make sure that we flush any prior work that intended to read from
any of these buffers.

Fixes piglit test:
spec/ext_transform_feedback/immediate-reuse

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/v3dx_draw.c