aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_tex_image.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-24 22:09:51 -0700
committerJason Ekstrand <[email protected]>2017-06-07 22:18:53 -0700
commit421d713eec705cb0af551f719fc1d505933dae50 (patch)
treeba9445c18d8738846d2ac8c6617dc4464dd66d52 /src/mesa/drivers/dri/i965/intel_tex_image.c
parent5ec344e42056c14417ec423be61e3715fae7b626 (diff)
i965: Use the new resolve function for several simple cases
Reviewed-by: Topi Pohjolainen <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_image.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c
index 8cd1eae296b..ea166f019fb 100644
--- a/src/mesa/drivers/dri/i965/intel_tex_image.c
+++ b/src/mesa/drivers/dri/i965/intel_tex_image.c
@@ -539,7 +539,7 @@ intel_gettexsubimage_tiled_memcpy(struct gl_context *ctx,
* any pending fast color clears before we start.
*/
assert(image->mt->logical_depth0 == 1);
- intel_miptree_resolve_color(brw, image->mt, level, 1, 0, 1, 0);
+ intel_miptree_access_raw(brw, image->mt, level, 0, true);
bo = image->mt->bo;