mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-10 18:00:34 +01:00
r600g: fix layered clear
Cc: mesa-stable@lists.freedesktop.org
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
(cherry picked from commit d159c5e3e0)
This commit is contained in:
parent
447785af9d
commit
58be4ab741
1 changed files with 2 additions and 1 deletions
|
|
@ -440,7 +440,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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue