summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread
diff options
context:
space:
mode:
author dm93.han <dm93.han@samsung.com> 2025-03-14 12:02:43 -0700
committer Noelle Scobie <nscobie@google.com> 2025-03-17 11:07:02 -0700
commit48d1bda4e55f4d69a4135f3eadb96acbdc300d6e (patch)
tree79b7899211b4419b4ed3e771e9029e0859d12f3a /libs/hwui/renderthread
parentc0fccde14a2e6a165bbb0eb8bc6f0eea093cc1df (diff)
Fix vkGetPhysicalDeviceQueueFamilyProperties2 validation error
- VUID-VkQueueFamilyProperties2-sType-sType sType must be VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 Bug: 399240969 Flag: EXEMPT trivial validation fix Signed-off-by: dm93.han <dm93.han@samsung.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:4ed416c12a73d6530e76e32b0e591e5fe0d86f90) Merged-In: Iddb2e703ec2d792ff9717a2b9e9d2a61f15e55ec Change-Id: Iddb2e703ec2d792ff9717a2b9e9d2a61f15e55ec
Diffstat (limited to 'libs/hwui/renderthread')
-rw-r--r--libs/hwui/renderthread/VulkanManager.cpp1
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());