Module: Mesa
Branch: main
Commit: 785d96b040d9c9231534280244ab3bfc95ebb3cc
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=785d96b040d9c9231534280244ab3bfc95ebb3cc

Author: Karol Herbst <[email protected]>
Date:   Tue Sep  5 17:58:19 2023 +0200

rusticl/mesa: create contexts with PIPE_CONTEXT_NO_LOD_BIAS

It's not a thing in OpenCL

Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25067>

---

 src/gallium/frontends/rusticl/mesa/pipe/screen.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/frontends/rusticl/mesa/pipe/screen.rs 
b/src/gallium/frontends/rusticl/mesa/pipe/screen.rs
index 1450283f2d9..cfa751cf7af 100644
--- a/src/gallium/frontends/rusticl/mesa/pipe/screen.rs
+++ b/src/gallium/frontends/rusticl/mesa/pipe/screen.rs
@@ -103,7 +103,8 @@ impl PipeScreen {
                 (*self.screen).context_create.unwrap()(
                     self.screen,
                     ptr::null_mut(),
-                    0, //PIPE_CONTEXT_COMPUTE_ONLY,
+                    // TODO: PIPE_CONTEXT_COMPUTE_ONLY
+                    PIPE_CONTEXT_NO_LOD_BIAS,
                 )
             },
             self,

Reply via email to