vc4: Handle unaligned accesses in CL emits.
authorEric Anholt <eric@anholt.net>
Thu, 25 Dec 2014 22:22:02 +0000 (12:22 -1000)
committerEric Anholt <eric@anholt.net>
Fri, 26 Dec 2014 01:47:39 +0000 (15:47 -1000)
commitcb5a37249c23084f057ece366bff0a0cf5e66297
tree1b4fb3ec101896cf696b9caa5908bac882cf3498
parentdb6e054eb03421c401f5cff592c25c810e11d1f3
vc4: Handle unaligned accesses in CL emits.

As of 229bf4475ff0a5dbeb9bc95250f7a40a983c2e28 we started getting SIBGUS
from unaligned accesses on the hardware, for reasons I haven't figured
out.  However, we should be avoiding unaligned accesses anyway, and our CL
setup certainly would have produced them.
src/gallium/drivers/vc4/vc4_cl.h
src/gallium/drivers/vc4/vc4_program.c