diff options
author | Topi Pohjolainen <[email protected]> | 2016-06-10 08:23:40 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2016-11-25 16:57:06 +0200 |
commit | 12010b92263dd63a6cef785c730ff877f7912cc8 (patch) | |
tree | 0e5f0799f5f849fc8de7b888e7a2417b7dd054fd /src/mesa/drivers/dri/i965/intel_tex_image.c | |
parent | 71d48d6f42c3ae03b797c25d58f2f1f4dcd8fc29 (diff) |
i965: Add new interface for full color resolves
Upcoming patches will introduce fast clear in level/layer
granularity like the driver does already for depth/hiz. This patch
introduces equivalent full resolve option.
Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Jason Ekstrand <[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.c | 2 |
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 cbff58a6a84..141996f7076 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_image.c +++ b/src/mesa/drivers/dri/i965/intel_tex_image.c @@ -523,7 +523,7 @@ intel_gettexsubimage_tiled_memcpy(struct gl_context *ctx, /* 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(brw, image->mt, 0); + intel_miptree_all_slices_resolve_color(brw, image->mt, 0); bo = image->mt->bo; |