Mesa (master): zink: enable PIPE_CAP_TGSI_TES_LAYER_VIEWPORT

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Apr 5 00:26:22 UTC 2021


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sun Apr  4 09:20:03 2021 -0400

zink: enable PIPE_CAP_TGSI_TES_LAYER_VIEWPORT

should've done this when PIPE_CAP_TGSI_VS_LAYER_VIEWPORT was enabled

Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10025>

---

 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 79ceaaeea53..529ace85779 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -450,6 +450,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return 1;
 
    case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
+   case PIPE_CAP_TGSI_TES_LAYER_VIEWPORT:
       return screen->info.have_EXT_shader_viewport_index_layer ||
              (screen->info.feats12.shaderOutputLayer &&
               screen->info.feats12.shaderOutputViewportIndex);



More information about the mesa-commit mailing list