diff options
| author | spencer-lunarg <spencer@lunarg.com> | 2023-10-27 16:16:30 +0900 |
|---|---|---|
| committer | Spencer Fricke <115671160+spencer-lunarg@users.noreply.github.com> | 2023-10-27 16:35:13 +0900 |
| commit | b7ce1695084d772d973f2f8146951cc48c57ff4a (patch) | |
| tree | ae68b2a7593b004177ed14e7c7de7b78e192c8c3 /scripts | |
| parent | f2a8aff068a9fb7faaa51afb29a4fac26a717a80 (diff) | |
| download | usermoji-b7ce1695084d772d973f2f8146951cc48c57ff4a.tar.xz | |
icd: Add vkGetMemoryFdKHR support
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mock_icd_generator.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py index bb87af35..a2d1db5f 100644 --- a/scripts/mock_icd_generator.py +++ b/scripts/mock_icd_generator.py @@ -1056,6 +1056,10 @@ CUSTOM_C_INTERCEPTS = { pGranularity->width = 1; pGranularity->height = 1; ''', +'vkGetMemoryFdKHR': ''' + *pFd = 1; + return VK_SUCCESS; +''', 'vkGetAndroidHardwareBufferPropertiesANDROID': ''' pProperties->allocationSize = 65536; pProperties->memoryTypeBits = 1 << 5; // DEVICE_LOCAL only type |
