Mesa (main): zink: unset PIPE_CAP_MULTI_DRAW_INDIRECT_PARTIAL_STRIDE

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 21 02:57:26 UTC 2022


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 13 16:34:01 2022 -0400

zink: unset PIPE_CAP_MULTI_DRAW_INDIRECT_PARTIAL_STRIDE

by the time this gets to the driver, it's really awful to solve,
so have the frontend solve it

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15963>

---

 src/gallium/drivers/zink/zink_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index a0e03f8b645..5269ba9a065 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -320,6 +320,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
 
    switch (param) {
    case PIPE_CAP_TEXRECT:
+   case PIPE_CAP_MULTI_DRAW_INDIRECT_PARTIAL_STRIDE:
       return 0;
    case PIPE_CAP_ANISOTROPIC_FILTER:
       return screen->info.feats.features.samplerAnisotropy;



More information about the mesa-commit mailing list