Commit graph

339 commits

Author SHA1 Message Date
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
Juan Ramos
e55c3116c1 cmake: Add VULKAN_HEADERS_INSTALL option
This allows projects which consume this repo with add_subdirectory
to turn on/off the install logic, which can be undesirable.
2022-11-08 10:22:11 -07:00
Juan Ramos
9cc8473bb9 cmake: Export CMake Targets File
Now as part of install 2 files are created:
- VulkanHeadersConfig.cmake
- VulkanHeadersConfigVersion.cmake

This allows usage of find_package

closes #157
2022-11-08 10:22:11 -07:00
Juan Ramos
1661f3e962 includes: Guard against multiple NOMINMAX 2022-11-07 17:48:05 -07:00
Juan Ramos
91388ba104 cmake: Get Vulkan Version
Extract the vulkan header version for CMake usage
2022-11-07 10:54:57 -07:00
Juan Ramos
52b7c620a5 build: Fix CMake warning
Currently GNUInstallDirs is complaining because no language has
been enabled. This is fixed by enabling the C language.
2022-11-04 11:02:07 -06:00
Jon Leech
ff03306bf9 Update reporting for non-API headers 2022-11-04 07:29:54 -07:00
Jon Leech
d4c221772c Update for Vulkan-Docs 1.3.233 2022-11-03 02:35:20 -07:00
Jon Leech
e12a8f8cde Update for Vulkan-Docs 1.3.232 and add profile JSON under registry/profiles/ 2022-10-27 01:02:12 -07:00
Jon Leech
98f440ce68 Update for Vulkan-Docs 1.3.231 2022-10-13 01:07:51 -07:00
Jon Leech
0df9899602 Update for Vulkan-Docs 1.3.230 2022-09-28 21:18:35 -07:00
Jon Leech
39bcdfe388 Update for Vulkan-Docs 1.3.229 2022-09-22 03:29:08 -07:00
Jon Leech
5177b119bb Update for Vulkan-Docs 1.3.228 2022-09-15 03:02:47 -07:00
Jon Leech
88ebcb08cb Update for Vulkan-Docs 1.3.227 2022-09-08 02:11:50 -07:00
Jon Leech
9f4c61a314 Update for Vulkan-Docs 1.3.226 2022-09-01 04:46:04 -07:00
Jon Leech
715673702f Update for Vulkan-Docs 1.3.225 2022-08-18 04:21:53 -07:00
Eric Werness
c896e2f920 Fix the readme for the fixed conventions.py location 2022-08-05 17:52:41 -07:00
Jon Leech
2b55157592 Update for Vulkan-Docs 1.3.224 2022-08-04 01:52:36 -07:00
Jon Leech
ff92049ebd Update for Vulkan-Docs 1.3.223 2022-07-28 04:37:50 -07:00
Jon Leech
87d2aa9d77 Update for Vulkan-Docs 1.3.222 2022-07-21 02:43:51 -07:00
Jon Leech
16847a6100 Update for Vulkan-Docs 1.3.221 2022-07-14 06:27:29 -07:00
Jon Leech
9f73b931f4 Update for Vulkan-Docs 1.3.220 2022-07-07 05:30:26 -07:00
Jon Leech
2c823b7f27 Update for Vulkan-Docs 1.3.219 2022-06-30 03:48:11 -07:00