From: Alyssa Rosenzweig Date: Sun, 23 Jun 2019 18:49:49 +0000 (-0700) Subject: panfrost: Allow texelFetch for wallpaper blits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06d192c742eb429af8002802048254031d122593;p=mesa.git panfrost: Allow texelFetch for wallpaper blits We just implemented the routine; we may as well use it. Signed-off-by: Alyssa Rosenzweig --- 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;