From: Alyssa Rosenzweig Date: Mon, 15 Jun 2020 13:23:27 +0000 (-0400) Subject: panfrost: Update sampler view in Bifrost path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65e0e891d242b3f5e115837f0dfb67779b10f880;p=mesa.git panfrost: Update sampler view in Bifrost path Signed-off-by: Alyssa Rosenzweig Fixes: fafc305600c ("panfrost: Create a new sampler view bo when the layout changes") Tested-by: Christian Hewitt Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index 5a7658a910f..2691193738c 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.c +++ b/src/gallium/drivers/panfrost/pan_cmdstream.c @@ -1414,6 +1414,7 @@ panfrost_emit_texture_descriptors(struct panfrost_batch *batch, struct panfrost_sampler_view *view = ctx->sampler_views[stage][i]; struct pipe_sampler_view *pview = &view->base; struct panfrost_resource *rsrc = pan_resource(pview->texture); + panfrost_update_sampler_view(view, &ctx->base); /* Add the BOs to the job so they are retained until the job is done. */