From: Dave Airlie Date: Tue, 27 Aug 2019 05:30:28 +0000 (+1000) Subject: llvmpipe: enable compute shaders if LLVM has coroutines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0521ecffbf7aafd7adb2e76bf9b7ed2ff75ef58;p=mesa.git llvmpipe: enable compute shaders if LLVM has coroutines Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 05201bf83fb..37bb29f9543 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -217,7 +217,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: return 0; case PIPE_CAP_COMPUTE: - return 0; + return GALLIVM_HAVE_CORO; case PIPE_CAP_USER_VERTEX_BUFFERS: return 1; case PIPE_CAP_VERTEX_BUFFER_OFFSET_4BYTE_ALIGNED_ONLY: