turnip: make possible to create read-only bo with tu_bo_init_new
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Fri, 14 May 2021 15:05:02 +0000 (18:05 +0300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 May 2021 18:29:09 +0000 (18:29 +0000)
commit413e7c6dc86961bcc0163ffe739169bc8283a21d
tree738b6162c888d71a33157fe0c8002729b25712e6
parentd6f993e5d4e343f36563d3ed4d4da57f5672a5e6
turnip: make possible to create read-only bo with tu_bo_init_new

GPU won't be able to write to such BOs, which would to useful for
cmdstream BOs.

Move "bool dump" to the new flags along the way.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10807>
src/freedreno/vulkan/tu_cs.c
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_drm.c
src/freedreno/vulkan/tu_kgsl.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_query.c