summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-20 19:17:09 +0200
committerMarek Olšák <[email protected]>2014-09-01 21:18:42 +0200
commitd159c5e3e0bdfe3c19a2da7526133fdd94ffee79 (patch)
treeb895507f1c3aab79b642a55331f682d3b4c67bd1 /src/gallium/drivers
parente6d191bb6fa7e0e78acd9028129a9f9f83c99260 (diff)
r600g: fix layered clear
Cc: [email protected] Acked-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 0f438399432..f766e37f2b2 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);