mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
r600g: fix layered clear
Cc: mesa-stable@lists.freedesktop.org Acked-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
e6d191bb6f
commit
d159c5e3e0
1 changed files with 2 additions and 1 deletions
|
|
@ -441,7 +441,8 @@ static void r600_clear(struct pipe_context *ctx, unsigned buffers,
|
||||||
}
|
}
|
||||||
|
|
||||||
r600_blitter_begin(ctx, R600_CLEAR);
|
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);
|
buffers, color, depth, stencil);
|
||||||
r600_blitter_end(ctx);
|
r600_blitter_end(ctx);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue