icd: Add vkGetRenderAreaGranularity
Add implementation for vkGetRenderAreaGranularity.
diff --git a/icd/generated/mock_icd.cpp b/icd/generated/mock_icd.cpp
index 7d1a90f..0f533c4 100644
--- a/icd/generated/mock_icd.cpp
+++ b/icd/generated/mock_icd.cpp
@@ -1279,7 +1279,8 @@
VkRenderPass renderPass,
VkExtent2D* pGranularity)
{
-//Not a CREATE or DESTROY function
+ pGranularity->width = 1;
+ pGranularity->height = 1;
}
static VKAPI_ATTR VkResult VKAPI_CALL CreateCommandPool(
diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py
index c91c470..c6c53ba 100644
--- a/scripts/mock_icd_generator.py
+++ b/scripts/mock_icd_generator.py
@@ -1390,6 +1390,10 @@
'vkGetDescriptorSetLayoutSupportKHR':'''
GetDescriptorSetLayoutSupport(device, pCreateInfo, pSupport);
''',
+'vkGetRenderAreaGranularity': '''
+ pGranularity->width = 1;
+ pGranularity->height = 1;
+''',
}
# MockICDGeneratorOptions - subclass of GeneratorOptions.