mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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:
parent
32b171d669
commit
65e0e891d2
1 changed files with 1 additions and 0 deletions
|
|
@ -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. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue