Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/Vulkan-Loader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-16build: Update to header 1.3.231sdk-1.3.231.1sdk-1.3.231.0stabilized_release_2022_10sdk-1.3.231Mike Schuchardt
- Update known-good - Generate source
2022-10-16build: Update to header 1.3.230Mike Schuchardt
- Update known-good - Generate source
2022-10-16build: Update to header 1.3.229Mike Schuchardt
- Update known-good - Generate source
2022-09-15build: Update to header 1.3.228v1.3.228tmp-1.3.230Mike Schuchardt
- Update known-good - Generate source
2022-09-15Make old layer with new app API version warning clearerCharles Giessen
The previous message incorrectly labled all layes as Explicit layers and didn't indicate what the 'warning' was about very well.
2022-09-08Allow implicit layers for all API versionsCharles Giessen
This change makes the loader conform to the latests specification update, 1.3.227, which removes the requirement that implicit layers API version is at least as high as the application provided API version. This change reduces friction for layer developers and API users.
2022-09-08build: Update to header 1.3.227v1.3.227Mike Schuchardt
- Update known-good - Generate source
2022-09-07build: Also include XCB header pathBrad Smith
2022-09-06fix typo in CMakeListsSteve Lhomme
2022-09-06Fix the pkg-config import library name with mingw-w64Steve Lhomme
The common name for import libraries in mingw-w64 ends with .dll.a so we need to use it so the pkg-config file ends up use -lvulkan-1.dll.
2022-09-06Generate the same DLL name with mingw-w64 as with MSVCSteve Lhomme
It should be the same name so mingw-w64 toolchains can generate/use the same DLLs as the MSVC toolchains. The DLL and import libraries are compatible both ways. Fixes #997
2022-09-03loader: Only use alloca.h if it exists otherwise fallback to stdlib.hBrad Smith
Check for the existence of the alloca.h header and only use it it exists, otherwise fallback to stdlib.h. Some OS's like macOS and QNX have both headers and can use either (stdlib.h includes alloca.h), some OS's like OpenBSD / FreeBSD / NetBSD do not have the alloca.h header and require the stdlib.h header.
2022-09-02loader: Fix CMake detection of OpenBSD/FreeBSD / amd64Brad Smith
2022-09-01Remove unneeded exports in test_wrap_layersCharles Giessen
Some functions in the wrapping test layer exported functions that are not necessary. This caused some warnings in builds. Removing them fixes the warnings.
2022-09-01Refactor loader_icd_scan()Charles Giessen
Put all of the parsing for ICD Manifest data into a separate function. This cleans it up by not requiring manual tracking of allocated resources while parsing, and allow much saner 'skipping' of incorrect ICD's. This commit also addresses an issue where OOM during ICD parsing wasn't immediately ending parsing and returning.
2022-09-01Remove redundant checks for NULLCharles Giessen
Calling free() doesn't require checking for NULL, but many places were checking for NULL before calling the appropriate freeing function.
2022-09-01appmodel.h is not yet available on mingw stablexantares
https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/CALK-3mLynzo8%3D9tOoGjwUUWTCtG_MHb5L1Pzd_GCQ%2B8pR637MQ%40mail.gmail.com/#msg37677890
2022-09-01Refactor unknown function testsCharles Giessen
Allow multiple layers to intercept an unknown function and then create a single test which tests many common combinations.
2022-09-01Enable layer interception of unknown functionsCharles Giessen
Re-add previously reverted behavior that allows layers to setup dispatch chains for unknown physical device and device functions during vkCreateInstance. Previously, functions not known to the loader could not be queried by a layer during vkCreateInstance (when dispatch tables should be setup). The change adds support for unknown functions in the trampolines of vkGetInstanceProcAddr and vkGetPhysicalDeviceProcAddr. Unknown Device functions not listed in a layers manifest will now be found through vkGetInstanceProcAddr, which was previously not used.
2022-09-01Rename GIPA, GPDPA, & GDPA terminatorsCharles Giessen
Use more correct terminology for the various terminators of the get proc addr functions. This makes it more obvious when each function is being called, as well as removing the unecessary loader_gpdpa_instance_internal.
2022-09-01tests: Further fixes to be able to build on OpenBSDBrad Smith
2022-09-01build: Update to header 1.3.226v1.3.226Mike Schuchardt
- Update known-good - Generate source
2022-08-31loader: Add stub function for OpenBSD executable pathBrad Smith
2022-08-31Dont pass portability bit to ICDs that dont expect itCharles Giessen
There was a small issue with the initial version of the portability enumeration extension where the portability enumeration flag bit would be passed down to ICDs which did not expect flags to contain anything other than zero. While an argument could be made for those drivers to ignore flags they do not recognize, just like extensions and other 'unknown' things, it is best to play nice as this is the first instance creation flag bit added.
2022-08-31loader: Add OpenBSD supportBrad Smith
2022-08-18build: Update to header 1.3.225v1.3.225Mike Schuchardt
- Update known-good - Generate source
2022-08-15Separate Major.minor version checks from Full version checksCharles Giessen
loader_make_Version previously would decode the major, minor, and patch info out of version data. This results in erroneous version checks that took into account patch version when they shouldn't of. The loader_make_full_version function is introduced for code that wishes to get the full major.minor.patch version and uses of loader_make_version that need the full version have been replaced.
2022-08-04build: Update to header 1.3.224v1.3.224Mike Schuchardt
- Update known-good - Generate source
2022-07-30Use memmove for copying pApplicationInfoCharles Giessen
Replace memcpy with memmove in terminator_CreateInstance to prevent possible issues with the same memory being the source of the copy and the dest, as there is a for loop which makes it possible for that to happen.
2022-07-28build: Update to header 1.3.223v1.3.223Mike Schuchardt
- Update known-good - Generate source
2022-07-21build: Update to header 1.3.222v1.3.222Mike Schuchardt
- Update known-good - Generate source
2022-07-15Fix typo in setting linux environment variablesPan
Replace `;` with `:` in setting linux environment variables.
2022-07-14build: Update to header 1.3.221v1.3.221Mike Schuchardt
- Update known-good - Generate source
2022-07-11loader: Dynamically load Win8+ functionsMike Schuchardt
Allow loader to run on Windows 7 by dynamically loading function pointers for Windows 8 and above APIs.
2022-07-08Disable VulkanOn12/Dozen in Windows 7Charles Giessen
Chromium still supports building for Win7, as such the newly added support for VulkanOn12/Dozen needs to be excluded from said build. This is achieved by using the SDK version macros defined in <sdkddkver>
2022-07-08Fix corrupted pNext chain in vkCreateDeviceCharles Giessen
When creating a device, the loader looks for the VkDeviceGroupCreateInfo structure and replaces it with its own. This allows the loader to edit the struct. However, to do this required editing the pNext chain. Because the edited chain contained pointers to structures whose lifetimes end when the vkCreateDevice function returns, the pNext chain is now corrupted. This commit fixes that by storing a pointer to the user's VkDeviceGroupCreateInfo and fixing up the pNext chain to use that instead.
2022-07-07Initialize properly when statically linkedCharles Giessen
Previously, the loader supported static linking. This capability was restricted to MacOS only, however the necessary functionality was never implemented. This commit adds the required code to properly initialize the loader when statically linked with MacOS Since the test framework was designed to dynamically load everything, it would require significant rearchitecting to support it. As such, a simple verification executable was added to the live_verification folder, instead of full support in the test framework.
2022-07-07Refactor vk_loader_platform.hCharles Giessen
Move includes of vulkan headers into loader_common.h, delete dead code and unnecessary macro defines, and generally clean up the header.
2022-07-07build: Update to header 1.3.220v1.3.220Mike Schuchardt
- Update known-good - Generate source
2022-07-05Enable the Vulkan loader to load VulkanOn12/Dozen out of the ↵Jesse Natalie
D3DMappingLayers app package
2022-07-01Make tests get files in a consistent orderCharles Giessen
Use the order defined the FolderManager's to define the order readdir uses, rather than leaving it undetermined. This makes tests more consistent by forcing layers and drivers to always be found in the same order on all systems. Note: MacOS doesn't currently have consistent ordering due to a crash with ASAN. But even if ASAN isn't running, the dirent structure is being filled out incorrectly, causing further test failures. While not ideal to disable consistent ordering on MacOS, it is needed for linux and thus the issue isn't high enough priority to resolve.
2022-06-30build: Update to header 1.3.219v1.3.219Mike Schuchardt
- Update known-good - Generate source
2022-06-30Fix BUILD.gnYuly Novikov
Add newly added file stack_allocation.h Fixes #846
2022-06-24loader: device array dealloc fixMarcin Kańtoch
2022-06-24loader: Add unicode supportAndrew Naumov
2022-06-22Add 32 & 64 bit field to json manifestsCharles Giessen
Allows drivers and layers to specify if they are 32 bit or 64 bit in the manifest file. This makes the loader able to prune manifests without loading the library and finding that it failed to load.
2022-06-22Fix use-after-free in loader_add_layer_propertiesCharles Giessen
Occurs after file_vers is freed and when the layer manifest has a layers field but has a version of 1.0.0.
2022-06-22only descend into layer GPDPA from trampolineBrad Grantham
2022-06-20Prevent loader config from overriding project configGraeme Leese
The loader options dummy targets were being linked into the public interface of the loader, meaning that they were also set in projects the include the loader as a sub-project. These override the containing projects settings and can break things. There don't seem to be any interface requirements in these settings, so include them as PRIVATE, so that they stay local to the loader.
2022-06-16build: Update to header 1.3.218v1.3.218Mike Schuchardt
- Update known-good - Generate source - Add missing enums to test framework