turnip: add function to allocate aligned memory in a substream cs
authorJonathan Marek <jonathan@marek.ca>
Fri, 15 Nov 2019 20:15:53 +0000 (15:15 -0500)
committerJonathan Marek <jonathan@marek.ca>
Fri, 6 Dec 2019 03:12:29 +0000 (22:12 -0500)
commit3ab4f994619920c2a02a9cf861538a82532ab2d3
tree0a38815979ff68ac69d14e77d9038642a284ecf9
parent1abca2b3c84a42ab64c466bc209db42c41bba5e3
turnip: add function to allocate aligned memory in a substream cs

To use with texture states that need alignment (texconst, sampler, border)

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/vulkan/tu_cs.c
src/freedreno/vulkan/tu_cs.h
src/freedreno/vulkan/tu_private.h