diff options
author | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2015-10-13 10:35:36 +0300 |
---|---|---|
committer | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2015-10-13 10:35:36 +0300 |
commit | 748487ba53e5d3271a975571543b8e2f7bfffec0 (patch) | |
tree | 47b64e516529edad67234524f10cdc8075e5c23d | |
parent | f104feb7458dcb113850cfb49e1e4f36dfa69daa (diff) |
hack: Fix candidate no 2skl_hacks
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_subimage.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_subimage.c b/src/mesa/drivers/dri/i965/intel_tex_subimage.c index 31e511f0b7..aac037b7ef 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_subimage.c +++ b/src/mesa/drivers/dri/i965/intel_tex_subimage.c @@ -214,8 +214,13 @@ intelTexSubImage(struct gl_context * ctx, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels, false, tex_busy, packing); - if (ok) + + if (ok) { + struct brw_context *brw = brw_context(ctx); + brw_emit_mi_flush(brw); + brw_emit_mi_flush(brw); return; + } ok = intel_texsubimage_tiled_memcpy(ctx, dims, texImage, xoffset, yoffset, zoffset, |