diff options
author | 2025-03-17 12:45:22 -0700 | |
---|---|---|
committer | 2025-03-17 12:45:22 -0700 | |
commit | a468967e2053bb79071d531866ac0be92a10e926 (patch) | |
tree | 4a60e95b50ab8da920cd24fe81ffb402fd387559 /libs/hwui/renderthread | |
parent | 6df3f8864700855f8db2d035ba479cc6ebae68a8 (diff) | |
parent | 48d1bda4e55f4d69a4135f3eadb96acbdc300d6e (diff) |
Merge "Fix vkGetPhysicalDeviceQueueFamilyProperties2 validation error" into main
Diffstat (limited to 'libs/hwui/renderthread')
-rw-r--r-- | libs/hwui/renderthread/VulkanManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/VulkanManager.cpp b/libs/hwui/renderthread/VulkanManager.cpp index a67aea466c1c..0cd9c53c830f 100644 --- a/libs/hwui/renderthread/VulkanManager.cpp +++ b/libs/hwui/renderthread/VulkanManager.cpp @@ -238,6 +238,7 @@ void VulkanManager::setupDevice(skgpu::VulkanExtensions& grExtensions, for (uint32_t i = 0; i < queueCount; i++) { queuePriorityProps[i].sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_EXT; queuePriorityProps[i].pNext = nullptr; + queueProps[i].sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2; queueProps[i].pNext = &queuePriorityProps[i]; } mGetPhysicalDeviceQueueFamilyProperties2(mPhysicalDevice, &queueCount, queueProps.get()); |