From 63d4f30aa71bb63f0aa896967751cd72a1013012 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 25 Nov 2022 22:08:23 -0500 Subject: [PATCH] asahi: Unset GL_CLAMP Use the Zink lowering for the legacy mode, it's not too many instructions on AGX anyway. Fixes texwrap tests. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/asahi/agx_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index eef9f446067..3d4b621fa6e 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -1367,6 +1367,7 @@ agx_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_FLATSHADE: case PIPE_CAP_TWO_SIDED_COLOR: case PIPE_CAP_ALPHA_TEST: + case PIPE_CAP_GL_CLAMP: case PIPE_CAP_POINT_SIZE_FIXED: case PIPE_CAP_CLIP_PLANES: case PIPE_CAP_NIR_IMAGES_AS_DEREF: