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:
committed by
Marge Bot
parent
b584b47d01
commit
fc0418a69f
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user