Commits on Source (74)
-
Shannon McPherson authored
Change-Id: If3c51f4d3177ad6745bfcbcf12e37860e306ece5
-
Shannon McPherson authored
Additionally, updated copyright dates and added Metal to the platform list Updated: - `scripts/common_codegen.py` - `scripts/known_good.json` Change-Id: I54718d18bff98f24b79d6d7bdf075698f7689885
-
Nuno Subtil authored
Change-Id: I73b9b2bfd5e33a9da861937510029cb71f3b2648
-
Shannon McPherson authored
In `common_codegen.py`, the Metal platform was defined without the "_EXT" suffix Change-Id: Ied604c46b55c669567517f5b2b7613d8c7f8ae64
-
Bob Ellison authored
This allows you to use any CMake generator available on your system to configure the dependent repositories, allowing you to match the same generator being used by the project build. update_deps.py: - Take a parameter to specify a CMake generator, and pass it to CMake if present - Allow the user to reduce the count of parallel make jobs that can happen at one time - remove an unnecessary semicolon
-
Mike Weiblen authored
-
Mike Weiblen authored
Change-Id: I9ea07d41a917bcd91051514d2ad98a9f0d1908fe
-
Bob Ellison authored
Matching update_deps.py from Khronos/Vulkan-Tools, Khronos/Vulkan-Loader, Khronos/Vulkan-ValidationLayers, LunarG/VulkanSamples, and LunarG/VulanTools.
-
Ricardo Garcia authored
When creating debug callbacks or messengers, each of them is added to a linked list from the terminator, with the handle provided by the ICD. When enabling some validation layers, this handle is renamed as part of the chain and the application gets a different one. In the removal process, the application usually receives one of these function pointers using vkGetInstanceProcAddr: - debug_utils_DestroyDebugReportCallbackEXT - debug_utils_DestroyDebugUtilsMessengerEXT Those trigger the chain calls but then try to remove the callback or messenger from the linked list using the application-level handle, which is not found because it doesn't match the one from the ICD. The linked list should be accessed from the destruction terminators, when the handle has already been unwrapped by the layers.
-
Lenny Komow authored
Previously, the override's layer list was treated as an authoritative list of layers. Now it uses a whilelist/blacklist so the override can enabled, disable, or leave a layer alone. Change-Id: I58db219deb2b6355c56aeb2d00187ac79ad531c2
-
Lenny Komow authored
Change-Id: Icb0ce9070b6de1102c319f267fb3eb4a82b2760e
-
Lenny Komow authored
Change-Id: Iaf91c8ea7e57663a8264efe07cf9f24ee17bc496
-
Mike Schuchardt authored
Changes: - Integrate upstream script changes: We have to plumb-through the new conventions object to continue using the makeCParamDecl utility function - Add GGP to available platforms - Add handling for extension dependencies: Previously, the codegen for loader trampolines could not handle an extension command that depends on more than one extension being present. This removes that limitation - Add checks for device extensions: This adds a check for two functions at device creation time: * VK_KHR_device_group * VK_EXT_full_screen_exclusive The loader needs to know about these extensions for proper handling of the vkGetDeviceGroupSurfacePresentModes2EXT terminator - Update known-good file Updated: - `loader/loader.c` - `loader/loader.h` - `scripts/common_codegen.py` - `scripts/dispatch_table_helper_generator.py` - `scripts/helper_file_generator.py` - `scripts/known_good.json` - `scripts/loader_extension_generator.py` - `scripts/loader_genvk.py` Change-Id: I9f0828a8eee0e8e95b479e1b8feb31acaa10040d
-
Lenny Komow authored
This change adds manual handing for new APIs which need to unwrap an ICD surface handle before calling down to the ICD. Change-Id: Id64c8021a3d36800af9a59cafe52577a4d5d69ff
-
Lenny Komow authored
This change adds manual handing for new APIs which need to unwrap an ICD surface handle before calling down to the ICD. Change-Id: Id64c8021a3d36800af9a59cafe52577a4d5d69ff
-
Nuno Subtil authored
Change-Id: If693b2234d67f90c2e62a0706bac7c4b0e424f4c
-
John Zulauf authored
DispatchTable struct now has it's own file. Updated references to the correct file.
-
Lenny Komow authored
This fixes several instances where loader_log() was being called incorrectly. It also removes a stray va_start within loader_log() Change-Id: I6e8a66f999e78367e23241fac489db5efc927719
-
Lenny Komow authored
This reverts commit f22cdac7.
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Lenny Komow authored
Change-Id: I7b98293da8a326191cd7787936f373109d60e640
-
Bryan Law-Smith authored
As VK_EXT_headless_surface is a WSI extension, supporting it requires changes to the loader. This commit makes the necessary changes, which are mostly straightforward plumbing. However, this commit also includes a minor tweak to avoid a segmentation fault when an implicitly enabled layer provides support for an instance extension.
-
Felix Dörre authored
-
Felix Dörre authored
-
Felix Dörre authored
-
Felix Dörre authored
-
Felix Dörre authored
-
Felix Dörre authored
-
Felix Dörre authored
-
Felix Dörre authored
-
Mike Weiblen authored
Change-Id: Ie05eeb1d7b880c20bd8c283b7fcc7c120d6f97eb
-
Lenny Komow authored
There was some old codegen that was used for generating validation layers when those were in the same repo as the loader. Since they're separate, we can remove the files so they only exist in the layers repo. Change-Id: Ia72f235ea0617f25258631e1003123ec3edd88d4
-
Mike Schuchardt authored
Add support for GN, Google's meta-build system for Ninja: https://gn.googlesource.com/gn/ Pull BUILD.gn and script dependencies from https://chromium.googlesource.com/angle/angle Add build_overrides for this project to enable both standalone and component builds using GN Add GN configuration to Travis CI
-
Mike Schuchardt authored
Temporarily patch abc module with ABC helper class until upstream conventions.py script stops using it.
-
Bob Ellison authored
--clean-repo right now will raise an exception if the repository directory was not present. This makes it work in all cases.
-
Mike Weiblen authored
This reverts PR 184 and its commit 124130ec. Change-Id: Ie55ef1a3a2aa1322cf960866e1bde7fa4e7b29fd
-
Shannon McPherson authored
Platform guards did not surround opening and closing curly braces in `loader_extension_generator.py` Change-Id: Ibc93b42988704e077c34bb11a1dfea79cbf59a19
-
Shannon McPherson authored
Additionally, moved platform guards to surround `GetPhysicalDeviceSurfacePresentModes2EXT` Updated: - `loader/extension_manual.c` - `scripts/known_good.json` Change-Id: I5c5eef6474915f8cb9aeaedcf95e84bb118badfb
-
Bob Ellison authored
These changes ensure that the Travis and AppVeyor builds use a known version of CMake.
-
Bob Ellison authored
After review, we decided for a slightly different install process, downloading a CMake version explicitly instead of using chocolatey. And Karl asked to be removed from the Travis notifications.
-
baldurk authored
If we reach the terminator function then we look up json properties per-layer there. This allows layers to participate in the enumeration and filter the list of extensions before they reach the application.
-
Daniel Stone authored
Wayland works totally fine, and has for a very long time. Change-Id: Ifc582fd5068ad31758005f74b290f78e0f4554cc
-
Daniel Stone authored
Change-Id: I580e818bbf603f22e8a907ca614d17b310cf7136
-
Dan Sinclair authored
This CL adds the enable_testing() cmake call and registers vk_loader_validation_tests as a test in cmake. This allows the test to be run when `ctest` is executed. Change-Id: I57fd579c7625fbf7bbd468a5716e3a68b601c1fd
-
Hernan Liatis authored
Fix small bug in instance creation when extension (VK_KHR_surface) does not exist. Layer names were traversed incorrectly. Change-Id: Icbf435550b6e03ef16003c027d30da3ce5388e93
-
Shannon McPherson authored
Change-Id: I7db7e5d53dd9ac911dac360c65397ad15bc3b079
-
Shannon McPherson authored
Change-Id: Ifcb76dd1535211d8d12941e4a65bdf0ee286f5c5
-
Ambroz Bizjak authored
This adds a new CMake option SYSCONFDIR. If SYSCONFDIR is specified then it will be used via the SYSCONFDIR define, and /etc will not be automatically added via EXTRASYSCONFDIR. If SYSCONFDIR is not specified then the old logic will be used (CMAKE_INSTALL_FULL_SYSCONFDIR added via SYSCONFDIR, and /etc, if it's not the same, added via EXTRASYSCONFDIR).
-
myfreeweb authored
e.g. FreeBSD does not use an extra library for dynamic loading, everything is in libc. CMake provides the CMAKE_DL_LIBS variable to handle this. Use it.
-
Shannon McPherson authored
Change-Id: Iea7cb6e58a2fbe48c5aa1d881dd9c528db23b6ce
-
Lenny Komow authored
Change-Id: I70658c68d06374037fd42b268b2befb30b78466b
-
Lenny Komow authored
Change-Id: Id7dd757b74ce01219d6545cd5c7b58e634bf6e71
-
Lenny Komow authored
Change-Id: I5faa4e78ec1e445122ed7d640cc296c33d8a7aa4
-
Lenny Komow authored
Change-Id: Ifb5874c200ca7561c5f6c118ad69b48b331d2348
-
Sandeep Shinde authored
Loader is exposing VK_KHR_surface_protected_capabilities instance extension support if one of the ICDs supports it. An ICD, not supporting this extension, will not know about VkSurfaceProtectedCapabilitiesKHR being passed as additional structure to VkPhysicalDeviceSurfaceInfo2KHR in vulkan API vkGetPhysicalDeviceSurfaceCapabilities2KHR(). Reset VkSurfaceProtectedCapabilitiesKHR.supportsProtected to false always before calling vkGetPhysicalDeviceSurfaceCapabilities2KHR(). If a particular ICD supports protected surfaces then it will set it true. An application will always receive either 1/0 in supportsProtected as expected. The issue got exposed through below CTS test failure on a Optimus windows system with different ICDs versions, one supporting this extension and another not supporting it. - dEQP-VK.wsi.win32.surface.query_protected_capabilities
-
Shannon McPherson authored
Change-Id: I84ba49eed31acddd66cf6719dbbbe562325d95a9
-
Mike Weiblen authored
Change-Id: Iedced8e252a1505c9cc0b1b07ba0d1012526689a
-
Petr Kraus authored
i.e. fixes missing output where it is prematurely cut after first wchar Change-Id: Ib4a9ed75cc569a3f06833430740123c8c32918af
-
Mike Schuchardt authored
-
Mike Schuchardt authored
-
Mike Schuchardt authored
-
Mike Schuchardt authored
-
Mike Schuchardt authored
-
Mike Schuchardt authored
-
Alexey Kryshen authored
Change-Id: I2a80ed83b0431be07cb6f992f4c8742a86aca294
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
.gn
0 → 100644
BUILD.gn
0 → 100644
build-gn/DEPS
0 → 100644
build-gn/secondary/build_overrides/build.gni
0 → 100644
build-gn/update_deps.sh
0 → 100755
cmake/FindWDK.cmake
0 → 100644
loader/generated/.clang-format
0 → 100644
loader/generated/vk_dispatch_table_helper.h
0 → 100644
This diff is collapsed.