Before saving the current position of the pipeline for the render stream, we need to flush.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99030 Testcase: piglit/arb_transform_feedback2-draw-auto Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> --- src/mesa/drivers/dri/i965/hsw_sol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/hsw_sol.c b/src/mesa/drivers/dri/i965/hsw_sol.c index e299b02270..87d4ab531b 100644 --- a/src/mesa/drivers/dri/i965/hsw_sol.c +++ b/src/mesa/drivers/dri/i965/hsw_sol.c @@ -201,6 +201,8 @@ hsw_pause_transform_feedback(struct gl_context *ctx, (struct brw_transform_feedback_object *) obj; if (brw->is_haswell) { + brw_emit_mi_flush(brw); + /* Save the SOL buffer offset register values. */ for (int i = 0; i < BRW_MAX_XFB_STREAMS; i++) { BEGIN_BATCH(3); -- 2.11.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev