mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 04:40:11 +01:00
rusticl: unbind compute state before deleting
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18581>
This commit is contained in:
parent
9ccdd86b90
commit
09d05e4e1c
1 changed files with 1 additions and 0 deletions
|
|
@ -1013,6 +1013,7 @@ impl Kernel {
|
|||
ctx.clear_shader_images(iviews.len() as u32);
|
||||
ctx.clear_sampler_views(sviews.len() as u32);
|
||||
ctx.clear_sampler_states(samplers.len() as u32);
|
||||
ctx.bind_compute_state(ptr::null_mut());
|
||||
ctx.delete_compute_state(cso);
|
||||
ctx.memory_barrier(PIPE_BARRIER_GLOBAL_BUFFER);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue