Mesa (master): panfrost: Update sampler view in Bifrost path
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 15 21:52:14 UTC 2020
Module: Mesa
Branch: master
Commit: 65e0e891d242b3f5e115837f0dfb67779b10f880
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65e0e891d242b3f5e115837f0dfb67779b10f880
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Mon Jun 15 09:23:27 2020 -0400
panfrost: Update sampler view in Bifrost path
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Fixes: fafc305600c ("panfrost: Create a new sampler view bo when the layout changes")
Tested-by: Christian Hewitt <christianshewitt at gmail.com>
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. */
More information about the mesa-commit
mailing list