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

Skip to content
Commit 1aab9922 authored by John Bauman's avatar John Bauman
Browse files

Require protected memory support when creating protected queue

According to VUID-VkDeviceQueueCreateInfo-flags-02861, the
protectedMemory feature must be enabled if the
VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT flag is specified. When using debug
builds of the ARM Mali Vulkan ICD that don't support protected memory,
specifying that flag anyway was causing an assert in the ICD, so don't
attempt to create a protected device if the physical device doesn't
support protected memory.

Bug: b/312107548
Change-Id: I74c162ba90ea582b403a44d362932eac9b6fa66f
parent ecc2be94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment