platform/upstream/Vulkan-Loader.git
6 years agobuild: fix ninja on windows
Jeremy Hayes [Mon, 29 Oct 2018 21:57:54 +0000 (15:57 -0600)]
build: fix ninja on windows

Use target_compile_options to avoid setting invalid compile options on
asm targets.

Change-Id: I5d95cfd77a2d515f41c7b8c2c9193f3aff906be7

6 years agoRevert "build: Fix ninja on windows build"
Jeremy Hayes [Mon, 29 Oct 2018 19:56:59 +0000 (13:56 -0600)]
Revert "build: Fix ninja on windows build"

This reverts commit 41e6a818ff70370cf4d190d9141ee3caecf01806.

Change-Id: I48f98533126354a8c310aca7dfb321c560873955

6 years agoscripts: Extend scope of LaTeX handling
Shannon McPherson [Mon, 29 Oct 2018 17:25:49 +0000 (11:25 -0600)]
scripts: Extend scope of LaTeX handling

The 1.1.90 header introduced the use of "\textrm" in `vk.xml`, requiring
changes to `scripts/helper_file_generator.py`

Change-Id: I0ee5012611d95cfdd1715a4e870a3b2b4e7556ee

6 years agoloader: Fix multiple SubmitDebugUtils callbacks
Mark Young [Mon, 29 Oct 2018 20:54:37 +0000 (14:54 -0600)]
loader: Fix multiple SubmitDebugUtils callbacks

If an ICD also supported the VK_EXT_debug_utils extension, then
any call to vkSubmitDebutUtilsMessageEXT would get duplicated.

Change-Id: Ica3224ee598a99a925ec9343b6618d4d8ba190d0

6 years agoloader: Fix vkSubmitDebugUtilsMessageEXT
Mark Young [Mon, 29 Oct 2018 17:09:55 +0000 (11:09 -0600)]
loader: Fix vkSubmitDebugUtilsMessageEXT

If the object count was 0, then no message was reported by the loader.

Change-Id: Ia809d193fb117e85742af0db9856f896be0b2ea3

6 years agorepo: Remove MIR specific code
Tony-LunarG [Tue, 23 Oct 2018 20:08:03 +0000 (14:08 -0600)]
repo: Remove MIR specific code

Note that references in scripts/common_codegen.py and
scripts/loader_extension_generator.py will need to be
removed later

Change-Id: I7b17c80f7a06a339d7df0c199ff556212a7c6534

6 years agorepo: Fix Travis CI job for MacOS
Lenny Komow [Wed, 24 Oct 2018 20:10:27 +0000 (14:10 -0600)]
repo: Fix Travis CI job for MacOS

A change in the MacOS images caused a conflict when upgrading python3.
This change removes oclint first, since that package is the source of
the conflict

Change-Id: I990a7b0eb1f91f51fcc2ad2a0db120af49c7a754

6 years agoloader: Handle vkGetDeviceQueue2 correctly
John Anthony [Tue, 18 Sep 2018 12:19:48 +0000 (14:19 +0200)]
loader: Handle vkGetDeviceQueue2 correctly

Change-Id: I15f7677d5c6d8b4f0ff62bb7d371d173d58ae5f4

6 years agorepo: Update known good to 1.1.89
Lenny Komow [Mon, 22 Oct 2018 23:01:46 +0000 (17:01 -0600)]
repo: Update known good to 1.1.89

Change-Id: I31a45bd5e7ce076afab6e035a3fc2803be00b90f

6 years agorepo: Disable gcc 8 stringop warnings
Lenny Komow [Mon, 22 Oct 2018 22:34:26 +0000 (16:34 -0600)]
repo: Disable gcc 8 stringop warnings

GCC 8 introduced some new "stringop" wanrings. The loader deliberately
does things that trigger these warnings. As such, they should be
disabled

Change-Id: I08f640fae2930a06cbdd48095f11febfc9e866ed

6 years agoloader: Resolve incorrect error in create instance
Lenny Komow [Mon, 22 Oct 2018 19:16:56 +0000 (13:16 -0600)]
loader: Resolve incorrect error in create instance

Change-Id: Ib3f99bb150ddf9aaa36cbe08919d737f2636baf6

6 years agoloader: Override layer support and settings
Lenny Komow [Wed, 3 Oct 2018 23:44:02 +0000 (17:44 -0600)]
loader: Override layer support and settings

Add support for an override layer in the loader. This allows layers
to be set by an outside application.

Revamp the logic to detect manifest files in the various paths that
we allow them to be placed. This code significantly rewrites
loader_get_manifest_files.

Change-Id: I8abf558864b66eb71ee026ca559b0126cf2fa4e9

6 years agobuild: Fix ninja on windows build
Jeremy Hayes [Thu, 18 Oct 2018 19:09:54 +0000 (13:09 -0600)]
build: Fix ninja on windows build

Change-Id: Ie15d8a47636d228732950fb5b3462a2819d5b2af

6 years agorepo: Bump known good to 1.1.87
Lenny Komow [Thu, 11 Oct 2018 17:06:00 +0000 (11:06 -0600)]
repo: Bump known good to 1.1.87

Change-Id: If238e0fe6462cf90952d4c0132b49b46bbe96a4e

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

6 years agotests: Use specific version of gtest for CI
Tony-LunarG [Wed, 3 Oct 2018 23:54:41 +0000 (17:54 -0600)]
tests: Use specific version of gtest for CI

6 years agoscripts: Add fuchsia to platform dictionary
Shannon McPherson [Mon, 8 Oct 2018 19:43:26 +0000 (13:43 -0600)]
scripts: Add fuchsia to platform dictionary

Change-Id: I229825efa86109e3e24de722fac52179963d3e70

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

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

Change Apache 2.0 to Khronos Apache 2.0 CLA

6 years agobuild: Sync update_deps.py
Jeremy Kniager [Thu, 30 Aug 2018 14:18:43 +0000 (08:18 -0600)]
build: Sync update_deps.py

Syncing changes made to update_deps.py
in Vulkan-ValidationLayers.

Change-Id: If617596654b982023ee883fe131390c760c53532

6 years agorepo: Update known good to 1.1.85 headers
Lenny Komow [Thu, 20 Sep 2018 17:38:22 +0000 (11:38 -0600)]
repo: Update known good to 1.1.85 headers

Change-Id: If1383facdfcd39b9ac07164574bb6264dcc82100

6 years agobuild: CMakeLists.txt cleanup, part 1
Mike Weiblen [Thu, 20 Sep 2018 18:12:14 +0000 (12:12 -0600)]
build: CMakeLists.txt cleanup, part 1

This is a first pass reorganization of CMake files in this repo.
It consists primarily of dead code/variable removal, simplification,
and reformatting by latest cmake-format.

bump to cmake_minimum_required(3.4) for ccache

simplify excessive use of generator expressions

clarify why CMAKE_OSX_DEPLOYMENT_TARGET is pre-project().

clarify setting Windows install prefix if needed

remove unused DisplayServer variable

remove obsolete argument to endif()

remove unneeded ccache property RULE_LAUNCH_LINK

ccache doesn't affect linking, so the property is meaningless.

remove unneeded CMAKE_VERBOSE_MAKEFILE hardcode.

remove extra CMAKE_MODULE_PATH

remove extra cmake_minimum_required

change PYTHON_CMD to PYTHON_EXECUTABLE

change CMAKE_SYSTEM_NAME to UNIX/APPLE/WIN32
    Use consistent platform identification.
    Note that UNIX evaluates true for OSX, so whenever the code intends
    "Linux only", we use (UNIX AND NOT APPLE).

remove unneeded TARGET_NAMES variable

remove unneeded VK_LAYER_RPATH variable

change 'ln -sf' to 'cmake -E create_symlink'

reorder dependencies for clarity

rearrange order of macro arguments

rename run_vk_xml_generate to GenerateFromVkXml
rename add_vk_layer to AddVkLayer
    Borrowing from the Google style guide, use camel-case
    to more easily identify locally-defined macros/functions.

remove unneeded WRAP_SRCS variable

remove unneeded TEST_SRCS variable

move check of VulkanRegistry_FOUND

move SCRIPTS_DIR closer to point of use

move include(FindPkgConfig) earlier

move CMAKE_MACOSX_RPATH earlier

move option() eariler

move GenerateFromVkXml invocations earlier

Move invocations to be closer to the definition of the macro.
Minor edits to comments.

move API_NAME earlier

remove unused BUILDTGT_DIR variable

move add_executable() earlier

combine if(WIN32) trees

.cmake-format.py 0.4.1

reformat using cmake-format 0.4.1

Change-Id: Ia251e932dbc9a8f2655201bb12248dea8c940c30

6 years agorepo: Update known-good to 1.1.84
Lenny Komow [Tue, 11 Sep 2018 17:17:15 +0000 (11:17 -0600)]
repo: Update known-good to 1.1.84

Change-Id: I73b1337dad35d7ecf28c6acfc61c37832cc4497b

6 years agoloader: Fix unused variable compiler warning
Lenny Komow [Tue, 11 Sep 2018 15:33:03 +0000 (09:33 -0600)]
loader: Fix unused variable compiler warning

Change-Id: I331c532e55034f004b55e2738214c0301a08375e

6 years agoloader: Fix overzealous duplicate manifest warning
Lenny Komow [Thu, 23 Aug 2018 20:19:43 +0000 (14:19 -0600)]
loader: Fix overzealous duplicate manifest warning

This downgrades the warning when a manifest file is given multiple
times to a debug message (previously it was a warning). This is
because any Windows system that has multiple GPUs that use the same
driver will encounter duplicates as correct behavior.

Change-Id: Id64f4c34d58c4b806164b3e7cd7a07dab36ab88f

6 years agorepo: Bump known good to 1.1.83
Lenny Komow [Tue, 21 Aug 2018 20:23:33 +0000 (14:23 -0600)]
repo: Bump known good to 1.1.83

Change-Id: Ie85da5d3a20b8bad4f4c4a5f7429c0fb7463a7b2

6 years agoloader: Add missing entry point to gpa helper
Lenny Komow [Tue, 21 Aug 2018 16:48:56 +0000 (10:48 -0600)]
loader: Add missing entry point to gpa helper

Resolves an issue where vkGetBufferMemoryRequirements2 was not present
in gpa helper, which caused problems when calling GetProcAddr

Change-Id: I40933ec5adba54b09b88200d46b307150bb52d9d

6 years agobuild: Correct Windows architecture options
Shannon McPherson [Wed, 8 Aug 2018 21:13:49 +0000 (15:13 -0600)]
build: Correct Windows architecture options

6 years agobuild: Unify `update_deps.py` between repos
Shannon McPherson [Wed, 8 Aug 2018 20:20:59 +0000 (14:20 -0600)]
build: Unify `update_deps.py` between repos

6 years agodocs: Fix path typo in interface doc
Petr Kraus [Tue, 7 Aug 2018 15:40:05 +0000 (17:40 +0200)]
docs: Fix path typo in interface doc

6 years agoloader: Remove layer negotiation from device chain
Lenny Komow [Fri, 3 Aug 2018 21:00:44 +0000 (15:00 -0600)]
loader: Remove layer negotiation from device chain

Previously, when the loader created a device chain it would attempt
to negotiate the layer interface version. Now, it just saves the
version when creating the instance chain.

Change-Id: I8a48914474e5600e023d837b01198c23da9c8464

6 years agoloader: Save gipa and gpda ptrs in instance chain
Karl Schultz [Thu, 2 Aug 2018 23:58:42 +0000 (17:58 -0600)]
loader: Save gipa and gpda ptrs in instance chain

Change-Id: Iaf7d0084cbeb41e7542787a5b013a918a2431b82

6 years agoloader: Fix VK_EXT_debug_utils crash
Lenny Komow [Thu, 2 Aug 2018 23:24:14 +0000 (17:24 -0600)]
loader: Fix VK_EXT_debug_utils crash

Fix a crash where the debug utils extension would crash if no layers
were present that implemented a given entry point.

Change-Id: Ied1da23dfdc952893a5aaad4ae01f69bd6010523

6 years agorepo: Bump known good to 1.1.82 headers
Lenny Komow [Mon, 30 Jul 2018 16:30:14 +0000 (10:30 -0600)]
repo: Bump known good to 1.1.82 headers

Change-Id: I7ac0d6f31bd1c09d37a6436c022769bd134fea58

6 years agoFix build with CFLAGS="-std=c11 -D_GNU_SOURCE"
Tom Anderson [Thu, 26 Jul 2018 00:10:16 +0000 (17:10 -0700)]
Fix build with CFLAGS="-std=c11 -D_GNU_SOURCE"

6 years agorepo: Bump known good to 1.1.81 headers
Lenny Komow [Tue, 24 Jul 2018 22:10:55 +0000 (16:10 -0600)]
repo: Bump known good to 1.1.81 headers

Change-Id: I1da4208c4a57914e3795eef5907128d350029b1a

6 years agodocs: Remove vk_layer_dispatch_table.h from BUILD.md
Mike Weiblen [Tue, 24 Jul 2018 23:07:49 +0000 (17:07 -0600)]
docs: Remove vk_layer_dispatch_table.h from BUILD.md

Change-Id: I34fded0bcc970fd09640993ed4dfd67fbc29dcbe

6 years agodocs: Update build doc with known-good info
Lenny Komow [Tue, 24 Jul 2018 17:45:26 +0000 (11:45 -0600)]
docs: Update build doc with known-good info

Change-Id: I89fbc453e0ca2b83a3ad8ea3d0756655fe1e651f

6 years agorepo: Add handling for cron CI jobs
Lenny Komow [Tue, 24 Jul 2018 16:48:05 +0000 (10:48 -0600)]
repo: Add handling for cron CI jobs

Change-Id: I4376f1f92863115ca2a1ec818f888c61b1c8e8e5

6 years agorepo: Use update_deps.py in ci jobs
Lenny Komow [Fri, 20 Jul 2018 21:23:04 +0000 (15:23 -0600)]
repo: Use update_deps.py in ci jobs

Change-Id: Id7d72950c3b1459815fd5798daf59302463e1e64

6 years agorepo: Add update_deps.py script
Lenny Komow [Fri, 20 Jul 2018 20:21:52 +0000 (14:21 -0600)]
repo: Add update_deps.py script

This script is copied from the Vulkan-ValidationLayers repo and allows
us to track commits from external repos that are known to be good.

Change-Id: Ibd00e9824e326b7af00eb75b6c3e3029542b0464

6 years agorepo: Use version from FindVulkanHeaders in build
Lenny Komow [Thu, 19 Jul 2018 16:27:00 +0000 (10:27 -0600)]
repo: Use version from FindVulkanHeaders in build

Change-Id: I565d2e49d965588404ad9ad4ce21f59b3a5abc00

6 years agoloader: Fix detection of patch
Mark Young [Thu, 19 Jul 2018 15:48:03 +0000 (09:48 -0600)]
loader: Fix detection of patch

Karl pointed out that the patch detection wasn't that future proof.
Added his coding suggestions.

Change-Id: Ieedd53776da1835a38ed1815a20775988df94900

6 years agoloader: Update FindVulkanHeaders CMake
Mark Young [Wed, 18 Jul 2018 21:12:57 +0000 (15:12 -0600)]
loader: Update FindVulkanHeaders CMake

Update the FindVulkaHeaders.cmake file to determine the Vulkan
header latest Major/Minor/Patch version.

Change-Id: Ia2a2df56d6ca6687ccb904f6c286c82553586695

6 years agorepo: Rework test layers to use cmake generators
Lenny Komow [Fri, 13 Jul 2018 17:57:34 +0000 (11:57 -0600)]
repo: Rework test layers to use cmake generators

Change-Id: I6a09049619b7155e9f5331f0267d39f1edd42d38

6 years agoloader: GH54: Fix setfault with VK_EXT_debug_utils
Mark Young [Mon, 16 Jul 2018 15:45:55 +0000 (09:45 -0600)]
loader: GH54: Fix setfault with VK_EXT_debug_utils

The loader was not setting the device flag indicating that the
VK_EXT_debug_utils extension had been set in the instance unless
one or more device extensions had been added to the list.

This fixes the bug caught by nikitablack on StackOverflow.

Change-Id: I23c24ee059ab5a66b9dbfdb9fa9ddab009fb2118

6 years agocmake: Clean up macOS install target
Mike Schuchardt [Mon, 9 Jul 2018 15:18:19 +0000 (09:18 -0600)]
cmake: Clean up macOS install target

Stop hardcoding CMAKE_INSTALL_PREFIX to CMAKE_BINARY_DIR

6 years agoloader: Rework include dependencies
Lenny Komow [Mon, 25 Jun 2018 20:09:51 +0000 (14:09 -0600)]
loader: Rework include dependencies

This change removes the assumption that vk_layer.h will include
vk_layer_dispatch_table.h, since it will be removed from vk_layer.h
in the near future.

Change-Id: I3fed5efbc35781c96aa9d0977d046c8555e04a7c

6 years agotests: Remove validation error messages file
Mark Lobodzinski [Tue, 3 Jul 2018 18:08:46 +0000 (12:08 -0600)]
tests: Remove validation error messages file

This is unneeded for Loader and causes dependency issues.

6 years agotests: Update JSON files for 1.1.79 header
Mark Lobodzinski [Tue, 3 Jul 2018 17:18:17 +0000 (11:18 -0600)]
tests: Update JSON files for 1.1.79 header

6 years agobuild: Beautify cmake files
Mike Weiblen [Sat, 30 Jun 2018 18:07:29 +0000 (12:07 -0600)]
build: Beautify cmake files

Add .cmake-format.py
Add cmake-format docs to CONTRIBUTING.md
Minor edits to existing files

Due to a bug in cmake-format, use this script to reformat:

for i in CMakeLists.txt external/CMakeLists.txt loader/CMakeLists.txt tests/CMakeLists.txt tests/layers/CMakeLists.txt
do
    sed --in-place='' 's/^  *#/#/' $i
    cmake-format --in-place $i
done

Change-Id: I8e59c77ae184c88485a97a015ac81d4f71ac4897

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

6 years agocmake: Update Kitware copyright
Mike Weiblen [Tue, 26 Jun 2018 19:41:15 +0000 (13:41 -0600)]
cmake: Update Kitware copyright

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

6 years agorepo: Update json files from 1.1.77 to 1.1.78
Mark Lobodzinski [Tue, 26 Jun 2018 19:22:33 +0000 (13:22 -0600)]
repo: Update json files from 1.1.77 to 1.1.78

6 years agobuild: Improve googletest handling
Karl Schultz [Fri, 22 Jun 2018 21:20:48 +0000 (15:20 -0600)]
build: Improve googletest handling

Behavior is largely unchanged except that specifying BUILD_TESTS=ON
with googletest not present no longer quietly skips building the tests.

- Make inclusion of external directory unconditional.  We may someday
  put something there is not related to testing.
- Make default for BUILD_TEST dependent on googletest presence.
- Remove if() around entire contents of tests CMake file.
- Add CMake messaging to clarify googletest activity.
- Throw a CMake error if googletest not present and BUILD_TESTS=ON

6 years agoheader: Update MacOS json files for 1.1.77 header
Jeremy Kniager [Tue, 19 Jun 2018 22:37:25 +0000 (16:37 -0600)]
header: Update MacOS json files for 1.1.77 header

Change-Id: I7f04938632f42727b8b1edc15be8981c1f239649

6 years agoloader: Change a loader warning to an info message
Lenny Komow [Tue, 19 Jun 2018 20:54:53 +0000 (14:54 -0600)]
loader: Change a loader warning to an info message

The loader implemented a warning when it was unable to get layers from
the windows registry. The warning would be present even when there was
intentionally no layers available. This change makes it an info
message.

Change-Id: Ic2325daf3a402817b52fae3eb63dd854a57beb99

6 years agodoc: Update BUILD.md [skip ci]
Karl Schultz [Mon, 18 Jun 2018 19:44:40 +0000 (13:44 -0600)]
doc: Update BUILD.md [skip ci]

6 years agocmake: Fixup FOLDER properties
Karl Schultz [Thu, 14 Jun 2018 22:53:01 +0000 (16:53 -0600)]
cmake: Fixup FOLDER properties

6 years agoheader: Update json files for 1.1.77 header
Mark Lobodzinski [Wed, 13 Jun 2018 20:30:07 +0000 (14:30 -0600)]
header: Update json files for 1.1.77 header

6 years agoci: Clean up AppVeyor config file
Karl Schultz [Wed, 13 Jun 2018 15:21:14 +0000 (09:21 -0600)]
ci: Clean up AppVeyor config file

- Get rid of TOP_DIR - it wasn't set to anything
- Remove unmeeded submodule update
- Build 2 jobs instead of 4
- Use -A CMake argument instead of creating a generator string
  based on the worker image and architecture.  Instead, set the
  architecture (platform Win32 or x64) with -A and take whatever
  Visual Studio version is provided by the worker image.  The
  worker image is specified by the "os" config property.

6 years agocmake: Move loader copy to test dir
Karl Schultz [Wed, 13 Jun 2018 00:16:30 +0000 (18:16 -0600)]
cmake: Move loader copy to test dir

- Move the CMake code to copy the loader DLL from the loader target
  definition to the test target definition.  The test should be
  taking responsibility for copying this DLL and it avoids doing the
  copy if BUILD_TESTS is on and gtest is not present.
- Use better CMake code to perform the copy.

6 years agoloader: Remove function pointer casts
Józef Kucia [Fri, 8 Jun 2018 08:18:20 +0000 (10:18 +0200)]
loader: Remove function pointer casts

6 years agocmake: Prevent redefinition of uninstall target
Karl Schultz [Tue, 12 Jun 2018 21:10:23 +0000 (15:10 -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 agoloader: Fix up missing 1.1 function exports
Józef Kucia [Thu, 7 Jun 2018 08:22:34 +0000 (10:22 +0200)]
loader: Fix up missing 1.1 function exports

6 years agorepo: Make tests not try to build without gtest
Lenny Komow [Wed, 6 Jun 2018 21:40:13 +0000 (15:40 -0600)]
repo: Make tests not try to build without gtest

Change-Id: Idf3ed7bca713cb7ec1964513ac072344feaf17e6

6 years agorepo: Modify gtest build logic
Lenny Komow [Wed, 6 Jun 2018 16:55:24 +0000 (10:55 -0600)]
repo: Modify gtest build logic

Change the logic regarding building the loader tests and Google Test
to match that of Glslang and Vulkan-ValidationLayers

Change-Id: I9f5a9b5385369514e3bec979c8de75ae432d00a6

6 years agoloader: Add support for get display properties2
Lenny Komow [Thu, 31 May 2018 17:32:31 +0000 (11:32 -0600)]
loader: Add support for get display properties2

Change-Id: I14260b231dd097c85a99ab99c62876b868918869

6 years agodocs: Remove references to old repo
Mark Young [Mon, 4 Jun 2018 22:02:05 +0000 (16:02 -0600)]
docs: Remove references to old repo

Remove references to the old repo. Also, remove ninja build steps
since they are no longer valid.

Change-Id: I4a963ec7dc49af2d7d0d186079f0aee78d110d70

6 years agomake vulkan headers searchable with CMAKE_PREFIX_PATH
slava [Sun, 3 Jun 2018 08:56:11 +0000 (10:56 +0200)]
make vulkan headers searchable with CMAKE_PREFIX_PATH

6 years agodocs: Document new google test mechanism
Lenny Komow [Mon, 4 Jun 2018 17:42:37 +0000 (11:42 -0600)]
docs: Document new google test mechanism

Change-Id: Ib51d38610ba554082391495878bf0113a2885bc0

6 years agorepo: Make CI clone googletest
Lenny Komow [Fri, 1 Jun 2018 22:06:25 +0000 (16:06 -0600)]
repo: Make CI clone googletest

Change-Id: Ic942992d4fbc9701ba14e5973faed85b5b2e8c22

6 years agorepo: Remove google test submodule
Lenny Komow [Thu, 31 May 2018 22:24:31 +0000 (16:24 -0600)]
repo: Remove google test submodule

Change-Id: I25734926cdf267e565e0ab5878184a0955e435ee

6 years agodocs: Update build instructions for Vulkan-Headers
Lenny Komow [Fri, 1 Jun 2018 21:48:52 +0000 (15:48 -0600)]
docs: Update build instructions for Vulkan-Headers

Change-Id: I2897e25b3e6db340afa5a35d006ba88c0b3970b0

6 years agorepo: Make CI clone and install Vulkan-Headers
Lenny Komow [Fri, 1 Jun 2018 17:08:16 +0000 (11:08 -0600)]
repo: Make CI clone and install Vulkan-Headers

Change-Id: Ib1a3c82f829377814105d54f552ac3ef00f00681

6 years agorepo: Remove Vulkan-Headers submodule
Lenny Komow [Thu, 31 May 2018 20:18:40 +0000 (14:18 -0600)]
repo: Remove Vulkan-Headers submodule

Change-Id: I84ec2f2c07482685a275ca2d1804359f09321bad

6 years agobuild: Add FindVulkanHeaders.cmake module
Karl Schultz [Fri, 1 Jun 2018 18:17:55 +0000 (12:17 -0600)]
build: Add FindVulkanHeaders.cmake module

This is useful for locating the Vulkan headers and registry
in a Vulkan-Headers repository.

[skip ci]

6 years agoloader: Use new VkBase*Structure objects
Lenny Komow [Thu, 24 May 2018 19:20:37 +0000 (13:20 -0600)]
loader: Use new VkBase*Structure objects

The 1.1.75 Vulkan spec added two new structures, which accomplish the
same thing is the loader's VkStructureHeader. This removes the loader
struct and uses the ones from the spec.

Change-Id: I0b924b7bb45476645712f600bb6966448f67d8c7

6 years agobuild: Remove Vulkan headers from install target
Karl Schultz [Wed, 30 May 2018 23:42:14 +0000 (17:42 -0600)]
build: Remove Vulkan headers from install target

These are now installed by the Vulkan-Header repo.

6 years agodocs: Add notes for Win install target
Karl Schultz [Fri, 25 May 2018 19:46:58 +0000 (13:46 -0600)]
docs: Add notes for Win install target

[skip ci]

6 years agobuild: Activate install target for Windows.
Karl Schultz [Fri, 25 May 2018 17:37:20 +0000 (11:37 -0600)]
build: Activate install target for Windows.

6 years agorepo: Update headers to 1.1.75
Lenny Komow [Tue, 22 May 2018 22:31:46 +0000 (16:31 -0600)]
repo: Update headers to 1.1.75

Change-Id: I6ab1ec0bcbd3904b834d18637a437c700cf9e912

6 years agoscripts: Remove scripts that are in Vulkan-Headers
Lenny Komow [Tue, 22 May 2018 22:20:31 +0000 (16:20 -0600)]
scripts: Remove scripts that are in Vulkan-Headers

Change-Id: I741c441b5a7b88c496882906e59f5f50c8f289a0

6 years agodocs: Add a short readme to tests directory
Lenny Komow [Mon, 21 May 2018 21:07:21 +0000 (15:07 -0600)]
docs: Add a short readme to tests directory

6 years agotests: Add user env file for Visual Studio
Lenny Komow [Mon, 21 May 2018 19:58:53 +0000 (13:58 -0600)]
tests: Add user env file for Visual Studio

Add a .user file so that Visual Studio will properly set VK_LAYER_PATH
when running through the IDE.

6 years agotests: Make layer tests use layers from this repo
Lenny Komow [Mon, 21 May 2018 19:08:35 +0000 (13:08 -0600)]
tests: Make layer tests use layers from this repo

There are a couple of tests in the loader tests that test behavior
when enabling layers. This changes them to use layers that are present
in this repo, instead of validation layers.

6 years agodocs: Document CMake build options
Lenny Komow [Fri, 18 May 2018 15:52:22 +0000 (09:52 -0600)]
docs: Document CMake build options

Change-Id: Ic74794d7de1b7f652aa75a262ebf808cb8b6a4db

6 years agorepo: Allow BUILD_LOADER=OFF on Windows
Lenny Komow [Thu, 17 May 2018 20:59:13 +0000 (14:59 -0600)]
repo: Allow BUILD_LOADER=OFF on Windows

If the repo is built without the loader, cmake will now look for an
SDK installation on Windows. On Linux, it will look in the standard
system paths for a loader.

6 years agorepo: Remove API_NAME from cmake files
Lenny Komow [Thu, 17 May 2018 19:31:30 +0000 (13:31 -0600)]
repo: Remove API_NAME from cmake files

There used to be functionality to specify a name other than "Vulkan"
for the files, which would allow side by side installations. This
has proven to cause more trouble than it solves, so I'm removing it.

6 years agorepo: Stop building dynamic and static loaders
Lenny Komow [Thu, 17 May 2018 18:01:41 +0000 (12:01 -0600)]
repo: Stop building dynamic and static loaders

Add a cmake variable to select weather you want a dynamic or a static
loader, rather than building both every time. This avoids the
redundancy of building everything twice.

6 years agoscripts: Use vk.xml in Vulkan-Headers for codegen
Lenny Komow [Wed, 16 May 2018 21:46:30 +0000 (15:46 -0600)]
scripts: Use vk.xml in Vulkan-Headers for codegen

Change-Id: I071f5125dab74b6f646d7ddd1c996ae4c1edb672

6 years agoscripts: Remove unused scripts
Lenny Komow [Wed, 16 May 2018 17:51:00 +0000 (11:51 -0600)]
scripts: Remove unused scripts

There were numerous scripts in this repo that weren't used, but were
inherited from the old Vulkan-LoaderAndValidationLayers repo. Most
of them were validation layer codegen, but there were also some
utilities for dealing with glslang and spriv-tools.

6 years agorepo: Add MacOS config to Travis CI
Lenny Komow [Tue, 15 May 2018 17:20:09 +0000 (11:20 -0600)]
repo: Add MacOS config to Travis CI

6 years agodocs: Update MacOS build section
Jeremy Kniager [Tue, 15 May 2018 16:27:44 +0000 (10:27 -0600)]
docs: Update MacOS build section

Updated the MacOS section of
BUILD.md to reflect the repo split changes.

Change-Id: I27a2dc2e36866cdf58ed111758432bff6ecad2ad

6 years agocmake: Update header lookup location
Jeremy Kniager [Tue, 15 May 2018 16:25:33 +0000 (10:25 -0600)]
cmake: Update header lookup location

Updated the CMakeList.txt file to look for
header files in the Vulkan-Headers submodule.

Change-Id: I633e224d7b4c94e5db36e3ec67d8aeb078670d8a

6 years agocmake: Add warning if submodules not initialized
Mark Lobodzinski [Mon, 14 May 2018 20:52:49 +0000 (14:52 -0600)]
cmake: Add warning if submodules not initialized

6 years agodocs: Fix broken link in readme
Lenny Komow [Mon, 14 May 2018 19:21:38 +0000 (13:21 -0600)]
docs: Fix broken link in readme

6 years agodocs: Update readme for recent repo split
Lenny Komow [Mon, 14 May 2018 16:40:34 +0000 (10:40 -0600)]
docs: Update readme for recent repo split

6 years agorepo: Cleanup .gitignore
Karl Schultz [Sun, 13 May 2018 17:21:40 +0000 (11:21 -0600)]
repo: Cleanup .gitignore

6 years agorepo: Change project name to Vulkan-Loader
Karl Schultz [Sun, 13 May 2018 16:59:16 +0000 (10:59 -0600)]
repo: Change project name to Vulkan-Loader