aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2016-06-10 08:23:40 +0300
committerTopi Pohjolainen <[email protected]>2016-11-25 16:57:06 +0200
commit12010b92263dd63a6cef785c730ff877f7912cc8 (patch)
tree0e5f0799f5f849fc8de7b888e7a2417b7dd054fd /src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
parent71d48d6f42c3ae03b797c25d58f2f1f4dcd8fc29 (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_pixel_bitmap.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_pixel_bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_pixel_bitmap.c b/src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
index 8381fe6367e..4522d28a4e1 100644
--- a/src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
+++ b/src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
@@ -256,7 +256,7 @@ do_blit_bitmap( struct gl_context *ctx,
/* The blitter has no idea about fast color clears, so we need to resolve
* the miptree before we do anything.
*/
- intel_miptree_resolve_color(brw, irb->mt, 0);
+ intel_miptree_all_slices_resolve_color(brw, irb->mt, 0);
/* Chop it all into chunks that can be digested by hardware: */
for (py = 0; py < height; py += DY) {