mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +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> (cherry picked from commitfc0418a69f)
This commit is contained in:
parent
3df08d2657
commit
5fb8e4af4b
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue