mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
gallium/auxiliary/vl: clean-up progressive shader
Add the progressive shader to the vl_compositor_cs_cleanup_shaders function. Signed-off-by: Thong Thai <thong.thai@amd.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8086 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8088 Tested-by: Mark Herbert <mark.herbert42@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commitbb003d406e) Fixes:56eac722bd("gallium/auxiliary/vl: compute shaders for progressive yuv") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20971>
This commit is contained in:
parent
eac64397de
commit
a5b18bd478
1 changed files with 4 additions and 0 deletions
|
|
@ -961,4 +961,8 @@ void vl_compositor_cs_cleanup_shaders(struct vl_compositor *c)
|
|||
c->pipe->delete_compute_state(c->pipe, c->cs_yuv.bob.y);
|
||||
if (c->cs_yuv.bob.uv)
|
||||
c->pipe->delete_compute_state(c->pipe, c->cs_yuv.bob.uv);
|
||||
if (c->cs_yuv.progressive.y)
|
||||
c->pipe->delete_compute_state(c->pipe, c->cs_yuv.progressive.y);
|
||||
if (c->cs_yuv.progressive.uv)
|
||||
c->pipe->delete_compute_state(c->pipe, c->cs_yuv.progressive.uv);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue