Module: Mesa
Branch: master
Commit: 65e0e891d242b3f5e115837f0dfb67779b10f880
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=65e0e891d242b3f5e115837f0dfb67779b10f880

Author: Alyssa Rosenzweig <[email protected]>
Date:   Mon Jun 15 09:23:27 2020 -0400

panfrost: Update sampler view in Bifrost path

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Fixes: fafc305600c ("panfrost: Create a new sampler view bo when the layout 
changes")
Tested-by: Christian Hewitt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5474>

---

 src/gallium/drivers/panfrost/pan_cmdstream.c | 1 +
 1 file changed, 1 insertion(+)

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. */
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to