turnip: Use the common base object type and struct.
authorHyunjun Ko <zzoon@igalia.com>
Mon, 13 Jul 2020 03:08:15 +0000 (03:08 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jul 2020 02:48:30 +0000 (02:48 +0000)
commit5d3fdbc52bf8bee6f0acfd55c87b8d280908b559
treef80c622dbb06517b2c8c1f7adfea2f92591a3647
parentcd85315dcb01388de359063603e7980cbead70e4
turnip: Use the common base object type and struct.

v2. Define new helper function to avoid duplicated a pair of function calls.
v3. Move new helper functions to vk_object.h and call them.
v4. Merge 2 commits to use commomn base object type and struct into one.

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5539>
13 files changed:
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_descriptor_set.h
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_fence.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_pass.c
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_pipeline_cache.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_query.c
src/freedreno/vulkan/tu_shader.c
src/freedreno/vulkan/tu_wsi.c