llvmpipe: make texture buffer offset alignment == 16
authorDave Airlie <airlied@redhat.com>
Sun, 1 Sep 2019 23:52:55 +0000 (09:52 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 10 Oct 2019 21:52:20 +0000 (21:52 +0000)
commit7cac880831b21d2fcddf6477518a458dca9fc217
treec72900a0c5d19f9865d5e14477f42a5da9065b07
parent34ba363ab0e231c2842c4a045dc51c5b1cd33401
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 <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_screen.c