Mesa (main): v3d: Drop workaround for u_blitter bug
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 22 17:27:37 UTC 2022
Module: Mesa
Branch: main
Commit: e812e8892a1572e3abaa29fe2ee4516cc2a743e3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e812e8892a1572e3abaa29fe2ee4516cc2a743e3
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Fri Jun 17 17:21:20 2022 -0400
v3d: Drop workaround for u_blitter bug
This doesn't seem to be necessary.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17113>
---
src/gallium/drivers/v3d/v3dx_draw.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/gallium/drivers/v3d/v3dx_draw.c b/src/gallium/drivers/v3d/v3dx_draw.c
index 63b2b06dae5..8167d9bc24a 100644
--- a/src/gallium/drivers/v3d/v3dx_draw.c
+++ b/src/gallium/drivers/v3d/v3dx_draw.c
@@ -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,
More information about the mesa-commit
mailing list