diff options
| author | Shannon McPherson <shannon@lunarg.com> | 2020-07-06 11:29:34 -0600 |
|---|---|---|
| committer | Shannon McPherson <shannon@lunarg.com> | 2020-07-06 11:46:01 -0600 |
| commit | 68bfbc2194972f4b4ccd6073758bfa5ece522f67 (patch) | |
| tree | fb26cce8b70b3314613374d89921840b34aca56c /icd/generated/mock_icd.cpp | |
| parent | abc9dff824c3f612a53e4fd3c484579fa80d27a5 (diff) | |
| download | usermoji-68bfbc2194972f4b4ccd6073758bfa5ece522f67.tar.xz | |
build: Update known-good files for 1.2.146 header
Changes:
- Updated `known_good.json`
- Added directfb to platform dictionary in `common_codegen.py`
- Generated new source files
Change-Id: I8dcc87d22036b2df068da0c5220a5e1158bbe07c
Diffstat (limited to 'icd/generated/mock_icd.cpp')
| -rw-r--r-- | icd/generated/mock_icd.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/icd/generated/mock_icd.cpp b/icd/generated/mock_icd.cpp index d35c6c78..d2bcfb5c 100644 --- a/icd/generated/mock_icd.cpp +++ b/icd/generated/mock_icd.cpp @@ -4640,6 +4640,30 @@ static VKAPI_ATTR void VKAPI_CALL GetPrivateDataEXT( + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + +static VKAPI_ATTR VkResult VKAPI_CALL CreateDirectFBSurfaceEXT( + VkInstance instance, + const VkDirectFBSurfaceCreateInfoEXT* pCreateInfo, + const VkAllocationCallbacks* pAllocator, + VkSurfaceKHR* pSurface) +{ + unique_lock_t lock(global_lock); + *pSurface = (VkSurfaceKHR)global_unique_handle++; + return VK_SUCCESS; +} + +static VKAPI_ATTR VkBool32 VKAPI_CALL GetPhysicalDeviceDirectFBPresentationSupportEXT( + VkPhysicalDevice physicalDevice, + uint32_t queueFamilyIndex, + IDirectFB* dfb) +{ +//Not a CREATE or DESTROY function + return VK_SUCCESS; +} +#endif /* VK_USE_PLATFORM_DIRECTFB_EXT */ + #ifdef VK_ENABLE_BETA_EXTENSIONS static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR( |
