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

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Nov  8 20:38:40 2022 -0500

asahi: Unset PIPE_CAP_POINT_SIZE_FIXED

We do not support glPointSize(), we need point size lowered to gl_PointSize
writes in the frontend so we can use the GLES pat.

Fixes glamor.

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

---

 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 5f12c4f3b9f..3c8dcef730b 100644
--- a/src/gallium/drivers/asahi/agx_pipe.c
+++ b/src/gallium/drivers/asahi/agx_pipe.c
@@ -1140,6 +1140,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_POINT_SIZE_FIXED:
    case PIPE_CAP_CLIP_PLANES:
    case PIPE_CAP_NIR_IMAGES_AS_DEREF:
       return 0;

Reply via email to