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

Commit 48d1bda4 authored by dm93.han's avatar dm93.han Committed by Noelle Scobie
Browse files

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: default avatardm93.han <dm93.han@samsung.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:4ed416c12a73d6530e76e32b0e591e5fe0d86f90)
Merged-In: Iddb2e703ec2d792ff9717a2b9e9d2a61f15e55ec
Change-Id: Iddb2e703ec2d792ff9717a2b9e9d2a61f15e55ec
parent c0fccde1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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());