rusticl/mesa: create COMPUTE_ONLY contexts
This allows drivers to skip initializing unnecessary bits. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25466>
This commit is contained in:
@@ -103,8 +103,7 @@ impl PipeScreen {
|
||||
(*self.screen).context_create.unwrap()(
|
||||
self.screen,
|
||||
ptr::null_mut(),
|
||||
// TODO: PIPE_CONTEXT_COMPUTE_ONLY
|
||||
PIPE_CONTEXT_NO_LOD_BIAS,
|
||||
PIPE_CONTEXT_COMPUTE_ONLY | PIPE_CONTEXT_NO_LOD_BIAS,
|
||||
)
|
||||
},
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user