File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -658,16 +658,17 @@ impl WorkQueue::ver {
658658
659659 let info_pointer = inner. info . weak_pointer ( ) ;
660660
661- let mutex_init = match pipe_type {
662- PipeType :: Vertex => Mutex :: new_named ( inner, c_str ! ( "WorkQueue::inner (Vertex)" ) ) ,
663- PipeType :: Fragment => Mutex :: new_named ( inner, c_str ! ( "WorkQueue::inner (Fragment)" ) ) ,
664- PipeType :: Compute => Mutex :: new_named ( inner, c_str ! ( "WorkQueue::inner (Compute)" ) ) ,
665- } ;
666-
667- Arc :: pin_init ( pin_init ! ( Self {
668- info_pointer,
669- inner <- mutex_init,
670- } ) )
661+ Arc :: pin_init (
662+ pin_init ! ( Self {
663+ info_pointer,
664+ inner <- match pipe_type {
665+ PipeType :: Vertex => Mutex :: new_named( inner, c_str!( "WorkQueue::inner (Vertex)" ) ) ,
666+ PipeType :: Fragment => Mutex :: new_named( inner, c_str!( "WorkQueue::inner (Fragment)" ) ) ,
667+ PipeType :: Compute => Mutex :: new_named( inner, c_str!( "WorkQueue::inner (Compute)" ) ) ,
668+ } ,
669+ } ) ,
670+ GFP_KERNEL ,
671+ )
671672 }
672673
673674 pub ( crate ) fn event_info ( & self ) -> Option < QueueEventInfo :: ver > {
You can’t perform that action at this time.
0 commit comments