Create very primitive physical device and instance.
[mesa.git] / src / libre-soc / vulkan / libresoc_private.h
index 3b497a368bf5250b814512d5cfebdd1105b74183..5aba3eb4142e058bd67c20e23a7d980ec52e601b 100644 (file)
@@ -40,6 +40,7 @@
 #include "vk_debug_report.h"
 #include "util/xmlconfig.h"
 
+#include "vk_object.h"
 #include "libresoc_entrypoints.h"
 #include "libresoc_extensions.h"
 
@@ -79,6 +80,7 @@ struct libresoc_app_info {
 };
 
 struct libresoc_instance {
+   struct vk_object_base                       base;
    VK_LOADER_DATA _loader_data;
 
    VkAllocationCallbacks alloc;
@@ -89,8 +91,8 @@ struct libresoc_instance {
    struct libresoc_instance_dispatch_table dispatch;
    struct libresoc_device_dispatch_table device_dispatch;
 
-   int physicalDeviceCount;
-   struct libresoc_physical_device physicalDevice;
+   int physical_device_count;
+   struct libresoc_physical_device physical_device;
 
    struct vk_debug_report_instance debug_report_callbacks;
 };