agx: Set PIPE_SHADER_CAP_CONT_SUPPORTED
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 3 Sep 2023 23:03:04 +0000 (19:03 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 1 Oct 2023 16:32:11 +0000 (12:32 -0400)
So we get adequate testing of continues, rather than lowering them in GLSL. We
don't really /want/ to see continues but lowering them away will just make them
harder to test... and besides, we should be optimizing them in NIR (not GLSL) so
we can get the win on Vulkan too.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/asahi/agx_pipe.c

index 7ee255c..7ac2e1a 100644 (file)
@@ -1845,7 +1845,7 @@ agx_get_shader_param(struct pipe_screen *pscreen, enum pipe_shader_type shader,
       return 16;
 
    case PIPE_SHADER_CAP_CONT_SUPPORTED:
-      return 0;
+      return 1;
 
    case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
    case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR: