[Mesa-dev] [PATCH 05/20] panfrost: Allow texelFetch for wallpaper blits

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Mon Jun 24 17:39:08 UTC 2019


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

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at 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



More information about the mesa-dev mailing list