Mesa (main): llvmpipe: enable PIPE_CAP_FBFETCH_ZS

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 22 05:02:10 UTC 2022


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

Author: Pavel Asyutchenko <sventeam at yandex.ru>
Date:   Wed Sep  1 23:26:44 2021 +0300

llvmpipe: enable PIPE_CAP_FBFETCH_ZS

Support for it was added in previous commits.

Signed-off-by: Pavel Asyutchenko <sventeam at yandex.ru>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13979>

---

 src/gallium/drivers/llvmpipe/lp_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index cb5ef1fa815..15265cfd597 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -314,6 +314,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_FBFETCH:
       return 8;
    case PIPE_CAP_FBFETCH_COHERENT:
+   case PIPE_CAP_FBFETCH_ZS:
    case PIPE_CAP_MULTI_DRAW_INDIRECT:
    case PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS:
       return 1;



More information about the mesa-commit mailing list