mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
iris: clear fix
This commit is contained in:
parent
d416b81779
commit
6cf04c6ded
1 changed files with 4 additions and 2 deletions
|
|
@ -68,8 +68,10 @@ iris_clear(struct pipe_context *ctx,
|
|||
ISL_AUX_USAGE_NONE, true);
|
||||
|
||||
blorp_clear(&blorp_batch, &surf, isurf->view.format,
|
||||
ISL_SWIZZLE_IDENTITY, 0, 0, cso_fb->layers,
|
||||
0, 0, cso_fb->width, cso_fb->height,
|
||||
ISL_SWIZZLE_IDENTITY,
|
||||
psurf->u.tex.level, psurf->u.tex.first_layer,
|
||||
psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1,
|
||||
0, 0, psurf->width, psurf->height,
|
||||
*clear_color, color_write_disable);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue