From 06d192c742eb429af8002802048254031d122593 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 23 Jun 2019 11:49:49 -0700 Subject: [PATCH] panfrost: Allow texelFetch for wallpaper blits We just implemented the routine; we may as well use it. Signed-off-by: Alyssa Rosenzweig --- 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.30.2