From: Dave Airlie Date: Mon, 6 Apr 2020 07:00:19 +0000 (+1000) Subject: llvmpipe: fix ssbo alignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b4a7a111754ff0849a1b7a131d359ea0b0cb847;p=mesa.git llvmpipe: fix ssbo alignment KHR-GL45.geometry_shader.api.max_shader_storage_blocks Reviewed-by: Roland Scheidegger Part-of: --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 0a8362e16c4..9109e471108 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -324,7 +324,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_VARYINGS: return 32; case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT: - return 1; + return 16; case PIPE_CAP_QUERY_BUFFER_OBJECT: return 1; case PIPE_CAP_DRAW_PARAMETERS: