Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f56b1aa authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "vkjson: fix incorrect sType for VK_EXT_custom_border_color" into main

parents 600a158e 9835fadb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -786,7 +786,7 @@ VULKAN_EXTENSIONS_AND_STRUCTS_MAPPING = {
      {"VkPhysicalDeviceImage2DViewOf3DFeaturesEXT" : "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT"},
    ],
    "VK_EXT_custom_border_color" : [
      {"VkPhysicalDeviceCustomBorderColorFeaturesEXT" : "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT"},
      {"VkPhysicalDeviceCustomBorderColorFeaturesEXT" : "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT"},
    ],
    "VK_EXT_primitive_topology_list_restart": [
      {"VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT" : "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT"},
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ VkJsonDevice VkJsonGetDevice(VkPhysicalDevice physical_device) {
  if (HasExtension("VK_EXT_custom_border_color", device.extensions)) {
    device.ext_custom_border_color.reported = true;
    device.ext_custom_border_color.custom_border_color_features_ext.sType =
        VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT;
        VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT;
    device.ext_custom_border_color.custom_border_color_features_ext.pNext =
        features.pNext;
    features.pNext =