platform/upstream/Vulkan-Headers.git
5 years agoUpdate for Vulkan-Docs 1.1.117
Jon Leech [Mon, 29 Jul 2019 06:07:32 +0000 (23:07 -0700)]
Update for Vulkan-Docs 1.1.117

5 years agoUpdate for Vulkan-Docs 1.1.116
Jon Leech [Sat, 20 Jul 2019 09:22:34 +0000 (02:22 -0700)]
Update for Vulkan-Docs 1.1.116

5 years agobuild: Update cmake_minimum_required(VERSION 3.10.2)
Mike Weiblen [Tue, 16 Jul 2019 21:10:44 +0000 (15:10 -0600)]
build: Update cmake_minimum_required(VERSION 3.10.2)

Change-Id: I28c30bb941691738944b13da75bc07e6153c89ef

5 years agoUpdate for Vulkan-Docs 1.1.115
Jon Leech [Sun, 14 Jul 2019 13:29:47 +0000 (06:29 -0700)]
Update for Vulkan-Docs 1.1.115

5 years agoUpdate for Vulkan-Docs 1.1.114
Jon Leech [Mon, 8 Jul 2019 06:34:18 +0000 (23:34 -0700)]
Update for Vulkan-Docs 1.1.114

5 years agoUpdate for Vulkan-Docs 1.1.113
Jon Leech [Sun, 30 Jun 2019 06:39:31 +0000 (23:39 -0700)]
Update for Vulkan-Docs 1.1.113

5 years agoUpdate for Vulkan-Docs 1.1.112
Jon Leech [Mon, 24 Jun 2019 04:01:28 +0000 (21:01 -0700)]
Update for Vulkan-Docs 1.1.112

5 years agoUpdate for Vulkan-Docs 1.1.111
Jon Leech [Tue, 11 Jun 2019 13:15:33 +0000 (06:15 -0700)]
Update for Vulkan-Docs 1.1.111

5 years agoUpdate for Vulkan-Docs 1.1.108
Jon Leech [Mon, 13 May 2019 10:16:06 +0000 (03:16 -0700)]
Update for Vulkan-Docs 1.1.108

5 years agoUpdate for Vulkan-Docs 1.1.108
Jon Leech [Mon, 13 May 2019 09:15:54 +0000 (02:15 -0700)]
Update for Vulkan-Docs 1.1.108

5 years agovulkan: Add headless surface support to ICD header
Shannon McPherson [Tue, 23 Apr 2019 16:58:19 +0000 (10:58 -0600)]
vulkan: Add headless surface support to ICD header

Added the new enum value to `VkIcdWsiPlatform` and defined
`VkIcdSurfaceHeadless`

5 years agoheaders: device creation callbacks for layers
Felix Dörre [Tue, 11 Dec 2018 17:37:06 +0000 (18:37 +0100)]
headers: device creation callbacks for layers

5 years agobuild: Add support for GN build system
Mike Schuchardt [Fri, 19 Apr 2019 15:39:51 +0000 (08:39 -0700)]
build: Add support for GN build system

5 years agoUpdate for Vulkan-Docs 1.1.107
Jon Leech [Tue, 16 Apr 2019 12:57:09 +0000 (05:57 -0700)]
Update for Vulkan-Docs 1.1.107

5 years agoscripts: Fix generator on Windows with Python < 3.6
Lenny Komow [Mon, 8 Apr 2019 22:14:05 +0000 (16:14 -0600)]
scripts: Fix generator on Windows with Python < 3.6

5 years agoUpdate for Vulkan-Docs 1.1.106
Jon Leech [Mon, 8 Apr 2019 04:00:38 +0000 (21:00 -0700)]
Update for Vulkan-Docs 1.1.106

5 years agoFixes for both C and C++ header generation
Jon Leech [Thu, 21 Mar 2019 11:09:20 +0000 (04:09 -0700)]
Fixes for both C and C++ header generation

5 years agoUpdate for Vulkan-Docs 1.1.105
Jon Leech [Wed, 20 Mar 2019 09:20:31 +0000 (02:20 -0700)]
Update for Vulkan-Docs 1.1.105

5 years agodocs: Update BUILD.md for CMake versions
Jon Leech [Mon, 11 Mar 2019 09:33:59 +0000 (02:33 -0700)]
docs: Update BUILD.md for CMake versions

5 years agoUpdate for Vulkan-Docs 1.1.103
Jon Leech [Mon, 11 Mar 2019 09:33:59 +0000 (02:33 -0700)]
Update for Vulkan-Docs 1.1.103

5 years agoUpdate for Vulkan-Docs 1.1.102
Jon Leech [Mon, 4 Mar 2019 11:28:11 +0000 (03:28 -0800)]
Update for Vulkan-Docs 1.1.102

5 years agobuild: Define library targets for nested builds-
Nuno Subtil [Fri, 8 Feb 2019 03:32:29 +0000 (19:32 -0800)]
build: Define library targets for nested builds-

Adds alias interface libraries Vulkan::Headers and Vulkan::Registry that
export include paths. These are meant to be used by dependent projects
in a nested build configuration to obtain the path to the Vulkan headers
and registry directories.

Change-Id: I0801f4a23ef654064c1b0878543cd48965954756

5 years agoheaders: Update to Vulkan header version 1.1.101
Shannon McPherson [Wed, 20 Feb 2019 16:28:53 +0000 (09:28 -0700)]
headers: Update to Vulkan header version 1.1.101

Updated:
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/validusage.json`
- `registry/vk.xml`

5 years agoheaders: Update to Vulkan header version 1.1.100
Shannon McPherson [Thu, 14 Feb 2019 21:25:25 +0000 (14:25 -0700)]
headers: Update to Vulkan header version 1.1.100

Updated:
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/validusage.json`
- `registry/vk.xml`

5 years agoheaders: Update to Vulkan header version 1.1.99
Shannon McPherson [Mon, 4 Feb 2019 16:56:53 +0000 (09:56 -0700)]
headers: Update to Vulkan header version 1.1.99

Updated:
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/genvk.py`
- `registry/validusage.json`
- `registry/vk.xml`

5 years agoregistry: Update `validusage.json` for VUID 02603
Shannon McPherson [Wed, 9 Jan 2019 22:17:57 +0000 (15:17 -0700)]
registry: Update `validusage.json` for VUID 02603

An `ifdef` statement found in the middle of a VUID definition resulted
in everything following this statement being dropped from the
`validusage.json` generated file. This commit includes a manual
correction to the VUID-VkFramebufferCreateInfo-pAttachments-02603
definition.

5 years agoheaders: Update to Vulkan header version 1.1.97
Shannon McPherson [Mon, 7 Jan 2019 22:55:41 +0000 (15:55 -0700)]
headers: Update to Vulkan header version 1.1.97

Updated:
- `include/vulkan/vulkan.h`
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_android.h`
- `include/vulkan/vulkan_core.h`
- `include/vulkan/vulkan_fuchsia.h`
- `include/vulkan/vulkan_ios.h`
- `include/vulkan/vulkan_macos.h`
- `include/vulkan/vulkan_vi.h`
- `include/vulkan/vulkan_wayland.h`
- `include/vulkan/vulkan_win32.h`
- `include/vulkan/vulkan_xcb.h`
- `include/vulkan/vulkan_xlib.h`
- `include/vulkan/vulkan_xlib_xrandr.h`
- `registry/cgenerator.py`
- `registry/generator.py`
- `registry/genvk.py`
- `registry/reg.py`
- `registry/validusage.json`
- `registry/vk.xml`

5 years agodocs: Add explanation of version tagging scheme
Shannon McPherson [Mon, 17 Dec 2018 21:56:30 +0000 (14:56 -0700)]
docs: Add explanation of version tagging scheme

5 years agoheaders: Update to Vulkan header version 1.1.96
Shannon McPherson [Mon, 17 Dec 2018 16:57:13 +0000 (09:57 -0700)]
headers: Update to Vulkan header version 1.1.96

Updated:
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/validusage.json`
- `registry/vk.xml`

5 years agoheaders: Update to Vulkan header version 1.1.95
Shannon McPherson [Mon, 3 Dec 2018 16:42:21 +0000 (09:42 -0700)]
headers: Update to Vulkan header version 1.1.95

Updated:
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/validusage.json`
- `registry/vk.xml`

5 years agobuild: Fix install target path
Nuno Subtil [Wed, 21 Nov 2018 03:05:58 +0000 (19:05 -0800)]
build: Fix install target path

Use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR when defining
the path for the source files to be installed.

CMAKE_SOURCE_DIR always points at the directory containing the root
CMakeLists.txt, while CMAKE_CURRENT_SOURCE_DIR points at the directory
containing the current project's CMakeLists.txt. These are normally
identical, except when another CMake project includes this project via
add_subdirectory() --- in that case, CMAKE_CURRENT_SOURCE_DIR is the
right variable to use when composing paths to files within the current
project tree.

Change-Id: I4bdcc3bf538e96c43ae5f4ff6758cf45992442e0

5 years agoheaders: Update to Vulkan header version 1.1.94
Shannon McPherson [Tue, 27 Nov 2018 18:25:12 +0000 (11:25 -0700)]
headers: Update to Vulkan header version 1.1.94

Updated:
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/validusage.json`
- `registry/vk.xml`

5 years agoheaders: Update to Vulkan header version 1.1.92 upstream/1.1.92
Shannon McPherson [Mon, 12 Nov 2018 17:01:32 +0000 (10:01 -0700)]
headers: Update to Vulkan header version 1.1.92

Updated:
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/validusage.json`
- `registry/vk.xml`

6 years agoheaders: Update to Vulkan header version 1.1.91
Shannon McPherson [Mon, 5 Nov 2018 20:49:46 +0000 (13:49 -0700)]
headers: Update to Vulkan header version 1.1.91

Updated:
- `include/vulkan/vulkan.h`
- `include/vulkan/vulkan.hpp`
- `include/vulkan/vulkan_core.h`
- `registry/genvk.py`
- `registry/validusage.json`
- `registry/vk.xml`

6 years agoheaders: Update to Vulkan header version 1.1.90
Shannon McPherson [Mon, 29 Oct 2018 21:41:40 +0000 (15:41 -0600)]
headers: Update to Vulkan header version 1.1.90

Updated:
- include/vulkan/vulkan.hpp
- include/vulkan/vulkan_core.h
- registry/validusage.json
- registry/vk.xml

6 years agoheaders: Update to Vulkan header version 1.1.89
Shannon McPherson [Mon, 22 Oct 2018 16:56:49 +0000 (10:56 -0600)]
headers: Update to Vulkan header version 1.1.89

Updated:
- include/vulkan/vulkan.hpp
- include/vulkan/vulkan_core.h
- registry/validusage.json
- registry/vk.xml

Note: A modified version of Vulkan-Docs' include/vulkan/vulkan_core.h
and xml/vk.xml were used to generate these files. These modifications
correct the enum value
`VK_STRUCTURE_TYPE_IMAGE_EXCPLICIT_DRM_FORMAT_MODIFIER_CREATE_INFO_EXT`

6 years agoheaders: Update to Vulkan header version 1.1.87
Shannon McPherson [Tue, 9 Oct 2018 22:33:53 +0000 (16:33 -0600)]
headers: Update to Vulkan header version 1.1.87

Updated:
- include/vulkan/vulkan.h
- include/vulkan/vulkan.hpp
- include/vulkan/vulkan_core.h
- registry/genvk.py
- registry/reg.py
- registry/validusage.json
- registry/vk.xml

Added:
- include/vulkan/vulkan_fuchsia.h

Note: A local, modified version of Vulkan-Docs/xml/reg.py was used to
generate these files. This modification filters out disabled extensions
when populating the structextends list for a given base struct.

6 years agoCreate CODE_OF_CONDUCT.md
Khronos Group Webmaster [Wed, 10 Oct 2018 20:06:12 +0000 (16:06 -0400)]
Create CODE_OF_CONDUCT.md

6 years agoRevert LICENSE to Apache 2.0
Khronos Group Webmaster [Wed, 3 Oct 2018 14:16:17 +0000 (10:16 -0400)]
Revert LICENSE to Apache 2.0

6 years agoUpdate LICENSE.txt
Khronos Group Webmaster [Thu, 27 Sep 2018 20:23:05 +0000 (16:23 -0400)]
Update LICENSE.txt

Change Apache 2.0 to Khronos Apache 2.0 CLA

6 years agoheaders: Update to version 1.1.85
Mike Schuchardt [Thu, 20 Sep 2018 17:20:51 +0000 (10:20 -0700)]
headers: Update to version 1.1.85

Updated:
- include/vulkan/vulkan.hpp
- include/vulkan/vulkan_core.h
- registry/validusage.json
- registry/vk.xml

Note: vulkan.hpp required some hand editing in
Device::getAccelerationStructureHandleNVX and
Device::getRaytracingShaderHandlesNVX in order to compile.

6 years agoheaders: Update to Vulkan-Headers version 1.1.84
Shannon McPherson [Mon, 10 Sep 2018 17:29:39 +0000 (11:29 -0600)]
headers: Update to Vulkan-Headers version 1.1.84

- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h

6 years agobuild: CMakeLists.txt cleanup
Mike Weiblen [Wed, 4 Jul 2018 21:23:41 +0000 (15:23 -0600)]
build: CMakeLists.txt cleanup

A cleanup of the CMake file in this repo,
for consistency with similar effort in other Vulkan repos.

clarify setting Windows install prefix if needed

project() : NONE = this project has no language toolchain requirement.

update .cmake-format.py 0.4.1

reformat using cmake-format 0.4.1

Change-Id: Ic64b335676eb6b8bd8ffd1b0d8c5468a4239287c

6 years agorepo: Add to vim temp files to .gitignore
Mike Weiblen [Fri, 7 Sep 2018 19:46:31 +0000 (13:46 -0600)]
repo: Add to vim temp files to .gitignore

Change-Id: I7e984bcb38f3942bb2ae0709cb67e6c15cada128

6 years agorepo: Add .gitattributes file
Mike Weiblen [Wed, 4 Jul 2018 21:23:41 +0000 (15:23 -0600)]
repo: Add .gitattributes file

Every git repo should have a .gitattributes file.

Change-Id: I351b5ab5b5d089ffc96b2a211a2e39ddda5cc397

6 years agoheaders: Update to version 1.1.83 of Vulkan hdr
Shannon McPherson [Mon, 20 Aug 2018 19:48:16 +0000 (13:48 -0600)]
headers: Update to version 1.1.83 of Vulkan hdr

- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h

6 years agoheaders: Update to version 1.1.82 of the Vulkan hdr
Shannon McPherson [Mon, 30 Jul 2018 16:22:29 +0000 (10:22 -0600)]
headers: Update to version 1.1.82 of the Vulkan hdr

- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h

6 years agoheaders: Update to version 1.1.81 of the Vulkan hdr
Shannon McPherson [Tue, 24 Jul 2018 16:16:26 +0000 (10:16 -0600)]
headers: Update to version 1.1.81 of the Vulkan hdr

- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h

6 years agoheaders: Update validusage.json for 1.1.80 hdr
Mark Lobodzinski [Wed, 18 Jul 2018 14:47:26 +0000 (08:47 -0600)]
headers: Update validusage.json for 1.1.80 hdr

6 years agoheaders: Update to version 1.1.80 of the Vulkan hdr
Mark Lobodzinski [Mon, 16 Jul 2018 17:38:53 +0000 (11:38 -0600)]
headers: Update to version 1.1.80 of the Vulkan hdr

- updated vulkan.hpp
- updated vulkan_core.h
- updated vk.xml

6 years agodocs: Fix whitespace
Mark Lobodzinski [Mon, 16 Jul 2018 17:36:34 +0000 (11:36 -0600)]
docs: Fix whitespace

6 years agodocs: Update README to explain contents origins
Karl Schultz [Wed, 11 Jul 2018 12:41:24 +0000 (06:41 -0600)]
docs: Update README to explain contents origins

6 years agoheaders: Remove loader/layer dependency
Lenny Komow [Mon, 25 Jun 2018 19:59:47 +0000 (13:59 -0600)]
headers: Remove loader/layer dependency

The header vk_layer.h included vk_layer_dispatch_table.h, which is not
present in this repo. Instead, it had to be generated from either the
Vulkan-Loader or Vulkan-ValidationLayers repo. This change removes
that dependency.

6 years agoheader: Update to version 1.1.79 of the Vulkan hdr
Mark Lobodzinski [Mon, 2 Jul 2018 20:52:03 +0000 (14:52 -0600)]
header: Update to version 1.1.79 of the Vulkan hdr

- update vk.xml
- update vulkan_core.h
- update validusage.json
- update vulkan.hpp

6 years agobuild: Beautify cmake files
Mike Weiblen [Tue, 26 Jun 2018 21:04:33 +0000 (15:04 -0600)]
build: Beautify cmake files

Add the formatter config file (.cmake-format.py) and run:
cmake-format -i CMakeLists.txt

6 years agobuild: Insert copyright in cmake files
Mike Weiblen [Tue, 26 Jun 2018 20:24:09 +0000 (14:24 -0600)]
build: Insert copyright in cmake files

6 years agocmake: Add Kitware copyright
Mike Weiblen [Tue, 26 Jun 2018 20:06:37 +0000 (14:06 -0600)]
cmake: Add Kitware copyright

Get latest Kitware copyright notice from
https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt @ d45d5e2

6 years agoheader: Update to version 1.1.78 of the Vulkan hdr
Mark Lobodzinski [Tue, 26 Jun 2018 18:03:58 +0000 (12:03 -0600)]
header: Update to version 1.1.78 of the Vulkan hdr

- update vk.xml
- update vulkan_core.h
- updated validusage.json
- updated vulkan.hpp

6 years agobuild: Add .vscode to .gitignore
Karl Schultz [Wed, 20 Jun 2018 16:56:19 +0000 (10:56 -0600)]
build: Add .vscode to .gitignore

6 years agodoc: Update BUILD.md [skip ci]
Karl Schultz [Sat, 16 Jun 2018 01:11:06 +0000 (19:11 -0600)]
doc: Update BUILD.md [skip ci]

6 years agoheaders: Update to version 1.1.77 of the Vulkan hdr
Mark Lobodzinski [Wed, 13 Jun 2018 19:42:35 +0000 (13:42 -0600)]
headers: Update to version 1.1.77 of the Vulkan hdr

- updated vk.xml
- updated vulkan_core.h
- updated validusage.json
- updated vulkan.hpp

6 years agocmake: Prevent redefinition of uninstall target
Karl Schultz [Tue, 12 Jun 2018 21:06:34 +0000 (15:06 -0600)]
cmake: Prevent redefinition of uninstall target

Allows for this repo to be included as a submodule of another
repo that defines its own uninstall target.  The uninstall target
is best defined at the top-level repo.

6 years agoRevert to "Update to 1.1.76 headers"
Mike Schuchardt [Wed, 6 Jun 2018 20:27:29 +0000 (14:27 -0600)]
Revert to "Update to 1.1.76 headers"

This commit reverts to the original 1.1.76 header update now that
Vulkan-ValidationLayers has been updated with 76 specific fixes.

This reverts commit acadd71e0861c53de5319e643c15a89900680c55.

6 years agoheaders: Revert "Update to 1.1.76 headers"
Mark Lobodzinski [Tue, 5 Jun 2018 22:43:52 +0000 (16:43 -0600)]
headers: Revert "Update to 1.1.76 headers"

This reverts commit 81f9735a65b57446800988920233e9114bcec332.

76 Header update broke master Validation-Layers build. Will
repush with accompanying fixes shortly.

6 years agoUpdate to 1.1.76 headers
Mike Schuchardt [Thu, 31 May 2018 21:56:11 +0000 (15:56 -0600)]
Update to 1.1.76 headers

6 years agobuild: Add CMake files for install target
Karl Schultz [Wed, 30 May 2018 22:43:14 +0000 (16:43 -0600)]
build: Add CMake files for install target

6 years agoAdd .gitignore with python cache files
Mike Schuchardt [Tue, 22 May 2018 22:23:37 +0000 (16:23 -0600)]
Add .gitignore with python cache files

Prevents Vulkan-Headers from complaining about untracked files when used
as a submodule

6 years agoAdded 1.1.75 Vulkan header/registry files
Mike Schuchardt [Tue, 22 May 2018 16:17:11 +0000 (10:17 -0600)]
Added 1.1.75 Vulkan header/registry files

Updated files come from the following locations:

include/vulkan/vulkan.hpp   Vulkan-Hpp:vulkan/vulkan.hpp

include/vulkan/*            Vulkan-Docs:include/vulkan/*

registry/cgenerator.py      Vulkan-Docs:xml/cgenerator.py
registry/generator.py       Vulkan-Docs:xml/generator.py
registry/genvk.py           Vulkan-Docs:xml/genvk.py
registry/vk.xml             Vulkan-Docs:xml/vk.xml
registry/reg.py             Vulkan-Docs:xml/reg.py
registry/validusage.json    Vulkan-Docs:out/validation/validusage.json

6 years agoheaders: fix compilation error on android with vk_icd.h
Tapani Pälli [Wed, 16 May 2018 07:44:04 +0000 (10:44 +0300)]
headers: fix compilation error on android with vk_icd.h

Change allow us to refer to ANativeWindow from C code, fixes following
compilation error seen with clang 3.8.27580 (Android O prebuilts).

vk_icd.h:116:5: error: must use 'struct' tag to refer to type 'ANativeWindow'

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
6 years agodocs: Add LICENSE.txt
Karl Schultz [Fri, 11 May 2018 18:13:48 +0000 (12:13 -0600)]
docs:  Add LICENSE.txt

6 years agoheaders: Added 1.74.0 Vulkan header/registry files
Mark Lobodzinski [Fri, 4 May 2018 15:33:39 +0000 (09:33 -0600)]
headers: Added 1.74.0 Vulkan header/registry files

6 years agotests: Add a guard around noexcept in vktestbinding.h
Dave Houlton [Fri, 22 Dec 2017 20:55:53 +0000 (13:55 -0700)]
tests: Add a guard around noexcept in vktestbinding.h

VS2013 does not provide 'noexcept'. Layers had multiple occurences
of a NOEXCEPT macro to protect the VS2013 build. This commit
consolidates that macro to a single location in vk_sdk_platform.h,
which is also visible to the layer tests via test_common.h.

Updates the vktestbinding.h occurences of 'noexcept' to use the
NOEXCEPT macro.

Change-Id: I38bf8c08cda6fe75de78dff69050a913b47f91b1

6 years agomisc: Update licenses to Apache 2.0
Jon Ashburn [Tue, 19 Apr 2016 17:30:31 +0000 (11:30 -0600)]
misc: Update licenses to Apache 2.0

Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97

6 years agoRemove Khronos confidential clause from license text.
Karl Schultz [Wed, 10 Feb 2016 01:07:25 +0000 (18:07 -0700)]
Remove Khronos confidential clause from license text.

6 years agoinclude: Update copyright and apply clang-format (no logic changes)
Karl Schultz [Tue, 2 Feb 2016 19:32:50 +0000 (12:32 -0700)]
include: Update copyright and apply clang-format (no logic changes)

6 years agoFixes: Fixed Visual Studio warnings during compilation.
Mark Young [Wed, 6 Jan 2016 21:26:04 +0000 (14:26 -0700)]
Fixes: Fixed Visual Studio warnings during compilation.

Changes to properly detect proper Visual Studio and fix build warnings.

6 years agoMoved header files from include to include/vulkan
David Pinedo [Fri, 6 Nov 2015 19:54:48 +0000 (12:54 -0700)]
Moved header files from include to include/vulkan

6 years agoloader: Extend pre-instance intercepts for 1.1
Lenny Komow [Tue, 13 Feb 2018 22:58:47 +0000 (15:58 -0700)]
loader: Extend pre-instance intercepts for 1.1

Add the ability to intercept vkEnumerateInstanceVersion through the
pre-instance intercept mechanism

6 years agoloader: Add pre-instance functions for layers
Lenny Komow [Tue, 19 Dec 2017 23:38:37 +0000 (16:38 -0700)]
loader: Add pre-instance functions for layers

Allow implicit layers (not explicit) to intercept calls before an
instance has been created.

Change-Id: I41f5bb0f5a6314fbab8003ebe71059dd04afc860

6 years agolayers: gh1649 - Fix clang warning
Mark Young [Wed, 5 Apr 2017 21:58:44 +0000 (15:58 -0600)]
layers: gh1649 - Fix clang warning

The function pointer definition for the Physical device extensions
was incorrect.  Updated to work properly and remove clang warning.

This was also causing an issue with Tony's latest test.

Change-Id: Ibdd19754a4394d1b88d3a20268238baaf3ec0907

6 years agoloader: Fix loader and layer negotiation
Mark Young [Wed, 29 Mar 2017 19:39:27 +0000 (13:39 -0600)]
loader: Fix loader and layer negotiation

Resolve missing struct sType as well as extern of
vkNegotiateLoaderAndLayerInterface as a C function.  Finally,
bump up the JSON file version so it looks for the negotiate
function.

Change-Id: I7fd4784fce6cbd0c303f7b2bb354542e4b16b1df

6 years agovulkan: update to header 1.0.42
Mark Young [Tue, 28 Feb 2017 16:58:04 +0000 (09:58 -0700)]
vulkan: update to header 1.0.42

Updated all necessary files to 1.0.42.  This includes the various
headers as well as the loader, and the parameter validation, object
tracking, and threading layers.  Additionally, bump all layer JSON
files to 1.0.42.

Also, in this change:
  - Enable loader extension automation so that the loader now
    generates all extension entry-points automatically during build
    to reduce likelihood of missing a critical piece on header
    update.
  - Enable layer dispatch table extension automation for the same
    reason.
  - Fixes from Mark Lobodzinski and Tony Barbour to resolve crash
    in loader when working with Intel's Windows driver due to
    GetInstanceProcAddr getting called on inappropriate command
    names.

Change-Id: Ic18d3fac2e145c386c0192031deb5089c91a00d8

6 years agoloader: Update the loader to 1.0.39
Mark Young [Fri, 20 Jan 2017 04:10:49 +0000 (21:10 -0700)]
loader: Update the loader to 1.0.39

Add new extensions for 1.0.39.  Also, updated layers to include
minimal set of functionality for 1.0.39 extensions. Extensions include:
 - VK_KHR_get_physical_device_properties2
 - VK_KHR_shader_draw_parameters
 - VK_EXT_direct_mode_display
 - VK_EXT_display_surface_counter
 - VK_EXT_display_control

Also, redo the LoaderAndLayerIf document.

Change-Id: I10412086da7a798afe832a3892e18f606259b5af

6 years agoheader: Update to Vulkan version 1.0.37
Mark Lobodzinski [Mon, 12 Dec 2016 16:44:34 +0000 (09:44 -0700)]
header: Update to Vulkan version 1.0.37

- header:  Updated vulkan.h
- scripts: Updated generator.py
- scripts: Updated vk.xml
- scripts: Merged recent genvk.py changes into lvl_genvk.py
- layers:  Updated json files
- loader:  Updated SOVERSION to 37
- header:  Rebuilt and updated vulkan.hpp
- layers:  Updated thread_checker for new functions
- scripts: Fix up vk_helper.py overzealous count detection

Change-Id: Ia10f5fc759166a09999f01e68bbcadb30ddf67f7

6 years agoloader: gh888 Add KHR/EXT extensions in vulkan.h
Mark Young [Fri, 1 Jul 2016 21:18:27 +0000 (15:18 -0600)]
loader: gh888 Add KHR/EXT extensions in vulkan.h

Add the KHR_display_swapchain device extension to the loader
and the core_validation layers.  This fulfills the work required in
JIRA LOAD-7 and gh 90.

Add debug_marker to the extension list.

Change-Id: I1fb70e5d44bc8c1f70fd6d1cfbd106a155081b25

6 years agolayers: Update dispatch tables for new 1.0.25 APIs
Mark Lobodzinski [Mon, 29 Aug 2016 18:14:55 +0000 (12:14 -0600)]
layers: Update dispatch tables for new 1.0.25 APIs

Change-Id: I001583402bc99f923a776b238a82db5a60398f03

6 years agolayers: Move debug action enums from vk_layer.h
Mark Lobodzinski [Tue, 24 May 2016 22:04:56 +0000 (16:04 -0600)]
layers: Move debug action enums from vk_layer.h

Moved debug-report related items from vk_layer.h. Enums are now in
vk_layer_logging.h and DbgFunctionNode has been moved into a new
loader header file vk_loader_layer.h.

Change-Id: I6031146ba474ff01ca039da44ad5d42d054383a3

6 years agolayers: Add default layer error message config
Mark Lobodzinski [Thu, 19 May 2016 21:27:18 +0000 (15:27 -0600)]
layers: Add default layer error message config

Allows layers to output error messages even if no vk_layer_settings.txt
config file is present. Sets defaults to LOG_MSG, error, stdout.
A layer settings file will override any default values. If no settings
file is present and an app creates a debug callback, the default
callbacks will be removed and unregistered.

Change-Id: I49f37189665816df58c258b9e9629f2bf76751c8

6 years agomisc: Update licenses to Apache 2.0
Jon Ashburn [Tue, 19 Apr 2016 17:30:31 +0000 (11:30 -0600)]
misc: Update licenses to Apache 2.0

Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97

6 years agolayers: Update typo in comment
ttyio [Sun, 10 Apr 2016 14:07:28 +0000 (22:07 +0800)]
layers: Update typo in comment

6 years agoUpdate vk_layer.h
Vinjn Zhang [Wed, 6 Apr 2016 07:38:24 +0000 (15:38 +0800)]
Update vk_layer.h

Correct comment for VkLayer*CreateInfo's sType

6 years agoloader: Add device callback to set dispatchable object
Jon Ashburn [Thu, 31 Mar 2016 16:52:22 +0000 (10:52 -0600)]
loader: Add device callback to set dispatchable object

Change-Id: I5ca8f532e777e2cb0facf8fe5bab4c82409f8d37

6 years agoloader: Remove the device_info in the layer chain structure
Jon Ashburn [Tue, 29 Mar 2016 18:52:13 +0000 (12:52 -0600)]
loader: Remove the device_info in the layer chain structure

    Simplifies code, the loader device structure is passed down from
    trampoline code to terminator code via the pDevice parameter. It doesn't
    need to be added to this pCreatInfo pNext list structure.

    Layers which modifiy pDevice whould do it on the way up the chain not going
    down the chain.

Change-Id: Ibf7e4ffdc1a36f52b1a99389dcab25d572655aec

6 years agoloader: Add instance callback to set dispatchable objects
Jon Ashburn [Tue, 29 Mar 2016 17:16:01 +0000 (11:16 -0600)]
loader: Add instance callback to set dispatchable objects

Change-Id: I73b8b6edfee491c53216b730c99a7ea34ade3b4e

6 years agoloader: Remove the instance_info in the layer chain structure
Jon Ashburn [Mon, 28 Mar 2016 19:58:16 +0000 (13:58 -0600)]
loader: Remove the instance_info in the layer chain structure

Simplifies code, the loader instance structure is already passed down
from trampoline code to terminator code via the pInstance parameter. It doesn't
need to be added to this pCreatInfo pNext list structure.

Layers which modifiy pInstance whould do it on the way up the chain not going
down the chain.

Change-Id: I59581b94871c094995787808cf5ae2955ad0191a

6 years agoloader: gllvl #50, Add support for the WSI extension KHR_display
Jon Ashburn [Tue, 8 Mar 2016 16:30:30 +0000 (09:30 -0700)]
loader: gllvl #50, Add support for the WSI extension KHR_display

Change-Id: I8d5ecc7500beba3042a6b9147b2f3fd3055b3b1d

6 years agomisc: Remove lunarg_debug_marker extension
Jon Ashburn [Thu, 3 Mar 2016 19:03:58 +0000 (12:03 -0700)]
misc: Remove lunarg_debug_marker extension

This device extensions was not completely supported in any layer. It had partial
support (intercept) in draw_state  and device_limits. This extension is being
changed and has a formal proposal in Khronos as debug_marker_ext. Removing
the existing extension since it is deprecated; once the debug_marker_ext gets
registered by Khronos, layers might want to start using the ObjectTag/ObjectName
commands to supplement error report messages in debug_report_ext. Since
debug_report_ext might get changed as part of Khronos review, don't add it yet.

6 years agoheader: Update 1.0.3 header revision for inclusion of debug report extension
Mark Lobodzinski [Thu, 11 Feb 2016 16:26:16 +0000 (09:26 -0700)]
header: Update 1.0.3 header revision for inclusion of debug report extension

Removed vk_ext_debug_report.h (contents moved into vulkan.h)
Renamed debug report message enums

6 years agoinclude: Use single-quote no paths when including sibling headers
Karl Schultz [Wed, 10 Feb 2016 22:41:43 +0000 (15:41 -0700)]
include: Use single-quote no paths when including sibling headers

6 years agoRemove Khronos confidential clause from license text.
Karl Schultz [Wed, 10 Feb 2016 01:07:25 +0000 (18:07 -0700)]
Remove Khronos confidential clause from license text.