panfrost: Update sampler view in Bifrost path
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fixes: fafc305600 ("panfrost: Create a new sampler view bo when the layout changes")
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5474>
This commit is contained in:
committed by
Marge Bot
parent
32b171d669
commit
65e0e891d2
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user