llvmpipe: fix ssbo alignment
authorDave Airlie <airlied@redhat.com>
Mon, 6 Apr 2020 07:00:19 +0000 (17:00 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 27 Apr 2020 02:35:24 +0000 (12:35 +1000)
KHR-GL45.geometry_shader.api.max_shader_storage_blocks

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574>

src/gallium/drivers/llvmpipe/lp_screen.c

index 0a8362e16c4c5e8dbffc2a467b69a88351d153d9..9109e4711086379656ae29e6f0508752196c01ec 100644 (file)
@@ -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: