Mesa (main): asahi: Lower PIPE_CAPF_MAX_POINT_WIDTH to hw limit

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jul 11 22:41:36 UTC 2021


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

Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Sun Jul 11 16:45:06 2021 -0400

asahi: Lower PIPE_CAPF_MAX_POINT_WIDTH to hw limit

Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11818>

---

 src/gallium/drivers/asahi/agx_pipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c
index 2fe4f01aade..540cd7eeb41 100644
--- a/src/gallium/drivers/asahi/agx_pipe.c
+++ b/src/gallium/drivers/asahi/agx_pipe.c
@@ -835,7 +835,7 @@ agx_get_paramf(struct pipe_screen* pscreen,
 
    case PIPE_CAPF_MAX_POINT_WIDTH:
    case PIPE_CAPF_MAX_POINT_WIDTH_AA:
-      return 1024.0;
+      return 511.95f;
 
    case PIPE_CAPF_MAX_TEXTURE_ANISOTROPY:
       return 16.0;



More information about the mesa-commit mailing list