aux/pp: fixup sampler-view release
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

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>
This commit is contained in:
Erik Faye-Lund 2025-09-10 18:10:15 +02:00 committed by Marge Bot
parent b584b47d01
commit fc0418a69f

View file

@ -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);
}
/**