Skip to content

Commit

Permalink
layer: Initialize PhysicalDeviceData members
Browse files Browse the repository at this point in the history
  • Loading branch information
aqnuep committed Dec 7, 2024
1 parent a618d7a commit c73a696
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions scripts/gen_profiles_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,22 +196,22 @@ class PhysicalDeviceData {
VkInstance instance() const { return instance_; }
MapOfVkExtensionProperties device_extensions_;
MapOfVkFormatProperties device_formats_;
MapOfVkFormatProperties3 device_formats_3_;
ArrayOfVkQueueFamilyProperties device_queue_family_properties_;
SetOfVideoProfiles set_of_device_video_profiles_;
MapOfVkExtensionProperties simulation_extensions_;
VkPhysicalDeviceProperties physical_device_properties_;
VkPhysicalDeviceFeatures physical_device_features_;
VkPhysicalDeviceMemoryProperties physical_device_memory_properties_;
VkPhysicalDeviceToolProperties physical_device_tool_properties_;
VkSurfaceCapabilitiesKHR surface_capabilities_;
MapOfVkFormatProperties map_of_format_properties_;
MapOfVkFormatProperties3 map_of_format_properties_3_;
MapOfVkExtensionProperties map_of_extension_properties_;
ArrayOfVkQueueFamilyProperties arrayof_queue_family_properties_;
SetOfVideoProfiles set_of_video_profiles_;
MapOfVkExtensionProperties device_extensions_{};
MapOfVkFormatProperties device_formats_{};
MapOfVkFormatProperties3 device_formats_3_{};
ArrayOfVkQueueFamilyProperties device_queue_family_properties_{};
SetOfVideoProfiles set_of_device_video_profiles_{};
MapOfVkExtensionProperties simulation_extensions_{};
VkPhysicalDeviceProperties physical_device_properties_{};
VkPhysicalDeviceFeatures physical_device_features_{};
VkPhysicalDeviceMemoryProperties physical_device_memory_properties_{};
VkPhysicalDeviceToolProperties physical_device_tool_properties_{};
VkSurfaceCapabilitiesKHR surface_capabilities_{};
MapOfVkFormatProperties map_of_format_properties_{};
MapOfVkFormatProperties3 map_of_format_properties_3_{};
MapOfVkExtensionProperties map_of_extension_properties_{};
ArrayOfVkQueueFamilyProperties arrayof_queue_family_properties_{};
SetOfVideoProfiles set_of_video_profiles_{};
bool vulkan_1_1_properties_written_;
bool vulkan_1_2_properties_written_;
Expand Down Expand Up @@ -4831,9 +4831,9 @@ def generate_video_profile_data(self):
gen += self.generate_video_profile_caps()
gen += self.generate_video_profile_format()
gen += '\nstruct VideoProfileData {\n'
gen += ' VideoProfileInfoChain info;\n'
gen += ' VideoCapabilitiesChain caps;\n'
gen += ' std::unordered_map<VkImageUsageFlags, SetOfVideoProfileFormats> formats;\n\n'
gen += ' VideoProfileInfoChain info{};\n'
gen += ' VideoCapabilitiesChain caps{};\n'
gen += ' std::unordered_map<VkImageUsageFlags, SetOfVideoProfileFormats> formats{};\n\n'
gen += ' std::vector<VkImageUsageFlags> GetSupportedFormatCategories() const {\n'
gen += ' std::vector<VkImageUsageFlags> result{};\n'
gen += ' switch (info.video_profile_info_.videoCodecOperation) {\n'
Expand Down

0 comments on commit c73a696

Please sign in to comment.