Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / vulkan / vulkan-loader
Commits: 59599348 by Jan Palus at 2022-11-28T12:23:57-06:00 cmake: fix pkgconfig file for absolute install paths Fixes #1076 - - - - - 76529312 by Charles Giessen at 2022-11-28T17:29:17-06:00 Use integrity_level >= HIGH for is_high_integrity Previously it used integrity_level > MEDIUM, which causes issues since occasionally windows elevates certain regular user mode processes to be MEDIUM + 0x100 or similar, causing the `is_high_integrity()` to return true even though it isn't an admin level process. - - - - - 3c25bbc5 by John Bauman at 2022-11-29T18:19:47-06:00 loader: Mark unknown_ext_chain symbols as hidden These don't need to be exported from the shared library, as they're just internal implementation details. Closes #1079 - - - - - 5035e37b by Mike Schuchardt at 2022-12-01T10:59:41-08:00 build: Update to header 1.3.236 - Update known-good - Generate source - - - - - c7baf261 by ziga-lunarg at 2022-12-02T12:10:15-06:00 loader: Fix parsing VK_INSTANCE_LAYERS - - - - - 35e7a9c9 by phish3y at 2022-12-02T12:10:52-06:00 Layers: update documentation to make it clear the VK_LAYER_PATH supports both explicit directories and files - - - - - bbcafdc4 by phish3y at 2022-12-02T12:10:52-06:00 Layers: add test to verify VK_LAYER_PATH supports explicit file paths instead of just directories - - - - - e99f20d5 by phish3y at 2022-12-02T12:10:52-06:00 Layers: add tests to verify VK_LAYER_PATH works with full file paths - - - - - e70b648d by phish3y at 2022-12-02T12:10:52-06:00 Layers: modify TestLayerDetails so either files or directories can be set on VK_LAYER_PATH env var - - - - - 6c21d914 by phish3y at 2022-12-02T12:10:52-06:00 Layers: update log message and documentation so it is clear that VK_LAYER_PATH does not only search directories - - - - - 92bbe8e0 by phish3y at 2022-12-02T12:10:52-06:00 Layers: expand tests to check layer names loaded are expected - - - - - 82d4232f by Charles Giessen at 2022-12-02T17:06:18-06:00 Document interaction of layer env-vars for linux > If `VK_LAYER_PATH` is present, then `VK_ADD_LAYER_PATH` will not be used by the loader and any values will be ignored. This was present for the Windows documentation but not for linux and company. - - - - - b4375858 by Mike Schuchardt at 2022-12-08T10:18:36-08:00 build: Update to header 1.3.237 - Update known-good - Generate source - - - - - 96488e2b by Richard S. Wright Jr at 2022-12-12T12:34:24-07:00 Fix for Apple compiler bug - - - - - bf28c824 by Mike Schuchardt at 2022-12-19T16:13:38-08:00 build: Update to header 1.3.238 - Update known-good - Generate source - - - - - 7ed703ea by Juan Ramos at 2022-12-27T14:50:31-07:00 cmake: Use VulkanHeaders_VERSION Removes need for a bit of python code / parsing. And it's consistent with VVL's approach. - - - - - 431f1af9 by Charles Giessen at 2022-12-28T09:20:41-07:00 Revert asm_offset CMake code to work with 3.10 The revertion of gen_defines.asm generation during cross compilation changed the form of add_custom_command used, which inadvertently relied on CMake 3.16 support. >From the CMake Docs: DEPENDS: ... A target-level dependency is added if any dependency is a byproduct of a target or any of its build events in the same directory to ensure the byproducts will be available before this target is built. - - - - - a68ebff2 by Charles Giessen at 2023-01-09T12:04:34-07:00 Fix allocation callback test to start at 0 While working on the code, it is common to start the allocation tests at a fail_index greater than zero, usually close to when the issue starts. This was accidentally checked in, this commit fixes that mistake. - - - - - 15b02f97 by Charles Giessen at 2023-01-09T12:04:34-07:00 Add Vulkan-Headers version to source The version of the Vulkan-Headers used to generate the source code is what should be used to set the version of the binary, rather than the version of the Vulkan-Headers that is currently available. This commit checks that version into the repo so that it is used, and adds the necessary python code to update it. This behavior was previously in the repo but was broken by the update to use the version parsing logic from the Vulkan-Headers. - - - - - 12c169db by Charles Giessen at 2023-01-09T16:25:53-07:00 Fix Bundled drivers on MacOS taking precedence Previous commits broke the behavior of only using bundled drivers if found, this commit fixes the condition to make sure the bundled drivers are used while no other drivers are loaded. - - - - - 52ffa761 by Charles Giessen at 2023-01-09T16:25:53-07:00 Add macOS bundles support to test framework Allow basic tests to be written which exercise the bundle discovery and loading logic in the loader. This allows testing whether drivers found in bundles disables searching for drivers on the rest of the system. This commit also inclues fixes for a half dozen non essential spelling mistakes. - - - - - b0ab61b4 by Charles Giessen at 2023-01-09T16:25:53-07:00 Document behavior change in how bundles drivers are used Document that a bundled driver on macOS will cause the loader to ignore drivers in system installed locations. - - - - - 4e1777a8 by Juan Ramos at 2023-01-10T10:54:31-07:00 cmake: Fix usage of Vulkan::Registry Vulkan::Registry was deprecated by Vulkan-Headers Use 'VULKAN_HEADERS_REGISTRY_DIRECTORY' instead. closes #1106 - - - - - 2b1fce94 by B Marques at 2023-01-12T12:39:35-07:00 Added target condition to vulkan headers - - - - - 366966e8 by Charles Giessen at 2023-01-13T11:14:13-07:00 Try to catch OOM errors when loading binaries If there is an error loading a dynamic library, check to see if it is the result of an OOM condition. Then return the appropriate OOM error code up the callchain. This commit is the result of an OOM condition when trying to load the validation layers, which resulted in the return code VK_ERROR_LAYER_NOT_PRESENT. This is very misleading. If the loader can catch then report more accurate information, then it should. - - - - - 57ed0d5a by Charles Giessen at 2023-01-15T22:45:14-07:00 Add guard for GetPhysDevProcAddr typedef vk_layer_dispatch_table.h may be included after vk_icd.h and may cause multiple definitions. This commit adds a macro guard on whether the type is defined just in case. - - - - - ed3235fa by Juan Ramos at 2023-01-16T14:10:00-07:00 ci: Test CMake minimum - - - - - db10d286 by Juan Ramos at 2023-01-16T15:42:04-07:00 build: Remove VS2015 support - - - - - c899af13 by Mike Schuchardt at 2023-01-23T09:31:16-07:00 build: Update to header 1.3.239 - Update known-good - Generate source - - - - - fa421a02 by Charles Giessen at 2023-01-25T16:33:51-07:00 Fix copyright in windows .rc file This commit makes the copyright date to be taken from the day of the build instead of it being hardcoded, which is liable to be out of date. This commit also makes the loader.rc be generated into the build directory rather than the source tree. Because this commit modifies the version info to include the current header version for debug builds, this prevents needing to update the file whenever the headers update. - - - - - 30 changed files: - .github/workflows/build.yml - CMakeLists.txt - + cmake/generated_header_version.cmake - docs/LoaderApplicationInterface.md - docs/LoaderDebugging.md - docs/LoaderDriverInterface.md - docs/LoaderInterfaceArchitecture.md - docs/LoaderLayerInterface.md - loader/CMakeLists.txt - − loader/generated/loader_generated_header_version.cmake - loader/generated/vk_dispatch_table_helper.h - loader/generated/vk_layer_dispatch_table.h - loader/generated/vk_loader_extensions.c - loader/generated/vk_loader_extensions.h - loader/loader.c - − loader/loader.rc - loader/loader.rc.in - loader/loader_common.h - loader/loader_environment.c - loader/trampoline.c - loader/unknown_ext_chain_gas_aarch64.S - loader/unknown_ext_chain_gas_x86.S - loader/vulkan.pc.in - scripts/generate_source.py - scripts/known_good.json - scripts/loader_extension_generator.py - scripts/loader_genvk.py - − scripts/loader_versioning_generator.py - tests/framework/shim/CMakeLists.txt - tests/framework/shim/shim.h The diff was not included because it is too large. View it on GitLab: https://salsa.debian.org/xorg-team/vulkan/vulkan-loader/-/compare/1ee83a25c2c20e2efbfc0ac976c7a3ddb5fc291c...fa421a02686e7f01c8e4af24650fa04374df8338 -- View it on GitLab: https://salsa.debian.org/xorg-team/vulkan/vulkan-loader/-/compare/1ee83a25c2c20e2efbfc0ac976c7a3ddb5fc291c...fa421a02686e7f01c8e4af24650fa04374df8338 You're receiving this email because of your account on salsa.debian.org.

