turnip: Add a helper function for getting tu_buffer iovas.
authorEric Anholt <eric@anholt.net>
Wed, 4 Dec 2019 21:13:16 +0000 (13:13 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 5 Dec 2019 04:32:15 +0000 (20:32 -0800)
commit4365e955d8d4e19b38adf00fba834cf82ebad7e1
treed60e1b0169e36e6d63279fb098d394943e87c58d
parent70d6428be5f4dc5545191059474804d21c6bdbac
turnip: Add a helper function for getting tu_buffer iovas.

Easier than remembering to add all 3 offsets.

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_meta_copy.c
src/freedreno/vulkan/tu_private.h