aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_tex_subimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_tex_subimage.c')
-rw-r--r--src/mesa/drivers/dri/i915/intel_tex_subimage.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tex_subimage.c b/src/mesa/drivers/dri/i915/intel_tex_subimage.c
index f936e9b17e6..4f70f883cd8 100644
--- a/src/mesa/drivers/dri/i915/intel_tex_subimage.c
+++ b/src/mesa/drivers/dri/i915/intel_tex_subimage.c
@@ -91,7 +91,7 @@ intel_blit_texsubimage(struct gl_context * ctx,
intel_miptree_create(intel, GL_TEXTURE_2D, texImage->TexFormat,
0, 0,
width, height, 1,
- false, 0, INTEL_MIPTREE_TILING_NONE);
+ false, INTEL_MIPTREE_TILING_NONE);
if (!temp_mt)
goto err;
@@ -206,11 +206,6 @@ intel_texsubimage_tiled_memcpy(struct gl_context * ctx,
return false;
}
- /* Since we are going to write raw data to the miptree, we need to resolve
- * any pending fast color clears before we start.
- */
- intel_miptree_resolve_color(intel, image->mt);
-
bo = image->mt->region->bo;
if (drm_intel_bo_references(intel->batch.bo, bo)) {