OSDN Git Service

anv/blorp: Align vertex buffers to 64B
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 31 Mar 2017 22:21:04 +0000 (15:21 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Apr 2017 01:33:52 +0000 (18:33 -0700)
commit5d1ba2cb04f58b0c887304f0b8adda0b5623a710
tree259fb0ed409047d46de524edb1dc1432450f3d8b
parentc964f0e485dc8cb901a54bf40f1d69f503ac0a0a
anv/blorp: Align vertex buffers to 64B

This fixes issues seen when adding support for full 48-bit addresses.
The 48-bit addresses themselves have nothing to do with it other than
that it caused the kernel to place buffers slightly differently so they
interacted differently with the caches.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/genX_blorp_exec.c