We just implemented the routine; we may as well use it.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com>
---
 src/gallium/drivers/panfrost/pan_blit.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gallium/drivers/panfrost/pan_blit.c 
b/src/gallium/drivers/panfrost/pan_blit.c
index 5859f92f9d1..103316929ba 100644
--- a/src/gallium/drivers/panfrost/pan_blit.c
+++ b/src/gallium/drivers/panfrost/pan_blit.c
@@ -117,9 +117,7 @@ panfrost_blit_wallpaper(struct panfrost_context *ctx)
        binfo.src.box.y = binfo.dst.box.y = 0;
        binfo.src.box.width = binfo.dst.box.width = ctx->pipe_framebuffer.width;
        binfo.src.box.height = binfo.dst.box.height = 
ctx->pipe_framebuffer.height;
-
-       /* This avoids an assert due to missing nir_texop_txb support */
-       //binfo.src.box.depth = binfo.dst.box.depth = 1;
+       binfo.src.box.depth = binfo.dst.box.depth = 1;
 
        binfo.src.format = binfo.dst.format = 
ctx->pipe_framebuffer.cbufs[0]->texture->format;
 
-- 
2.20.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to