Commit Graph

308 Commits

Author SHA1 Message Date
Shannon McPherson
aaca7baef0 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`
2018-10-23 10:51:05 -06:00
Shannon McPherson
b65941cc4b 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.
2018-10-11 10:59:27 -06:00
Khronos Group Webmaster
ba4c50ae55
Create CODE_OF_CONDUCT.md 2018-10-10 16:06:12 -04:00
Khronos Group Webmaster
f98909b8bc
Revert LICENSE to Apache 2.0 2018-10-03 10:16:17 -04:00
Khronos Group Webmaster
79ea168fa9
Update LICENSE.txt
Change Apache 2.0 to Khronos Apache 2.0 CLA
2018-09-27 16:23:05 -04:00
Mike Schuchardt
2fd5a24ec4 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.
2018-09-20 11:13:41 -07:00
Shannon McPherson
241c5158bd headers: Update to Vulkan-Headers version 1.1.84
- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h
2018-09-10 13:53:32 -06:00
Mike Weiblen
6b47ce4d93 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
2018-09-07 13:51:11 -06:00
Mike Weiblen
5f3d50b590 repo: Add to vim temp files to .gitignore
Change-Id: I7e984bcb38f3942bb2ae0709cb67e6c15cada128
2018-09-07 13:48:52 -06:00
Mike Weiblen
d8daf1785c repo: Add .gitattributes file
Every git repo should have a .gitattributes file.

Change-Id: I351b5ab5b5d089ffc96b2a211a2e39ddda5cc397
2018-09-07 13:45:38 -06:00
Shannon McPherson
db09f95ac0 headers: Update to version 1.1.83 of Vulkan hdr
- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h
2018-08-21 12:30:22 -06:00
Shannon McPherson
c4e056d365 headers: Update to version 1.1.82 of the Vulkan hdr
- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h
2018-07-30 10:22:29 -06:00
Shannon McPherson
82e73015b0 headers: Update to version 1.1.81 of the Vulkan hdr
- updated validusage.json
- updated vk.xml
- updated vulkan.hpp
- updated vulkan_core.h
2018-07-24 10:16:26 -06:00
Mark Lobodzinski
c339af8209 headers: Update validusage.json for 1.1.80 hdr 2018-07-18 08:47:26 -06:00
Mark Lobodzinski
ec4eff88f7 headers: Update to version 1.1.80 of the Vulkan hdr
- updated vulkan.hpp
- updated vulkan_core.h
- updated vk.xml
2018-07-16 14:58:10 -06:00
Mark Lobodzinski
c8ad0c5863 docs: Fix whitespace 2018-07-16 14:58:10 -06:00
Karl Schultz
718a04e51b
docs: Update README to explain contents origins 2018-07-11 06:41:24 -06:00
Lenny Komow
396f82798a 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.
2018-07-06 11:03:23 -06:00
Mark Lobodzinski
1ebb2c0f7d header: Update to version 1.1.79 of the Vulkan hdr
- update vk.xml
- update vulkan_core.h
- update validusage.json
- update vulkan.hpp
2018-07-03 11:23:22 -06:00
Mike Weiblen
0642c1b859 build: Beautify cmake files
Add the formatter config file (.cmake-format.py) and run:
cmake-format -i CMakeLists.txt
2018-06-27 11:25:45 -06:00
Mike Weiblen
6cb0f5b3cc build: Insert copyright in cmake files 2018-06-27 11:25:00 -06:00
Mike Weiblen
4be87abcfa cmake: Add Kitware copyright
Get latest Kitware copyright notice from
https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt @ d45d5e2
2018-06-27 11:24:55 -06:00
Mark Lobodzinski
0eb9f92e99 header: Update to version 1.1.78 of the Vulkan hdr
- update vk.xml
- update vulkan_core.h
- updated validusage.json
- updated vulkan.hpp
2018-06-26 13:25:36 -06:00
Karl Schultz
763929122b build: Add .vscode to .gitignore 2018-06-20 10:56:19 -06:00
Karl Schultz
06a71b203e doc: Update BUILD.md [skip ci] 2018-06-18 19:48:55 -06:00
Mark Lobodzinski
b1577d5fbd headers: Update to version 1.1.77 of the Vulkan hdr
- updated vk.xml
- updated vulkan_core.h
- updated validusage.json
- updated vulkan.hpp
2018-06-13 15:31:51 -06:00
Karl Schultz
70413b6dcb 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.
2018-06-12 15:06:34 -06:00
Mike Schuchardt
634e3658d6 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 acadd71e08.
2018-06-06 14:27:29 -06:00
Mark Lobodzinski
acadd71e08 headers: Revert "Update to 1.1.76 headers"
This reverts commit 81f9735a65.

76 Header update broke master Validation-Layers build. Will
repush with accompanying fixes shortly.
2018-06-05 16:43:52 -06:00
Mike Schuchardt
81f9735a65 Update to 1.1.76 headers 2018-06-05 09:58:35 -06:00
Karl Schultz
afd12b7bdc build: Add CMake files for install target 2018-05-30 17:38:30 -06:00
Mike Schuchardt
a901a3edf2 Add .gitignore with python cache files
Prevents Vulkan-Headers from complaining about untracked files when used
as a submodule
2018-05-22 16:27:19 -06:00
Mike Schuchardt
6bebd0015b 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
2018-05-22 16:02:28 -06:00
Tapani Pälli
eb0c1fd44c 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>
2018-05-17 09:07:05 -06:00
Karl Schultz
a49d2cde4d docs: Add LICENSE.txt 2018-05-11 12:13:48 -06:00
Mark Lobodzinski
0a79de4ecc headers: Added 1.74.0 Vulkan header/registry files 2018-05-09 11:25:36 -06:00
Dave Houlton
fd051d36f7 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
2018-05-04 09:31:34 -06:00
Jon Ashburn
5b95004c15 misc: Update licenses to Apache 2.0
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
2018-05-04 09:31:34 -06:00
Karl Schultz
06de94a677 Remove Khronos confidential clause from license text. 2018-05-04 09:31:34 -06:00
Karl Schultz
b6ac9429c6 include: Update copyright and apply clang-format (no logic changes) 2018-05-04 09:31:34 -06:00
Mark Young
7b701c3fef Fixes: Fixed Visual Studio warnings during compilation.
Changes to properly detect proper Visual Studio and fix build warnings.
2018-05-04 09:31:34 -06:00
David Pinedo
14db1e07a0 Moved header files from include to include/vulkan 2018-05-04 09:31:33 -06:00
Lenny Komow
fba227b4a3 loader: Extend pre-instance intercepts for 1.1
Add the ability to intercept vkEnumerateInstanceVersion through the
pre-instance intercept mechanism
2018-05-04 09:24:26 -06:00
Lenny Komow
877223eff1 loader: Add pre-instance functions for layers
Allow implicit layers (not explicit) to intercept calls before an
instance has been created.

Change-Id: I41f5bb0f5a6314fbab8003ebe71059dd04afc860
2018-05-04 09:24:25 -06:00
Mark Young
1ccf86fb60 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
2018-05-04 09:24:25 -06:00
Mark Young
5f3d8fa4ea 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
2018-05-04 09:24:25 -06:00
Mark Young
d1a417f036 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
2018-05-04 09:24:25 -06:00
Mark Young
f4a6605fcc 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
2018-05-04 09:24:25 -06:00
Mark Lobodzinski
3c68429b63 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
2018-05-04 09:24:25 -06:00
Mark Young
e236ae4848 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
2018-05-04 09:24:25 -06:00