Mesa (master): zink: enable PIPE_CAP_CLEAR_TEXTURE

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 15 16:46:10 UTC 2021


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Aug 13 13:50:21 2020 -0400

zink: enable PIPE_CAP_CLEAR_TEXTURE

Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8512>

---

 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 93b2b8cde13..25eaafe1017 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -104,6 +104,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_DRAW_INDIRECT:
    case PIPE_CAP_TEXTURE_QUERY_LOD:
    case PIPE_CAP_GLSL_TESS_LEVELS_AS_INPUTS:
+   case PIPE_CAP_CLEAR_TEXTURE:
       return 1;
 
    case PIPE_CAP_MULTI_DRAW_INDIRECT:



More information about the mesa-commit mailing list