mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02: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);
|
ISL_AUX_USAGE_NONE, true);
|
||||||
|
|
||||||
blorp_clear(&blorp_batch, &surf, isurf->view.format,
|
blorp_clear(&blorp_batch, &surf, isurf->view.format,
|
||||||
ISL_SWIZZLE_IDENTITY, 0, 0, cso_fb->layers,
|
ISL_SWIZZLE_IDENTITY,
|
||||||
0, 0, cso_fb->width, cso_fb->height,
|
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);
|
*clear_color, color_write_disable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue