Mesa (master): zink: request texcoord replace lowering

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 25 17:57:08 UTC 2021


Module: Mesa
Branch: master
Commit: 9052819ebbff07d82c3eb9adf414144df4868644
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9052819ebbff07d82c3eb9adf414144df4868644

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Aug 26 18:56:47 2020 +0200

zink: request texcoord replace lowering

We don't actually support point-sprites by texcoord replacement, so let's
remove that cap. This allows gallium to automatically lower this to the
PNTC varying instead, which we do support.

Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6473>

---

 src/gallium/drivers/zink/zink_screen.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 50e5165cf6c..42089a38103 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -142,9 +142,6 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
          return 0;
       return screen->info.props.limits.maxFragmentDualSrcAttachments;
 
-   case PIPE_CAP_POINT_SPRITE:
-      return 1;
-
    case PIPE_CAP_MAX_RENDER_TARGETS:
       return screen->info.props.limits.maxColorAttachments;
 



More information about the mesa-commit mailing list