Mesa (main): zink: export PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 8 03:28:26 UTC 2022


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Jan 28 15:52:18 2022 -0500

zink: export PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED

this is supported and has been for a while

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

---

 src/gallium/drivers/zink/zink_screen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 2ae25e1d730..bd1d3a09f5f 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -1011,8 +1011,9 @@ zink_get_shader_param(struct pipe_screen *pscreen,
    case PIPE_SHADER_CAP_TGSI_LDEXP_SUPPORTED:
    case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS:
    case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER_BUFFERS:
-   case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
       return 0; /* not implemented */
+   case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
+      return 1;
    }
 
    /* should only get here on unhandled cases */



More information about the mesa-commit mailing list