aboutsummaryrefslogtreecommitdiff
path: root/icd/generated/mock_icd.cpp
diff options
context:
space:
mode:
authorShannon McPherson <shannon@lunarg.com>2021-03-02 15:45:13 -0700
committerShannon McPherson <shannon@lunarg.com>2021-03-02 15:48:46 -0700
commit461b33cfa2726ed65fdf3308d0303ae18a879c49 (patch)
tree741cf6f3a3bcc775c82ba5c6d8533c14626b4195 /icd/generated/mock_icd.cpp
parent15c461698e9a8ee43fcd097aa263e4d8c410785b (diff)
downloadusermoji-461b33cfa2726ed65fdf3308d0303ae18a879c49.tar.xz
build: Update known-good files for 1.2.171 header
Changes: - Updated `known_good.json` - Generated new source files Change-Id: Id1d05f65733d366d729b7f9016a3613e7a795ec9
Diffstat (limited to 'icd/generated/mock_icd.cpp')
-rw-r--r--icd/generated/mock_icd.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/icd/generated/mock_icd.cpp b/icd/generated/mock_icd.cpp
index f644318c..6ab75838 100644
--- a/icd/generated/mock_icd.cpp
+++ b/icd/generated/mock_icd.cpp
@@ -4805,6 +4805,29 @@ static VKAPI_ATTR VkBool32 VKAPI_CALL GetPhysicalDeviceDirectFBPresentationSuppo
#endif /* VK_USE_PLATFORM_DIRECTFB_EXT */
+#ifdef VK_USE_PLATFORM_SCREEN_QNX
+
+static VKAPI_ATTR VkResult VKAPI_CALL CreateScreenSurfaceQNX(
+ VkInstance instance,
+ const VkScreenSurfaceCreateInfoQNX* 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 GetPhysicalDeviceScreenPresentationSupportQNX(
+ VkPhysicalDevice physicalDevice,
+ uint32_t queueFamilyIndex,
+ struct _screen_window* window)
+{
+//Not a CREATE or DESTROY function
+ return VK_SUCCESS;
+}
+#endif /* VK_USE_PLATFORM_SCREEN_QNX */
+
static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR(
VkDevice device,