diff --git a/src/gallium/frontends/rusticl/core/queue.rs b/src/gallium/frontends/rusticl/core/queue.rs index c089aa4af8a..1275f48786e 100644 --- a/src/gallium/frontends/rusticl/core/queue.rs +++ b/src/gallium/frontends/rusticl/core/queue.rs @@ -45,6 +45,12 @@ impl Deref for QueueContext { } } +impl Drop for QueueContext { + fn drop(&mut self) { + self.ctx.set_constant_buffer(0, &[]) + } +} + struct QueueState { pending: Vec>, last: Weak,