aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2020-04-29 10:16:32 +0200
committerSamuel Pitoiset <[email protected]>2020-05-13 08:23:23 +0200
commit65458528fc169ab80c99cb115bc6f86ae7b43d12 (patch)
tree245704e255f4cfb7628594e21559c7680c474418 /src/amd/vulkan/radv_private.h
parent2b535ac61b92cdf5f1e5adca3f2a4a43e7384e1a (diff)
radv: use the common base object type for VkDevice
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4886>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 6b54a8ad600..073fd97ca8f 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -51,6 +51,7 @@
#include "util/xmlconfig.h"
#include "vk_alloc.h"
#include "vk_debug_report.h"
+#include "vk_object.h"
#include "radv_radeon_winsys.h"
#include "ac_binary.h"
@@ -780,9 +781,7 @@ struct radv_secure_compile_state {
};
struct radv_device {
- VK_LOADER_DATA _loader_data;
-
- VkAllocationCallbacks alloc;
+ struct vk_device vk;
struct radv_instance * instance;
struct radeon_winsys *ws;