diff --git a/src/gallium/frontends/rusticl/core/kernel.rs b/src/gallium/frontends/rusticl/core/kernel.rs index 1b5cf1be5ab..c767709267b 100644 --- a/src/gallium/frontends/rusticl/core/kernel.rs +++ b/src/gallium/frontends/rusticl/core/kernel.rs @@ -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);