OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2016 Google Inc. | 3 * Copyright 2016 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "VulkanTestContext_win.h" | 9 #include "VulkanTestContext_win.h" |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 getPhysicalDeviceWin32PresentationS
upportKHR = nullptr; | 49 getPhysicalDeviceWin32PresentationS
upportKHR = nullptr; |
50 if (!getPhysicalDeviceWin32PresentationSupportKHR) { | 50 if (!getPhysicalDeviceWin32PresentationSupportKHR) { |
51 getPhysicalDeviceWin32PresentationSupportKHR = | 51 getPhysicalDeviceWin32PresentationSupportKHR = |
52 (PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) vkGetInstancePr
ocAddr(instance, | 52 (PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) vkGetInstancePr
ocAddr(instance, |
53 "vkGetPhysicalDeviceWin32Prese
ntationSupportKHR"); | 53 "vkGetPhysicalDeviceWin32Prese
ntationSupportKHR"); |
54 } | 54 } |
55 | 55 |
56 VkBool32 check = getPhysicalDeviceWin32PresentationSupportKHR(physDev, queue
FamilyIndex); | 56 VkBool32 check = getPhysicalDeviceWin32PresentationSupportKHR(physDev, queue
FamilyIndex); |
57 return (VK_FALSE != check); | 57 return (VK_FALSE != check); |
58 } | 58 } |
OLD | NEW |