Mesa (master): r600g: fix layered clear
Marek Olšák
mareko at kemper.freedesktop.org
Mon Sep 1 19:24:47 UTC 2014
Module: Mesa
Branch: master
Commit: d159c5e3e0bdfe3c19a2da7526133fdd94ffee79
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d159c5e3e0bdfe3c19a2da7526133fdd94ffee79
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Aug 20 19:17:09 2014 +0200
r600g: fix layered clear
Cc: mesa-stable at lists.freedesktop.org
Acked-by: Michel Dänzer <michel.daenzer at amd.com>
---
src/gallium/drivers/r600/r600_blit.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 0f43839..f766e37 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -441,7 +441,8 @@ static void r600_clear(struct pipe_context *ctx, unsigned buffers,
}
r600_blitter_begin(ctx, R600_CLEAR);
- util_blitter_clear(rctx->blitter, fb->width, fb->height, 1,
+ util_blitter_clear(rctx->blitter, fb->width, fb->height,
+ util_framebuffer_get_num_layers(fb),
buffers, color, depth, stencil);
r600_blitter_end(ctx);
More information about the mesa-commit
mailing list