mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 02:30:12 +01:00
v3d: Drop workaround for u_blitter bug
This doesn't seem to be necessary. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17113>
This commit is contained in:
parent
f1c1b9687e
commit
e812e8892a
1 changed files with 0 additions and 8 deletions
|
|
@ -1541,14 +1541,6 @@ v3d_draw_clear(struct v3d_context *v3d,
|
|||
const union pipe_color_union *color,
|
||||
double depth, unsigned stencil)
|
||||
{
|
||||
static const union pipe_color_union dummy_color = {};
|
||||
|
||||
/* The blitter util dereferences the color regardless, even though the
|
||||
* gallium clear API may not pass one in when only Z/S are cleared.
|
||||
*/
|
||||
if (!color)
|
||||
color = &dummy_color;
|
||||
|
||||
v3d_blitter_save(v3d, false);
|
||||
util_blitter_clear(v3d->blitter,
|
||||
v3d->framebuffer.width,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue