Commit graph

361 commits

Author SHA1 Message Date
Juan Ramos
e8b8e06d09 headers: Remove VK_LAYER_EXPORT
- It hasn't been handling windows (so it's been half implemented)
- It's a suboptimal method for exporting symbols for vulkan layers
since `--version-script` and `.def` files exists. Both of these
methods also don't risk name mangling.
- `--version-script` also has perf benefits since you can silence
exports from code you didn't intend to export
2023-02-07 18:30:17 -07:00
Juan Ramos
93cb25c6a4 cmake: Trim CMakeLists.txt 2023-01-30 16:45:26 -07:00
Juan Ramos
c594930fa4 docs: Trim README.md
CONTRIBUTING.md, issue template, and PR template all cover this.
2023-01-30 09:57:37 -07:00
Jon Leech
9f93cbe76a Update for Vulkan-Docs 1.3.240 2023-01-26 01:15:20 -08:00
Juan Ramos
a49166a89a docs: Improve github templates
Just specify the list of files to avoid contributor confusion.
2023-01-23 11:41:50 -07:00
Juan Ramos
1a43b498b8 github: Add PR template 2023-01-20 10:58:23 -07:00
Juan Ramos
74a95000e2 github: Update bug_report.md 2023-01-20 10:58:23 -07:00
Juan Ramos
4f1c41662f docs: Re-add documentation 2023-01-20 10:14:54 -07:00
Juan Ramos
78448eda6e cmake: Update minimum to 3.14 2023-01-19 11:45:45 -07:00
Juan Ramos
a841bc8e07 docs: Remove un-neccessary detail from docs 2023-01-19 10:13:12 -07:00
Juan Ramos
1fa844dba2 ci: Don't re-install CMake
Already provided by GitHub actions
2023-01-19 10:02:09 -07:00
Juan Ramos
6f62a95edb build: Remove vk_sdk_platform.h
Users have already been warned about this file being deprecated.
2023-01-19 10:02:09 -07:00
Jon Leech
2bb0a23104 Update for Vulkan-Docs 1.3.239 2023-01-19 04:01:48 -08:00
Juan Ramos
08bfe2e226 ci: Cleanup linux.yml 2023-01-16 12:36:24 -07:00
Juan Ramos
bbed346ee4 ci: Test CMake minimum 2023-01-16 11:18:35 -07:00
Juan Ramos
6ea9413be2 docs: Update README.md 2023-01-12 13:32:19 -07:00
Juan Ramos
460f75b518 docs: Add CONTRIBUTING.md 2023-01-12 12:43:25 -07:00
Juan Ramos
50f8b24b85 cmake: Cleanup vlk_get_header_version function 2023-01-11 14:49:54 -07:00
Juan Ramos
7ecb09e410 docs: Streamline CMake docs 2023-01-11 14:49:54 -07:00
Juan Ramos
ab48b9b20d cmake: Removes unused CMake macros 2023-01-11 12:49:57 -07:00
Juan Ramos
b62045d6ba docs: Update BUILD.md 2023-01-11 12:26:22 -07:00
Juan Ramos
d0f8581c60 ci: Test find_package support 2023-01-11 12:26:22 -07:00
Juan Ramos
bc6beaa960 cmake: Cleanup vlk_get_header_version 2023-01-10 13:44:50 -07:00
Juan Ramos
1a8e782743 docs: Minimal BUILD.md documentation 2023-01-10 10:55:43 -07:00
Juan Ramos
5eeb2c4c57 cmake: Remove Vulkan::Registry
Vulkan::Registry behaves differently in `add_subdirectory` vs
`find_package` builds. Which can result in build failures.

Also Vulkan::Registry never made sense as a CMake target and
was very brittle in numerous ways.

Better to provide a `VULKAN_HEADERS_REGISTRY_DIRECTORY` to users
instead and remove Vulkan::Registry completely.

closes #351
2023-01-09 17:01:08 -07:00
Juan Ramos
18963a6cc0 Deprecate vk_sdk_platform.h
closes #316
2023-01-05 09:09:15 -07:00
Juan Ramos
24115c70be docs: Update copyright 2023-01-04 10:41:02 -07:00
Juan Ramos
cbce167390 gn: Fix GN build warnings 2023-01-04 10:41:02 -07:00
Juan Ramos
b232cb2bee cxx: Use pragma once consistently for non-api headers 2022-12-27 12:27:55 -07:00
Juan Ramos
fc90b60663 vk_layer: Include vukan_core.h instead of vulkan.h
vulkan.h pulls in system headers we don't need

closes #313
2022-12-20 15:28:14 -07:00
Juan Ramos
43946b0feb tests: Test Non-API headers
Ensures the non-API headers compile correctly
2022-12-20 15:15:25 -07:00
Juan Ramos
1401f7a3b3 ci: Fix GitHub action bug 2022-12-20 14:00:37 -07:00
Juan Ramos
86925421ad docs: INTEGRATION.md 2022-12-20 13:43:00 -07:00
Jon Leech
00671c64ba Update for Vulkan-Docs 1.3.238 2022-12-19 03:46:14 -08:00
Juan Ramos
63637cb1c6 ci: Add GitHub actions
Ensures CMake build passes as intended
2022-12-16 12:42:59 -07:00
Juan Ramos
75a6b83f21 cmake: Preserve permissions from registry files 2022-12-14 16:45:15 -07:00
Juan Ramos
9b48e83ef8 cmake: Remove Copyright_cmake.txt 2022-12-09 11:53:57 -07:00
Juan Ramos
e6cc1b3582 cmake: Remove VULKAN_HEADERS_INSTALL
Not needed and adds clutter to projects that use add_subdirectory
2022-12-09 11:30:42 -07:00
Juan Ramos
d14ccf951f cmake: Cleanup CMake code
Remove version.cmake / install.cmake / cmake_uninstall.cmake

Remove as much maintenace burden / custom code as possible
2022-12-09 11:30:42 -07:00
Jon Leech
bf3b3fb14e Update for Vulkan-Docs 1.3.237 2022-12-08 06:27:35 -08:00
unknown
b75e5a02b6 vk_icd.h: Add ICD Version 7
If an ICD supports any of the following functions, they must be
queryable with vk_icdGetInstanceProcAddr:
    vk_icdNegotiateLoaderICDInterfaceVersion
    vk_icdGetPhysicalDeviceProcAddr
    vk_icdEnumerateAdapterPhysicalDevices (Windows only)
In addition, these functions no longer need to be exported directly.

These changes allow drivers to no longer export the 'loader-icd interface'
functions which previously had to be exported. This change aids in future
extension work which aims to provide the ability to load drivers without
installing them to the system.
2022-12-07 13:36:40 -06:00
Juan Ramos
891c40de1a cmake: Fix cross-compilation
We need to revert b092b2f in Gentoo to fix multi-ABI vulkan-loader
build

This reverts commit b092b2fccc.

See https://github.com/KhronosGroup/Vulkan-Headers/issues/330 for
details.
2022-12-05 10:13:31 -07:00
Jon Leech
2826791bed Update for Vulkan-Docs 1.3.236 2022-12-01 06:24:21 -08:00
Timo Gurr
b092b2fccc cmake: Fix environment for cross-compile installs
Currently the include directory is arch-dependent.
However, the location where the *.cmake files are installed
is arch-independent. This difference causes an issue with
cross compile environments.
2022-11-21 09:47:43 -07:00
John Bauman
974db1cede Add VkIcdSurfaceImagePipe and VK_ICD_WSI_PLATFORM_FUCHSIA
This allows the loader to implement its part of the
VK_FUCHSIA_image_pipe extension.
2022-11-17 14:02:34 -07:00
Jon Leech
b7a86d3b2b Update for Vulkan-Docs 1.3.235 2022-11-17 05:02:06 -08:00
Ryan Harrison
29c0457cc1 Fix duplicate quotes when targets are included by downstream projects
When trying to update the version of Vulkan-Headers used in Dawn/Tint,
I encountered errors like this:

 Target "Vulkan-Headers" contains relative path in its
  INTERFACE_INCLUDE_DIRECTORIES:

    ""/home/foo/workspace/dawn/third_party/vulkan-deps/vulkan-headers/src/include""

This PR removes the offending quotes
2022-11-10 11:30:47 -07:00
Jon Leech
f97f29836c Update for Vulkan-Docs 1.3.234 2022-11-10 05:17:45 -08:00
Juan Ramos
6898219141 docs: Remove .cmake-format.py 2022-11-08 11:36:22 -07:00
Juan Ramos
ef96d229cb cmake: Update BUILD.md documentation 2022-11-08 10:22:11 -07:00