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 commit bb003d406e)

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:
Thong Thai 2023-01-16 11:05:14 -05:00
parent eac64397de
commit a5b18bd478

View file

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