#20451 closed enhancement (fixed)
Vulkan-Headers 1.3.296 Vulkan-Loader-1.3.296
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.3 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New point version.
Change History (3)
comment:1 by , 6 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 6 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 6 months ago
Release notes for vulkan-headers:
Update for Vulkan-Docs 1.3.296
Release notes for vulkan-loader:
build(deps): bump github/codeql-action from 3.26.5 to 3.26.6 Document layer requirements for querying vkCreateInstance from GIPA The vkGetInstanceProcAddr function was ammended in header version 1.2.193 to require global functions be queried with NULL instance parameters, including vkCreateInstance. Layers written before that time may not expect the instance parameter to be NULL, so in order to maintain compatibility, the loader code (which itself dates to before Vulkan's public release) is left unmodified. Instead, code comments were left to indicate the non-spec compliant implementation as well as documentation in the LoaderLayerInterface mentioning how layers should handle the now invalid API usage. In the future, the loader could be modified to correctly follow the spec, but a survey of existing and previous layer implementations would need to be done to determine the impact of the change. Remove unused VkIcdSurface struct members All of the VkIcdSurface<API> members, as well as the *_size & offset members are unused by the codebase. And drivers do not have access to this struct, as it is internal to the loader - no common definition exists elsewhere for drivers to use either. Stop reading json files twice Split out the JSON file opening and reading logic into a Windows and Posix function to allow only reading the contents of a file once. Only add include paths for xcb, x11, & directfb instead of linking Previously, the loader linked to various windowing libraries but never made any calls into them. These can safely be removed, as including the libraries locations in the header search paths is sufficient. Because vulkan_core.h includes directfb.h without a path, it is necessary to add the search path found from pkg-config as well as the same path with `/directfb` appended to get vulkan_core.h to be able to find the header. This may be a bug in the vulkan_core.h or just an inconsistency with the way directfb is packaged on ubuntu 24, the system the change was developed on. Add missing [[maybe_unused]] attributes in test_icd.cpp Fixup note for VK_DRIVER_FILES env-var The original text was caused by a mistake during rebase which wasn't caught. This commit take the original non-mistake text and cleans that up further. Add VK_IMPLICIT_LAYER_APTH & VK_ADD_IMPLICIT_LAYER_PATH env-vars Add the environment variables VK_IMPLICIT_LAYER_PATH and VK_ADD_IMPLICIT_LAYER_PATH to control implicit layer path searching, mirroring the existing explicit layer only VK_LAYER_PATH and VK_ADD_LAYER_PATH. This fixes a gap in environment variable controls over the behavior of the loader. Documentation fixes Small cleanup of regression tests build(deps): bump github/codeql-action from 3.26.6 to 3.26.7 Define _FILE_OFFSET_BITS=64 for 32 bit linux builds Certain file systems (such as bcachefs) use 64 bit inodes, which glibc truncates to 32 bits by default. This causes EOVERFLOW to be returned from readdir, causing not all files to be read from a directory. The fix is to use the 64 bit versions of file system access functions, by defining _FILE_OFFSET_BITS=64 in 32 bit builds. Because this issue does not affect 64 bit builds, it is only applied to 32 bit builds. The test framework required explicitly referencing readdir64, the Large File Support version of readdir found in glibc due to the function interposition that the test framework does. Additionally, readdir now will check errno after being called and report the error code if it is non-zero, reporting any other issues encountered to the user through the error stream. This doesn't apply to Windows due to implementing readdir ontop of _findnext, which behaves differently. Fix Windows build warning about mismatching library and def file names build(deps): bump github/codeql-action from 3.26.7 to 3.26.8 Only initialize mutexes during DllMain Defer all other loader initialization on Windows to after the call to DllMain by using InitOnceExecuteOnce, mirroring the initialization needed for statically linked MacOS. This commit makes the loader follow Dynamic-Link Library Best Practices as defined by Microsoft from the following article: https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices Fix windows_read_sorted_physical_devices buffer overrun Add tests fo windows read sorted adapters buffer overrun Exercises the situation where there are enough adapters per physical gpu to cause resizing of the buffer which stores them. build: Update to header 1.3.296
Note:
See TracTickets
for help on using tickets.
Fixed at commits