aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorscottmarsland <scottmarsland@users.noreply.github.com>2023-06-01 08:30:44 +0100
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2023-06-15 12:07:16 -0600
commit17edcc1455855055b8aa5b898aca86f94d35d9d5 (patch)
tree9c3c555124ee997402d533e48d8a250cb5b2d947 /scripts
parent885c3c6f06ec472edeac8eed5d57aa9b453ae2eb (diff)
downloadusermoji-17edcc1455855055b8aa5b898aca86f94d35d9d5.tar.xz
icd: Add vkGetRenderAreaGranularity
Add implementation for vkGetRenderAreaGranularity.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mock_icd_generator.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py
index c91c4704..c6c53ba5 100644
--- a/scripts/mock_icd_generator.py
+++ b/scripts/mock_icd_generator.py
@@ -1390,6 +1390,10 @@ CUSTOM_C_INTERCEPTS = {
'vkGetDescriptorSetLayoutSupportKHR':'''
GetDescriptorSetLayoutSupport(device, pCreateInfo, pSupport);
''',
+'vkGetRenderAreaGranularity': '''
+ pGranularity->width = 1;
+ pGranularity->height = 1;
+''',
}
# MockICDGeneratorOptions - subclass of GeneratorOptions.