aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_vulkan_wrapper.py
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2023-05-26 17:58:18 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2023-05-29 21:31:01 -0600
commit845f0fc359ec64f33b591aa8bf29c76c7d09f07c (patch)
treedc19f61d30bbeb75c6f067c507c3101be4542322 /scripts/generate_vulkan_wrapper.py
parenta25449cc6b58a3aa09fcf2c2d7fd4bfa15a32602 (diff)
downloadusermoji-845f0fc359ec64f33b591aa8bf29c76c7d09f07c.tar.xz
icd: Fix OOB writes in QueuePerfCounters
vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR was blindly writing to the pCounters buffer without first checking that the pCounterCount contained enough space for the data. Now Mock ICD will return VK_INCOMPLETE if not enough space is available as well as write as many elements as there is space for.
Diffstat (limited to 'scripts/generate_vulkan_wrapper.py')
0 files changed, 0 insertions, 0 deletions