turnip: Minor buffer related cleanup and restructuring
What does this MR do and why?
A collection of minor cleanups, and also included is moving buffer related code to two new files tu_buffer.cc
and tu_buffer.h
.
I think these would be nice to get in before sparse buffers and VM_BIND that I saw @robclark is working on.
CTS unchanged:
./deqp-vk -n dEQP-VK.api.buffer*
Test run totals:
Passed: 1599/4446 (36.0%)
Failed: 0/4446 (0.0%)
Not supported: 2847/4446 (64.0%)
Warnings: 0/4446 (0.0%)
Waived: 0/4446 (0.0%)
Edited by Valentine Burley