-
0c0ac2c6
by Charles Giessen
at 2020-09-29T15:26:19-06:00
docs: Update static linking info
When static linking was removed as a build option, the documentation
for it was not ammended. This commit changes the text to describe that
it used to be supported, is no longer supported, and why the feature
was removed.
Change-Id: I8da0c1c811be7e9dc5119c4c27c34a5cbb30edf8
-
7c07085a
by Lenny Komow
at 2020-10-01T11:03:25-06:00
loader: Fix incorrect allocation error cleanup
-
3610ce9f
by Lenny Komow
at 2020-10-05T18:28:55-06:00
docs: Remove outdated references to WDK
Change-Id: Iab787fa84e76fefd5b22bd97566dbf47cf642ed0
-
0456e536
by Charles Giessen
at 2020-10-06T09:34:24-06:00
docs: Update build.md for static build changes
macOS is the only supported platform for a static loader.
Changes the build.md and CMakeList.txt to correctly specify
the option and warning message.
Change-Id: Iaf00e65e60ce5833516b7fe290eed7198436b48b
-
e1c93817
by Brecht Sanders
at 2020-10-06T10:28:48-06:00
loader: Fixes build with MinGW-w64 8.0.0.
See http://winlibs.com for a release of such GCC compiler
See issue https://github.com/KhronosGroup/Vulkan-Loader/issues/474
-
a638f3ac
by Shannon McPherson
at 2020-10-06T10:47:13-06:00
build: Update known-good files for 1.2.156 header
Changes:
- Updated `known_good.json`
Change-Id: Iefcdd52d8021515764d644ca86b0c5cd3dce8e16
-
121d3c20
by Piers Daniell
at 2020-10-07T14:41:11-06:00
Fix some issues when EnumerateAdapterPhysicalDevices is available
1) Fix a memory leak with sorted_array[].physical_devices when EnumerateAdapterPhysicalDevices returns an error. This fixes a failure with the "dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail" Vulkan CTS test.
2) Fix an issue with vkEnumeratePhysicalDeviceGroups() when fpCreateDXGIFactory1() fails, which will happen with Windows versions before version 10.
-
dc8a96d6
by Piers Daniell
at 2020-10-07T16:28:14-06:00
Fix formatting issue.
-
e3ba62fe
by Dorian Apanel
at 2020-10-08T16:19:21-06:00
loader: Override layer load when custom allocator used.
When custom allocator is used, and is requested to allocate
zero size allocation, it can return NULL, which is then
interpreted as VK_ERROR_OUT_OF_HOST_MEMORY.
When such allocator was used, override layer was not loaded.
fix #485
-
14ad927e
by Dorian Apanel
at 2020-10-08T16:19:21-06:00
Handling also zero size override paths.
-
970c1327
by Shannon McPherson
at 2020-10-12T14:37:47-06:00
build: Update known-good files for 1.2.157 header
Changes:
- Updated `known_good.json`
Change-Id: I7705cbe942a67c7b915349a1c34c7615d1dc4691
-
f8a87624
by Craig Stout
at 2020-10-19T10:12:32-06:00
Add Fuchsia support
Fuchsia (fuchsia.dev) builds with GN and uses a loader service to load
the ICD into the application's address space.
ANGLE builds have been verified.
Reemoves unused variable is_icd.
-
5d51a8a4
by Rémi Verschelde
at 2020-10-20T13:28:54-06:00
CMake: Fix libdir in pkg-config file, dehardcode includedir
Fixes #489.
Supersedes #214.
-
91ce213a
by xantares
at 2020-10-20T13:29:15-06:00
Fix vulkan link to on cfgmgr32 case-sensitive fs
On MinGW from Linux this fails because cfgmgr32 is lowercase. This will still work on win32.
-
f3b74dc7
by Craig Stout
at 2020-10-26T17:59:09-06:00
Add support for VK_FUCHSIA_imagepipe_surface
-
8e2b7d03
by Michel Zou
at 2020-10-26T18:42:56-06:00
tests: Use cmake -E copy instead of xcopy
-
2b0892e1
by Shannon McPherson
at 2020-10-27T11:11:32-06:00
build: Update known-good files for 1.2.158 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I5f06eec6afb61bac576cbad3e6e6982c0bd0440c
-
8308d674
by Shahbaz Youssefi
at 2020-10-28T09:44:21-06:00
Generate libvulkan.so.1 on Linux instead of libvulkan.so
This is the Linux way. Previously, a copy step was added to copy
libvulkan.so to libvulkan.so.1. However, that only runs if everything
is built and not when a specific target is built.
There is no need for libvulkan.so on Linux, so this change makes the
libvulkan target directly generate libvulkan.so.1 and removes the copy
step.
-
42865424
by xantares
at 2020-10-28T13:27:16-06:00
Configure vulkan.pc when pkg-config is available
This allows vulkan.pc to be enabled on MinGW
-
0d912af5
by Michel Zou
at 2020-10-30T11:38:59-06:00
Add an option to disable MASM
MASM generally goes with msvc, but it is not necessarily available with MinGW.
-
07bbf14a
by Shahbaz Youssefi
at 2020-10-30T11:47:06-06:00
Revert "Generate libvulkan.so.1 on Linux instead of libvulkan.so"
Causes Chromium to pick up ANGLE's build of Vulkan-Loader instead of the
system one, with the caveat that the gn build of Vulkan-Loader doesn't
support VK_KHR_xlib_surface which Chromium depends on.
This change can be re-introduced once Chromium switches to
VK_KHR_xcb_surface.
This reverts commit 8308d6744d50e4dc357e60282436f6ec0942b8c8.
-
f635feea
by Shannon McPherson
at 2020-11-02T11:46:58-07:00
build: Update known-good files for 1.2.159 header
Changes:
- Updated `known_good.json`
Change-Id: I7c30f49ac3514e8c3dd1866b07bf3bc3ee2fe55e
-
e2b55419
by Shannon McPherson
at 2020-11-10T11:07:08-07:00
build: Update known-good files for 1.2.160 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I8afe698dd58a062d28f40a49f51cfa6c19409387
-
be6ccb9e
by Shahbaz Youssefi
at 2020-11-13T11:11:08-08:00
Reland "Generate libvulkan.so.1 on Linux instead of libvulkan.so"
Chromium now uses VK_KHR_xcb_surface instead of VK_KHR_xlib_surface, so
it's able to use the gn build of Vulkan-Loader.
-
4f33dc41
by Shannon McPherson
at 2020-11-16T12:55:26-07:00
build: Update known-good files for 1.2.161 header
Changes:
- Updated `known_good.json`
Change-Id: Ib6f5ff539b627b6978e81e6247ecfdeee1506c1f
-
10c4ebad
by Michel Zou
at 2020-11-17T16:05:23-07:00
pkgconfig: Missing lib suffx on win32
on win32 the library name is vulkan-1, not vulkan
-
b54d5512
by Biswapriyo Nath
at 2020-11-17T17:03:42-07:00
loader: Cast dxgi object to void** to suppress gcc warnings.
-
02a49dae
by Mike Schuchardt
at 2020-11-23T09:08:28-07:00
scripts: Add default return type for VkDeviceSize
-
d7928a19
by J.D. Rouan
at 2020-11-23T09:12:55-07:00
Add GGP WSI platform support to Vulkan-Loader
Add GGP WSI platform support to Vulkan-Loader. GGP is Google Games
Platform, the platform for Stadia.
-
730aab9f
by Shannon McPherson
at 2020-11-23T09:19:03-07:00
build: Update known-good files for 1.2.162 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: Ic0f414ccf230314fa648abbb00da9509e1389a31
-
054bd9ca
by Charles Giessen
at 2020-12-01T10:59:06-07:00
loader: Properly check for elevated permissions
The status message for the loader not searching environment
variables when running with elevated permissions didn't properly
check. This commit adds in proper guards to make sure the status
message only prints when compiled with explicit use of non-secure
getenv
Change-Id: I993bb08de21bb0e338852368c24fe615d0d1f9b9
-
992d9cb4
by Lenny Komow
at 2020-12-01T13:49:37-07:00
loader: Remove SEEK_END usage
Change-Id: I699caaf048d70756649d9f6a2c7dfb012c6d2342
-
7a313093
by Michel Zou
at 2020-12-01T13:50:08-07:00
cmake: remove mingw lib prefix
we want the dll to be named vulkan-1.dll and not libvulkan-1.dll
as it is the default on mingw (for drop-in replacement)