rusticl/queue: make QueueContext::dev public

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32821>
This commit is contained in:
Karol Herbst
2024-12-10 18:22:27 +01:00
committed by Marge Bot
parent d460cb3675
commit b2f42dbe61

View File

@@ -26,7 +26,7 @@ use std::thread::JoinHandle;
pub struct QueueContext {
// need to use ManuallyDrop so we can recycle the context without cloning
ctx: ManuallyDrop<PipeContext>,
dev: &'static Device,
pub dev: &'static Device,
use_stream: bool,
}