From ff450810971cf99b6cd04944c314c26e66930997 Mon Sep 17 00:00:00 2001 From: spencer-lunarg Date: Sun, 29 Oct 2023 16:24:28 +0900 Subject: icd: Add vkGetMemoryHostPointerPropertiesEXT support --- scripts/mock_icd_generator.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py index a2d1db5f..499669f8 100644 --- a/scripts/mock_icd_generator.py +++ b/scripts/mock_icd_generator.py @@ -1060,6 +1060,10 @@ CUSTOM_C_INTERCEPTS = { *pFd = 1; return VK_SUCCESS; ''', +'vkGetMemoryHostPointerPropertiesEXT': ''' + pMemoryHostPointerProperties->memoryTypeBits = 1 << 5; // DEVICE_LOCAL only type + return VK_SUCCESS; +''', 'vkGetAndroidHardwareBufferPropertiesANDROID': ''' pProperties->allocationSize = 65536; pProperties->memoryTypeBits = 1 << 5; // DEVICE_LOCAL only type -- cgit v1.2.3