aux/pp: fixup sampler-view release

Without this, the prost-processing mechanism crashes badly, whoops.

Fixes: 73da0dcddc ("gallium: eliminate frontend refcounting from samplerviews")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37290>
(cherry picked from commit fc0418a69f)
This commit is contained in:
Erik Faye-Lund 2025-09-10 18:10:15 +02:00 committed by Eric Engestrom
parent 3df08d2657
commit 5fb8e4af4b
2 changed files with 2 additions and 2 deletions

View file

@ -6104,7 +6104,7 @@
"description": "aux/pp: fixup sampler-view release", "description": "aux/pp: fixup sampler-view release",
"nominated": true, "nominated": true,
"nomination_type": 2, "nomination_type": 2,
"resolution": 0, "resolution": 1,
"main_sha": null, "main_sha": null,
"because_sha": "73da0dcddcb351f46544b207de55a4cb81654cb8", "because_sha": "73da0dcddcb351f46544b207de55a4cb81654cb8",
"notes": null "notes": null

View file

@ -231,7 +231,7 @@ pp_filter_setup_out(struct pp_program *p, struct pipe_resource *out)
void void
pp_filter_end_pass(struct pp_program *p) pp_filter_end_pass(struct pp_program *p)
{ {
pipe_sampler_view_reference(&p->view, NULL); pipe_sampler_view_release_ptr(&p->view);
} }
/** /**