summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author John Bauman <jbauman@google.com> 2023-10-24 17:23:47 +0000
committer John Bauman <jbauman@google.com> 2023-11-21 19:22:47 +0000
commit1aab9922ce7b02c50cf43e7945d031d5c1fbcf74 (patch)
tree811314c207777d29768c4a8e7f2380817c3a7bdd /libs/ultrahdr/jpegencoderhelper.cpp
parentecc2be942162dca5e192ab2d7a7ec16c577c266f (diff)
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
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions