From 45be51ad1a0198244dd6c7280d98afc12f677c66 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 14 Mar 2018 17:56:01 -0700 Subject: [PATCH] HACK: flush after blorp texture upload --- src/mesa/drivers/dri/i965/brw_blorp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c index 1d586e5..cce16ec 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.c +++ b/src/mesa/drivers/dri/i965/brw_blorp.c @@ -36,6 +36,7 @@ #include "brw_defines.h" #include "brw_meta_util.h" #include "brw_state.h" +#include "intel_batchbuffer.h" #include "intel_buffer_objects.h" #include "intel_fbo.h" #include "common/gen_debug.h" @@ -967,6 +968,8 @@ brw_blorp_upload_miptree(struct brw_context *brw, intel_miptree_release(&src_mt); } + intel_batchbuffer_flush(brw); + result = true; err: -- 2.5.0.400.gff86faf