mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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>
This commit is contained in:
parent
b584b47d01
commit
fc0418a69f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue