From fc0418a69fd7c5d1b6c426314649e7449477c578 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 10 Sep 2025 18:10:15 +0200 Subject: [PATCH] aux/pp: fixup sampler-view release Without this, the prost-processing mechanism crashes badly, whoops. Fixes: 73da0dcddcb ("gallium: eliminate frontend refcounting from samplerviews") Reviewed-by: Mike Blumenkrantz Part-of: --- src/gallium/auxiliary/postprocess/pp_run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/postprocess/pp_run.c b/src/gallium/auxiliary/postprocess/pp_run.c index 7e57f02c23f..02239450477 100644 --- a/src/gallium/auxiliary/postprocess/pp_run.c +++ b/src/gallium/auxiliary/postprocess/pp_run.c @@ -229,7 +229,7 @@ pp_filter_setup_out(struct pp_program *p, struct pipe_resource *out) void pp_filter_end_pass(struct pp_program *p) { - pipe_sampler_view_reference(&p->view, NULL); + pipe_sampler_view_release_ptr(&p->view); } /**