aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYiwei Zhang <zzyiwei@google.com>2018-02-14 14:39:46 -0800
committerMike Schuchardt <mikes@lunarg.com>2018-03-09 13:54:31 -0700
commit0dd40a6100a0be62a504a67f4426b7a0d304ed5b (patch)
tree8afce397522afe5591470d66f907c3d0014396dc /scripts
parent134d0aff002e637a1c423f5e1db0caa229ae83a1 (diff)
downloadusermoji-0dd40a6100a0be62a504a67f4426b7a0d304ed5b.tar.xz
layers: add GetDeviceQueue2() support
This change add GetDeviceQueue2() support to object tracker and core validation layers.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mock_icd_generator.py4
-rw-r--r--scripts/object_tracker_generator.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py
index 43771e9b..eef6e45c 100644
--- a/scripts/mock_icd_generator.py
+++ b/scripts/mock_icd_generator.py
@@ -477,6 +477,10 @@ CUSTOM_C_INTERCEPTS = {
// TODO: If emulating specific device caps, will need to add intelligence here
return;
''',
+'vkGetDeviceQueue2': '''
+ GetDeviceQueue(device, pQueueInfo->queueFamilyIndex, pQueueInfo->queueIndex, pQueue);
+ // TODO: Add further support for GetDeviceQueue2 features
+''',
'vkEnumerateInstanceLayerProperties': '''
return VK_SUCCESS;
''',
diff --git a/scripts/object_tracker_generator.py b/scripts/object_tracker_generator.py
index 0d922051..e5475ec7 100644
--- a/scripts/object_tracker_generator.py
+++ b/scripts/object_tracker_generator.py
@@ -170,6 +170,7 @@ class ObjectTrackerOutputGenerator(OutputGenerator):
'vkNegotiateLoaderLayerInterfaceVersion',
'vkCreateComputePipelines',
'vkGetDeviceQueue',
+ 'vkGetDeviceQueue2',
'vkGetSwapchainImagesKHR',
'vkCreateDescriptorSetLayout',
'vkCreateDebugUtilsMessengerEXT',