Module: Mesa Branch: master Commit: 7cac880831b21d2fcddf6477518a458dca9fc217 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cac880831b21d2fcddf6477518a458dca9fc217
Author: Dave Airlie <airl...@redhat.com> Date: Mon Sep 2 09:52:55 2019 +1000 llvmpipe: make texture buffer offset alignment == 16 Due to use vmovdqa instructions in the asm, which require 16-byte aligned buffers. This fixes a crash in KHR-GLES31.core.texture_buffer.texture_buffer_texture_buffer_range Reviewed-by: Roland Scheidegger <srol...@vmware.com> --- src/gallium/drivers/llvmpipe/lp_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 37bb29f9543..96c7623c461 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -241,7 +241,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: return 65536; case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: - return 1; + return 16; case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER: return 0; case PIPE_CAP_MAX_VIEWPORTS: _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit