Timo Aaltonen pushed to branch debian-unstable at X Strike Force / vulkan / 
vulkan-loader


Commits:
a0997027 by dan sinclair at 2020-06-09T16:24:23-06:00
scripts: Use named params for generator options

When calling in the vulkan header python generator the options have
changed in 1.2.142 which causes the options passed by the loader to be
off by one. This ends up setting the emitExtensions to the value of the
sortProcedure and eventually causes the script to fail.

This CL updates the loader to used named parameters for the generator so
that the addition of the genpath does not throw off the parameter
positioning.

Change-Id: I14fda7e90be985216c5243457a22fdcb01b5c82b

- - - - -
24a17f5f by Lenny Komow at 2020-06-11T10:21:24-06:00
loader: Fix crash in vkGetDeviceQueue2

This function allows an driver to return a null handle. A previous
change caused that to crash.

Change-Id: Ic2e375b1959bb5a16a6c4854715521e4d392a616

- - - - -
7942c083 by Charles Giessen at 2020-06-18T14:35:49-06:00
loader: Use MoltenVK in app bundle if found

The loader now loads the first ICD in an app bundle if one exists.
This is to prevent multiple copies of MoltenVK being loaded.

Change-Id: I1e4b8e854e5d709c6e229c9591f4a8856e3b2b41

- - - - -
7e8789fe by Jan Beich at 2020-06-19T09:46:56-06:00
build: include system headers last

- - - - -
a173c025 by Shannon McPherson at 2020-06-22T11:08:36-06:00
build: Update known-good files for 1.2.145 header

Changes:
- Updated `known_good.json`
- Propagated `loader_genvk.py` changes
- Modified scripts to accommodate new genvk functionality
- Generated new source files

Change-Id: If54251171bb3c70cef305d1e954aa02124432106

- - - - -
5f1a4dcf by Charles Giessen at 2020-07-06T10:54:25-06:00
loader: fix TSAN warning

The trampoline vkEnumerateDeviceExtensionProperties locked/unlocked the
loader mutex, but the terminator function also unlocked, causeing a double
free. Removing the locking in the terminator fixes the problem.

Change-Id: I714b243f3410a7fdc371b740def5ab962ae74a6f

- - - - -
5ef4c0fe by Charles Giessen at 2020-07-06T11:07:50-06:00
loader: fix wrongly returned error code

vkEnumerateInstanceExtensionProperties was returning INITIALIZATION_FAILED
when a single malformed manifest file was found. This was due to the way
loader_scan_icd only returns an error if no valid ICD's were found.

Change-Id: I84b39774b766d20d607c990bddc921b1c2a4297a

- - - - -
f43832a3 by Sylvain Defresne at 2020-07-06T11:51:17-06:00
Convert GN libs lists to frameworks

GN recently added support for Apple frameworks to link, rather than
overloading the libs lists. This pulls .frameworks out of the libs
lists, so that GN can stop supporting .frameworks in libs in the
future.

Bug: chromium:1052560

- - - - -
4c6019a8 by Alexander Batashev at 2020-07-06T17:02:12-06:00
loader: Fix symbol lookup order

Some Vulkan implementations may rely on external libraries.
One example is mesa driver, that uses libLLVM.so. If user
application also links with LLVM, some clashes may take place.
This patch ensures that library's own symbols are looked up
before any other symbols in current process.

- - - - -
fa696ca0 by Nicolas Caramelli at 2020-07-07T10:33:54-06:00
loader: Add support for directfb surface extension

The new VK_EXT_directfb_surface extension is a WSI extension and
thereforce needs loader support like the other surface extensions.

- - - - -
921ca6d9 by Shannon McPherson at 2020-07-07T11:45:02-06:00
build: Update known-good files for 1.2.146 header

Changes:
- Updated `known_good.json`
- Generated new source files

Change-Id: Ifbd578d254d544a454e7e84738330eae9983c462

- - - - -
145050bf by Nicolas Caramelli at 2020-07-07T15:32:40-06:00
Remove duplicate key / value in scripts/common_codegen.py

- - - - -
35c46b51 by Mike Schuchardt at 2020-07-10T10:22:09-06:00
build: Roll GN DEPS file

Sync standalone GN toolchain revisions with current ANGLE revisions

- - - - -
d704d1bc by Charles Giessen at 2020-07-10T10:22:57-06:00
loader: Make RTLD_DEEPBIND conditional on ASAN

Address Sanitizer (ASAN) is broken by the inclusion of RTLD_DEEPBIND. This 
commit
removes that dlopen flag if ASAN is detected during compilation.

Change-Id: Ibc3cc329b2f6335a3d5982691b6491efc8c3bbe9

- - - - -
0bc4c2ae by Bob Ellison at 2020-07-13T13:19:56-06:00
scripts: udpate_deps retry on clone or fetch failure

Duplicate change from b636386a7824eb4e6a0d99962e1491ac68d3a295
on KhronosGroup/Vulkan-ValidationLayers, to keep update_deps.py
in sync across all repos.  Original commit message is:

We see spurious failures to connect to github when trying to
run update_deps.py (up to 7% of runs, depending on the machine).
This is an annoyance when running by hand, but a headache and
a serious resource waste when running in automation (as a single
broken "git clone" or "git fetch" can cause the whole run 
to fail).

These changes allow update_deps.py to automatically retry
"git fetch" and "git clone" operations on failure.

These changes will be duplicated in follow-on PRs to the
other repositories that include "update_deps.py", to keep
them all in sync. These are KhronosGroup/Vulkan-Tools,
KhronosGroup/Vulkan-Loader, LunarG/VulkanSamples, and
LunarG/VulkanTools.

I'm also including a "technical debt" update here, because
VulkanTools/scripts/update_deps.py had diverged from the other
"update_deps.py" versions, to add a way to avoid building a
dependency if that dependency is not supported on the current
build platform. This should be harmless to the other
repositories (though potentially useful in the future). The
original commit was aaabc9df034f1fdf9a976a6293d0983b079143ee
with description:

    In update deps, this will check that a dependency is actually supported
    on the platform being built. This is needed because the loader is a
    dependency on all platforms other than Windows.

- - - - -
09358b32 by Lenny Komow at 2020-07-14T13:54:05-06:00
loader: Remove RTLD_DEEPBIND flag

This causes trouble when used with the steam fossilize layer. We'd
still like to use RTLD_DEEPBIND, but we need to work out the issues
first.

Change-Id: Ic44b5a9de9a4e7a1163cbc68e4d5e692315b285c

- - - - -
d8f34456 by Shannon McPherson at 2020-07-14T14:29:06-06:00
build: Update known-good files for 1.2.147 header

Changes:
- Updated `known_good.json`

Change-Id: I2309eef9e654cdca58770161a9397929a0b23de8

- - - - -
dd351154 by Bob Ellison at 2020-07-15T18:29:58-06:00
scripts: fix update_deps retry clone

There was a subtle bug in the original change; "git fetch"
would retry correctly, but "git clone" failed because the
destination directory was missing (after having been removed,
to ensure a clean clone operation).

The test case that was used (hundreds of times) happened to
provoke an error on the "git fetch" path; I was unaware that
the "git clone" failure path had never been exercised.

- - - - -
bfe4f378 by Shannon McPherson at 2020-07-20T12:36:53-06:00
build: Update known-good files for 1.2.148 header

Changes:
- Updated `known_good.json`

Change-Id: Ib18f665a1782af4cd9e34923de67b7c3b7ad8393

- - - - -
ac70a648 by Lenny Komow at 2020-07-27T11:44:27-06:00
loader: Sort physical devices on Windows

This change adds a mechanism to allow sorting of physical devices
and physical device groups on Windows 10 if a driver supports a new
interface.

- - - - -
71529d82 by Lenny Komow at 2020-07-27T11:44:36-06:00
docs: Update loader doc with device sorting info

- - - - -
3468167f by Lenny Komow at 2020-07-30T18:10:06-06:00
loader: Add reporting for physical device sorting

- - - - -
84ddc0fa by Lenny Komow at 2020-08-03T10:42:14-06:00
loader: Fixpossible memory corruption

This fixes a possible memory corruption on Linux when using ICDs
without a corresponding physical device.

Change-Id: Ib0c4ed8fa8452fbee78b535372283141331d483d

- - - - -
683914a6 by Lenny Komow at 2020-08-03T11:03:22-06:00
loader: Fix variable name

Change-Id: Ib8f9e5aa9de79705ec3665baebab3c0b829abd62

- - - - -
340aeb54 by Lenny Komow at 2020-08-03T15:17:48-06:00
loader: Remove illegal asssignment

- - - - -
2ad4e990 by Piotr Bialecki at 2020-08-07T15:51:14-06:00
loader: Fix physical device sorting crash

Fixed crash in device enumeration when there are adapters which do not
support Vulkan. Fixed incorrect error code returned from device
enumeration.

Change-Id: Ieaa1994b3766083a30738a09408e020813e27188

- - - - -
183dd9e2 by Timo Aaltonen at 2020-09-07T14:44:58+03:00
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
731ad36e by Timo Aaltonen at 2020-09-07T14:45:35+03:00
bump the version

- - - - -
97353c94 by Timo Aaltonen at 2020-09-07T14:54:35+03:00
Refresh vulkan-headers to 1.2.148.1

- - - - -
985faa59 by Timo Aaltonen at 2020-09-07T14:58:01+03:00
release to sid

- - - - -


30 changed files:

- BUILD.gn
- BUILD.md
- CMakeLists.txt
- build-gn/DEPS
- + cmake/FindDirectFB.cmake
- debian/changelog
- loader/CMakeLists.txt
- loader/LoaderAndLayerInterface.md
- − loader/dxgi_loader.c
- − loader/dxgi_loader.h
- 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/generated/vk_object_types.h
- loader/loader.c
- loader/loader.h
- loader/trampoline.c
- loader/vk_loader_platform.h
- loader/wsi.c
- loader/wsi.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
- scripts/update_deps.py
- vulkan-headers/README.md
- vulkan-headers/include/vulkan/vk_icd.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/5e329be089650cb6151e23bcc5fbba83b06257e0...985faa597a26a260852270d87e35a6e4b8577cd9

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/vulkan/vulkan-loader/-/compare/5e329be089650cb6151e23bcc5fbba83b06257e0...985faa597a26a260852270d87e35a6e4b8577cd9
You're receiving this email because of your account on salsa.debian.org.


Reply via email to