platform/upstream/Vulkan-Tools.git
5 years agoadd the spec file accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified_hotfix devel_package tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.004813 accepted/tizen/5.5/unified/mobile/hotfix/20201027.071609 accepted/tizen/5.5/unified/wearable/hotfix/20201027.104240 accepted/tizen/6.0/unified/hotfix/20201103.045912 accepted/tizen/unified/20181228.115150 submit/tizen/20181227.054638 submit/tizen/20181228.024305 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185108 submit/tizen_5.5_wearable_hotfix/20201026.184308 submit/tizen_6.0/20201029.205504 submit/tizen_6.0_hotfix/20201102.192904 submit/tizen_6.0_hotfix/20201103.115104 tizen_5.5.m2_release tizen_6.0.m2_release
SooChan Lim [Fri, 30 Nov 2018 05:27:50 +0000 (14:27 +0900)]
add the spec file

5 years agocube: Update cube/vkcube naming upstream/1.1.92
Lenny Komow [Tue, 20 Nov 2018 00:08:04 +0000 (17:08 -0700)]
cube: Update cube/vkcube naming

Change-Id: I633c97e9b82a6b5069cc2e7a83106f5d17600c6b

5 years agovulkaninfo: More spacing cleanup
Jeff Smith [Tue, 13 Nov 2018 19:22:33 +0000 (13:22 -0600)]
vulkaninfo: More spacing cleanup

Additional spacing cleanup in the surface capabilities section.

5 years agobuild: Update known-good for 1.1.92 header
Shannon McPherson [Tue, 13 Nov 2018 20:15:03 +0000 (13:15 -0700)]
build: Update known-good for 1.1.92 header

Updated:
- `build-android/vulkan-headers_revision_android`
- `scripts/known_good.json`

Change-Id: Id7ddc93bc242f35270a16e8728865cfc55cd905f

5 years agovulkaninfo: Remove unnecessary spacing
Mark Young [Tue, 13 Nov 2018 17:46:59 +0000 (10:46 -0700)]
vulkaninfo: Remove unnecessary spacing

Removed some unnecessary spacing after @whydoubt's Wayland
changes.

Change-Id: Ia076dc1f8b45a75efc8f06eea4092996d230c474

5 years agovulkaninfo: Add wayland surface extension support
Jeff Smith [Thu, 30 Aug 2018 02:50:51 +0000 (21:50 -0500)]
vulkaninfo: Add wayland surface extension support

Added code for setting up a Wayland surface and dumping information
about it when the VK_KHR_wayland_surface extension is present.

5 years agovulkaninfo: Describe multiple surface extensions
Jeff Smith [Thu, 30 Aug 2018 03:34:16 +0000 (22:34 -0500)]
vulkaninfo: Describe multiple surface extensions

Describe all available surface extensions, and adjust formatting of
human-readable output to improve appearance when describing multiple
surface extensions.

5 years agovulkaninfo: Create AppDumpSurfaceExtensions
Jeff Smith [Fri, 31 Aug 2018 06:03:25 +0000 (01:03 -0500)]
vulkaninfo: Create AppDumpSurfaceExtensions

Refactored the code for setting up and dumping information about each
available surface extension.

5 years agobuild: Update MoltenVK commit and CMake files
Jeremy Kniager [Fri, 9 Nov 2018 22:34:16 +0000 (15:34 -0700)]
build: Update MoltenVK commit and CMake files

Update MoltenVK commit ID in known_good.json
and modified CMake files for cube, cubepp, and
vulkaninfo to accomidate the new file structure
of the MoltenVK repo.

Change-Id: I229aa1403b5d1d47060560876b177ae93190391e

5 years agoscripts: Fix windows paths in helper.cmake
Mike Schuchardt [Fri, 9 Nov 2018 00:44:13 +0000 (16:44 -0800)]
scripts: Fix windows paths in helper.cmake

Normalize (all slashes going the same direction) and escape ("\" to "\\")
paths when writing helper.cmake.  CMake was previously interpreting the
single '\' characters and whatever followed as invalid escape sequences.
Linux and macOS are unaffected.

5 years agocube: Fix fixup_bundle not set to proper cube
Jeremy Kniager [Thu, 8 Nov 2018 23:20:42 +0000 (16:20 -0700)]
cube: Fix fixup_bundle not set to proper cube

Changed fixup_bundle pointing at cube.app and
cubepp.app to point to vkcube.app and vkcubepp.app

5 years agoRename cube and cubepp exes to vkcube and vkcubepp
Tony-LunarG [Wed, 31 Oct 2018 22:10:48 +0000 (16:10 -0600)]
Rename cube and cubepp exes to vkcube and vkcubepp

Change-Id: Iaecb0e7e21a086c8523b8cd4bc9eccd05e1cbca0

5 years agobuild: Update known-good for 1.1.91 header
Shannon McPherson [Wed, 7 Nov 2018 17:30:54 +0000 (10:30 -0700)]
build: Update known-good for 1.1.91 header

Updated:
- `scripts/known_good.json`

Change-Id: Ia07d6af7a77e835f413d7eecfdc8ef47267744b7

5 years agocmake: Fix build crashing on make install
Jeremy Kniager [Wed, 31 Oct 2018 22:36:15 +0000 (16:36 -0600)]
cmake: Fix build crashing on make install

Fixed make install crashing when running
fixup_bundle on MacOS

Change-Id: I2aee07c8a5235fcf2fc559d6d9774c48e1792e38

6 years agolayers: Bump glslang known-good
Shannon McPherson [Fri, 2 Nov 2018 16:08:04 +0000 (10:08 -0600)]
layers: Bump glslang known-good

Updated:
- `scripts/known_good.json`

Change-Id: I5fe86c76b7df569b1c87566e2c32c9a2b76f8c13

6 years agoscripts: Update known-good for 1.1.90 header
Shannon McPherson [Thu, 1 Nov 2018 15:20:47 +0000 (09:20 -0600)]
scripts: Update known-good for 1.1.90 header

Change-Id: I655aaa453c5cffc928e769e3267503dd5afeb55d

6 years agoscripts: Extend scope of LaTeX handling
Shannon McPherson [Mon, 29 Oct 2018 22:04:34 +0000 (16:04 -0600)]
scripts: Extend scope of LaTeX handling

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

Change-Id: Ia43b516ac56b4e3cd82272761ef1b524eea72944

6 years agodemos: Fix cubepp with latest vulkan.hpp
Mike Schuchardt [Mon, 29 Oct 2018 20:23:08 +0000 (13:23 -0700)]
demos: Fix cubepp with latest vulkan.hpp

Add explicit casts for nullptr values passed to vulkan.hpp so the
correct function overload is selected.

6 years agorepo: Remove MIR specific code.
Tony-LunarG [Mon, 22 Oct 2018 17:42:03 +0000 (11:42 -0600)]
repo: Remove MIR specific code.

Still need to remove MIR from scripts/common_codegen.py
and from the Vulkan wrapper.

Change-Id: Ib00cbe10b3e80878fb5e15c1e628685f33d31331

6 years agomock_icd: fix vkGetEventStatus output
Shahbaz Youssefi [Fri, 19 Oct 2018 19:55:42 +0000 (15:55 -0400)]
mock_icd: fix vkGetEventStatus output

VK_SUCCESS is not a valid return value for this function.  VK_EVENT_SET
is used instead.

6 years agobuild: Update MoltenVK known_good.json
Jeremy Kniager [Tue, 16 Oct 2018 20:04:46 +0000 (14:04 -0600)]
build: Update MoltenVK known_good.json

Updated MoltenVK commit ID in known_good.json.

Change-Id: I90365c153bec14a54422fb6400f97a5e05355286

6 years agobuild: Update known-good for 1.1.87 header
Shannon McPherson [Fri, 12 Oct 2018 16:05:21 +0000 (10:05 -0600)]
build: Update known-good for 1.1.87 header

Change-Id: Idd2f285653deb0eb70eacd5fd649e74d7723f964

6 years agoscripts: Add fuchsia to platform dictionary
Shannon McPherson [Tue, 9 Oct 2018 22:02:22 +0000 (16:02 -0600)]
scripts: Add fuchsia to platform dictionary

Change-Id: I9b7027a1dd11f5ea7d3b502c62f4edd05416fd52

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

6 years agoIgnore window erases
Aaron Hagan [Thu, 4 Oct 2018 01:56:29 +0000 (21:56 -0400)]
Ignore window erases

6 years agobuild: Add Shannon to CI email notifications
Shannon McPherson [Wed, 3 Oct 2018 22:53:43 +0000 (16:53 -0600)]
build: Add Shannon to CI email notifications

6 years agobuild: Update MoltenVK known_good.json
Jeremy Kniager [Thu, 13 Sep 2018 17:32:42 +0000 (11:32 -0600)]
build: Update MoltenVK known_good.json

Updated MoltenVK commit ID in known_good.json

Change-Id: Ibf3501e451b700dd44a7f595a98648f30f05e4ee

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

Syncing update_deps.py with changes
made in Vulkan-ValidationLayer

Change-Id: If2369787e27e37e4d595a41d3d17a8bc991d9a30

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

6 years agorepo: Update glslang known good
Lenny Komow [Thu, 27 Sep 2018 20:30:41 +0000 (14:30 -0600)]
repo: Update glslang known good

Change-Id: Ie35e275c84bc3e955a2cdc2eaafe9073e5fca044

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

Change Apache 2.0 to Khronos Apache 2.0 CLA

6 years agocube: Use staging buffer instead of staging image
Tony-LunarG [Fri, 21 Sep 2018 19:47:06 +0000 (13:47 -0600)]
cube: Use staging buffer instead of staging image

There is no guarantee that linear images are supported

Change-Id: Ie59f3bf7bfc1d77e17f1d06ffc524e886dca46a6

6 years agorepo: Update known good commits for 1.1.85
Lenny Komow [Thu, 20 Sep 2018 22:16:11 +0000 (16:16 -0600)]
repo: Update known good commits for 1.1.85

Change-Id: I4b4be8815a45e8cd0c2356fc03c4dabf99b664f2

6 years agocube: Use working url to fetch glslang binaries
Tony-LunarG [Mon, 17 Sep 2018 17:34:24 +0000 (11:34 -0600)]
cube: Use working url to fetch glslang binaries

Change-Id: I6157cf2210c1249ce9a6bcf0ed6279597b16a53f

6 years agocube: Look for GLSLANG_INSTALL_DIR env variable
Tony-LunarG [Mon, 17 Sep 2018 16:55:05 +0000 (10:55 -0600)]
cube: Look for GLSLANG_INSTALL_DIR env variable

Change-Id: I2df195a1b100a51a7a5d7be827743d3dd9c5da46

6 years agobuild: CMakeLists.txt cleanup, part 1
Mike Weiblen [Thu, 16 Aug 2018 20:09:08 +0000 (14:09 -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 support.

add USE_CCACHE

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

clarify why CMAKE_OSX_DEPLOYMENT_TARGET is pre-project().

sync FindVulkan.cmake from upstream CMake v3.8.0
  Ensure our repos use identical copy of upstream FindVulkan.cmake
  Copied from Modules/FindVulkan.cmake
  https://gitlab.kitware.com/cmake/cmake.git
  tag: v3.8.0 (commit da7833c5bb1f331162d46a2c664a443c1c641089)

change $<CONFIGURATION> to $<CONFIG>
  The $<CONFIGURATION> genexp is officially deprecated.

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

change TOOLS_TARGET_FOLDER to TOOLS_HELPER_FOLDER
  for consistency with VVL and VL repos.

set Windows install prefix if needed

remove unused DisplayServer variable

remove deprecated GLSLANG_REPO_ROOT
  The *_REPO_ROOT mechanism for finding packages is deprecated.

remove extra cmake_minimum_required

change LIBVK to Vulkan::Vulkan

change PYTHON_CMD to PYTHON_EXECUTABLE

section rulers, other cosmetics

.cmake-format.py 0.4.1

reformat using cmake-format 0.4.1

Change-Id: Id8e5b26fdcf5dc0b383de94cbec75a567704a55e

6 years agocube: Fix new validation error
Karl Schultz [Tue, 11 Sep 2018 22:23:14 +0000 (16:23 -0600)]
cube: Fix new validation error

As of Vulkan-ValidationLayers commit 2872f4a, the layers now check that
image layouts specified in descriptors match the current image layout
state.  LAYOUT_GENERAL is not a wildcard for this matching.

Change the image layouts for the combined image sampler descriptors
from LAYOUT_GENERAL to LAYOUT_SHADER_READ_ONLY_OPTIMAL.

6 years agovulkaninfo: Add VK_KHR_8bit_storage support
Jeremy Kniager [Wed, 27 Jun 2018 20:56:49 +0000 (14:56 -0600)]
vulkaninfo: Add VK_KHR_8bit_storage support

Added output for VkPhysicalDevice8bitStorageFeaturesKHR
struct info

Change-Id: I906a49e6e541e95cbd3b48db7b836921d1f09f33

6 years agorepo: Update known-good for Vulkan-Headers
joey-lunarg [Wed, 22 Aug 2018 22:13:51 +0000 (16:13 -0600)]
repo: Update known-good for Vulkan-Headers

Change-Id: I1fa27ee2564cf676418be543d6e2e2cb7f1cd906

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

6 years agovulkaninfo: Remove warning msgs from json output
Shannon McPherson [Wed, 1 Aug 2018 21:16:46 +0000 (15:16 -0600)]
vulkaninfo: Remove warning msgs from json output

Messages emitted from the DbgCallback function were previously sent to
stdout. These messages are now sent to stderr and no longer affect the
validity of json output.

6 years agowinrt: Delete old rtf license file if present
Lenny Komow [Wed, 1 Aug 2018 21:06:09 +0000 (15:06 -0600)]
winrt: Delete old rtf license file if present

6 years agobuild: Add known-good support
joey-lunarg [Thu, 26 Jul 2018 16:35:39 +0000 (10:35 -0600)]
build: Add known-good support

Change-Id: I05fe4162054fc90edd1642ab08644f6ee7950548

6 years agorepo: Update layer json versions
Joey Bzdek [Mon, 30 Jul 2018 21:28:20 +0000 (15:28 -0600)]
repo: Update layer json versions

Change-Id: I5d36af8c799c19a18e592522b3cfb5f9b0d063ea

6 years agovulkaninfo: Fix output whitespace irregularities
Shannon McPherson [Thu, 26 Jul 2018 16:08:45 +0000 (10:08 -0600)]
vulkaninfo: Fix output whitespace irregularities

6 years agovulkaninfo: Change titles to unify naming scheme
Shannon McPherson [Wed, 25 Jul 2018 22:18:32 +0000 (16:18 -0600)]
vulkaninfo: Change titles to unify naming scheme

6 years agovulkaninfo: Fix html output for multiple gpus
Shannon McPherson [Wed, 25 Jul 2018 22:15:50 +0000 (16:15 -0600)]
vulkaninfo: Fix html output for multiple gpus

This change addresses erroneous indentation and nesting of html output
when multiple gpus are present

6 years agoscript: Fix fetch_glslangvalidator.py SSL error
Jeremy Kniager [Wed, 18 Jul 2018 17:09:49 +0000 (11:09 -0600)]
script: Fix fetch_glslangvalidator.py SSL error

Changed urllib.request.urlretrieve to
urllib.request.urlopen and set to not check SSL

Change-Id: Ia4fa57ef698cc2110c9b19f0715d0eacdf9a00e7

6 years agovulkaninfo: Add device+driver UUID/LUID/NodeMask
James Jones [Wed, 18 Jul 2018 19:08:11 +0000 (12:08 -0700)]
vulkaninfo: Add device+driver UUID/LUID/NodeMask

When the VK_KHR_external_memory extension is
present, the device UUID, LUID, NodeMask, and
driverUUID are now printed in addition to the
other per-GPU VkPhysicalDevice info.

6 years agocmake: Clean up macOS install target
Mike Schuchardt [Wed, 27 Jun 2018 21:58:49 +0000 (15:58 -0600)]
cmake: Clean up macOS install target

- Stop hardcoding CMAKE_INSTALL_PREFIX to CMAKE_BINARY_DIR so install
  products are in a predictable location
- Use install/fixup_bundle to create stand-alone app bundles for cube,
  cubepp, vulkaninfo-bundle at CMAKE_INSTALL_PREFIX
- Set INSTALL_RPATH_USE_LINK_PATH for bundle targets so fixup_bundle can
  find libraries when run from the install tree
- Remove rpath from install copy of vulkaninfo
- Remove extraneous copy of libMoltenVK.dylib from CMAKE_INSTALL_PREFIX/demos
- Update BUILD.md

6 years agoicd: Update json files for 1.1.79 header
Mark Lobodzinski [Tue, 3 Jul 2018 17:22:54 +0000 (11:22 -0600)]
icd: Update json files for 1.1.79 header

6 years agovulkaninfo: Fix warnings in maintenance3 printing
Jeremy Kniager [Mon, 2 Jul 2018 21:17:31 +0000 (15:17 -0600)]
vulkaninfo: Fix warnings in maintenance3 printing

Fixed incorrect number of arguments in print statements
for VkPhysicalDeviceMaintenance3PropertiesKHR.

Change-Id: If69e6873964364f324853ff996a4e405877f771a

6 years agobuild: Beautify cmake files
Mike Weiblen [Sun, 1 Jul 2018 04:50:43 +0000 (22:50 -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 cube/CMakeLists.txt cube/macOS/cube/cube.cmake cube/macOS/cubepp/cubepp.cmake icd/CMakeLists.txt mac_common.cmake vulkaninfo/CMakeLists.txt vulkaninfo/macOS/vulkaninfo.cmake
do
    sed --in-place='' 's/^  *#/#/' $i
    cmake-format --in-place $i
done

Change-Id: Ie451aacd7402828ad4d62adc04048449d0ea2abe

6 years agovulkaninfo: Add VK_KHR_maintenance3 support
Jeremy Kniager [Wed, 27 Jun 2018 17:49:49 +0000 (11:49 -0600)]
vulkaninfo: Add VK_KHR_maintenance3 support

Added output for VkPhysicalDeviceMaintenance3Properties
struct info.

Change-Id: I8c7a21e27d0bdaf77af49881d777764f854d874c

6 years agocmake: Update CMake to check env for MoltenVK
Jeremy Kniager [Mon, 25 Jun 2018 17:56:55 +0000 (11:56 -0600)]
cmake: Update CMake to check env for MoltenVK

Updated CMake files to use MOLTENVK_REPO_ROOT as an
environment variable if no CMake argument is provided.
CMake argument takes priority over environment variable.

Change-Id: I661a56f7bc6c8c43fe4d4f7013e26dde87fb41e4

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

6 years agocmake: Add Kitware copyright
Mike Weiblen [Tue, 26 Jun 2018 19:47:34 +0000 (13:47 -0600)]
cmake: Add 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:21:04 +0000 (13:21 -0600)]
repo: Update json files from 1.1.77 to 1.1.78

6 years agodocs:Fix Linux cmake instructions
Tobin Ehlis [Fri, 22 Jun 2018 13:05:57 +0000 (07:05 -0600)]
docs:Fix Linux cmake instructions

Missing ".."

6 years agoheader: Update MacOS json files to 1.1.77 header
Jeremy Kniager [Tue, 19 Jun 2018 23:26:13 +0000 (17:26 -0600)]
header: Update MacOS json files to 1.1.77 header

Change-Id: I41477ea32e73987983baee80e1b8fbd3e0f3d671

6 years agowinrt: Update line wrapping in license file
Lenny Komow [Tue, 19 Jun 2018 21:44:42 +0000 (15:44 -0600)]
winrt: Update line wrapping in license file

6 years agodoc: Update BUILD.md [skip ci]
Karl Schultz [Tue, 19 Jun 2018 01:51:43 +0000 (19:51 -0600)]
doc: Update BUILD.md [skip ci]

6 years agobuild: Fix dest of vcxproj file copy
Karl Schultz [Mon, 18 Jun 2018 22:49:45 +0000 (16:49 -0600)]
build: Fix dest of vcxproj file copy

These vcxproj.user files are not useful anyway since the
layers dir isn't here.  But this fix at least prevents the
creation of a demos directory in the build dir.

6 years agoandroid: Restore toolchain update in build_all
Cody Northrop [Fri, 15 Jun 2018 21:16:11 +0000 (15:16 -0600)]
android: Restore toolchain update in build_all

6 years agodocs: Fix typos in BUILD.md [skip ci]
Karl Schultz [Fri, 15 Jun 2018 20:17:00 +0000 (14:17 -0600)]
docs: Fix typos in BUILD.md [skip ci]

6 years agowinrt: Add the windows runtime installer sources
Lenny Komow [Thu, 14 Jun 2018 22:21:18 +0000 (16:21 -0600)]
winrt: Add the windows runtime installer sources

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

- 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.
- Reduce jobs from 4 to 2
- Remove AppVeyor caching of the external directory; this
  directory was not being used anyway.

6 years agoheader: Update json files to match 1.1.77 header
Mark Lobodzinski [Wed, 13 Jun 2018 20:25:37 +0000 (14:25 -0600)]
header: Update json files to match 1.1.77 header

6 years agoscripts: Remove local copies of registry files
Mark Lobodzinski [Wed, 13 Jun 2018 17:34:08 +0000 (11:34 -0600)]
scripts: Remove local copies of registry files

6 years agobuild: Use registry files from vulkan-headers
Mark Lobodzinski [Wed, 13 Jun 2018 17:33:15 +0000 (11:33 -0600)]
build: Use registry files from vulkan-headers

6 years agocmake: Use FindVulkanHeaders to get vulkan includes
Mark Lobodzinski [Wed, 13 Jun 2018 17:03:46 +0000 (11:03 -0600)]
cmake: Use FindVulkanHeaders to get vulkan includes

6 years agoscripts: Rename helper file generator script
Mark Lobodzinski [Wed, 13 Jun 2018 16:34:54 +0000 (10:34 -0600)]
scripts: Rename helper file generator script

6 years agoscripts: Rename lvl_genvk.py to kvt_genvk.py
Mark Lobodzinski [Wed, 13 Jun 2018 17:37:44 +0000 (11:37 -0600)]
scripts: Rename lvl_genvk.py to kvt_genvk.py

6 years agoicd: Update for changes in 1.1.75 registry
Mark Lobodzinski [Wed, 13 Jun 2018 17:32:29 +0000 (11:32 -0600)]
icd: Update for changes in 1.1.75 registry

6 years agocmake: Prevent redefinition of uninstall target
Mark Lobodzinski [Tue, 12 Jun 2018 16:30:18 +0000 (10:30 -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 agorepo: Remove interim REPO_ROOT CMake code
Karl Schultz [Thu, 7 Jun 2018 22:55:11 +0000 (16:55 -0600)]
repo: Remove interim REPO_ROOT CMake code

And a few other misc cleanups

6 years agocmake: Fix macOS CMake files to include dylib file
Jeremy Kniager [Thu, 7 Jun 2018 17:56:08 +0000 (11:56 -0600)]
cmake: Fix macOS CMake files to include dylib file

Fixed CMake files for macOS to include the vulkan dylib loader
file in the bundles instead of the vulkan framework file.

Change-Id: Ib59873fc392c8894d8a85b5a10bc0f17aa29061a

6 years agoandroid: Fix CI for Android
Karl Schultz [Wed, 6 Jun 2018 17:13:37 +0000 (11:13 -0600)]
android: Fix CI for Android

6 years agorepo: Reorg to remove Vulkan-Headers submodule
Karl Schultz [Tue, 5 Jun 2018 20:21:36 +0000 (14:21 -0600)]
repo: Reorg to remove Vulkan-Headers submodule

- Remove Vulkan-Headers submodule
- Add CMake code to add VULKAN_HEADERS_INSTALL_DIR and
  VULKAN_LOADER_INSTALL_DIR to search when locating
  Vulkan headers and loader
- CI adjustments for new model
- BUILD.md updates
- Travis-CI Android build temporarily disabled

Fixes #20

6 years agoci: fix travis syntax bug
Karl Schultz [Tue, 5 Jun 2018 21:47:53 +0000 (15:47 -0600)]
ci: fix travis syntax bug

6 years agobuild: Fix CI for updated Vulkan-Loader
Karl Schultz [Tue, 5 Jun 2018 16:50:43 +0000 (10:50 -0600)]
build: Fix CI for updated Vulkan-Loader

Adapt to Vulkan-Loader getting rid of Vulkan-Headers submodule.
Get and build Vulkan-Headers and fix Vulkan-Loader build to use it.

6 years agocube: Fix separate present queue validation errors
Tony-LunarG [Wed, 30 May 2018 20:53:14 +0000 (14:53 -0600)]
cube: Fix separate present queue validation errors

From the spec:

Whilst it is not invalid to provide destination or source access
masks for memory barriers used for release or acquire operations,
respectively, they have no practical effect. Access after a release
operation has undefined results, and so visibility for those accesses
has no practical effect. Similarly, write access before an acquire
operation will produce undefined results for future access,
so availability of those writes has no practical use. In an earlier
version of the specification, these were required to match on both
sides - but this was subsequently relaxed.
These masks should be set to 0.

Change-Id: I495dc86ad62c0651fbc6acbfb0dfbb8245a324be

6 years agodocs: Update build doc
Mark Young [Mon, 4 Jun 2018 22:28:24 +0000 (16:28 -0600)]
docs: Update build doc

Change-Id: I8764e470fe11646fc13cc62e73761c09e2779f6a

6 years agocube: Explicitly set QueueFamilyIndex(s) to QUEUE_FAMILY_IGNORED
Tony-LunarG [Wed, 30 May 2018 17:33:19 +0000 (11:33 -0600)]
cube: Explicitly set QueueFamilyIndex(s) to QUEUE_FAMILY_IGNORED

The QueueFamilyIndex fields only come into play when you want
to use an image in two or more queues from different queue
families, which cube does not do.

Change-Id: I610aa8899539eeb25ca06254b88e6a6d0a2ffc97

6 years agobuild: Add cube(pp) to install target
Karl Schultz [Tue, 29 May 2018 19:09:22 +0000 (13:09 -0600)]
build: Add cube(pp) to install target

- Modify cube and cubepp to obtain the texture image data from
  an include file instead of reading a PPM file at runtime.
  (This is the way it works for Android)
  This removes the need to install an image file or otherwise
  make an image file available in a repo build.
- Add cube and cubepp to the install target.

Note: The file handling code is left in place to make it easy
to add a "-texture_file <file>" option so a user can pass in
a texture file.

Fixes #5

6 years agocube: Remove last DebugReport
Mark Young [Wed, 30 May 2018 14:43:00 +0000 (08:43 -0600)]
cube: Remove last DebugReport

We still had the debug report detection code in cube.  This removes
the last bits of it.

Change-Id: I09559cd56ee4779453221c810d8328cb4c864aef

6 years agocube: Add missing free in IPD code
Karl Schultz [Mon, 28 May 2018 22:16:47 +0000 (16:16 -0600)]
cube: Add missing free in IPD code

Fixes #11

6 years agocmake: Add WSI Build Support Options
Jeremy Kniager [Tue, 22 May 2018 15:20:38 +0000 (09:20 -0600)]
cmake: Add WSI Build Support Options

Fixed CMakelists.txt for vulkaninfo
to generate build files on
Linux with the selected WSI options.

Change-Id: Ied83f0e24dbd08af2ef03066fdfa1443203aa4ad

6 years agobuild: Enable install targets on Windows
Karl Schultz [Mon, 28 May 2018 21:14:19 +0000 (15:14 -0600)]
build: Enable install targets on Windows

Note: cube is not yet being installed.

6 years agoicd: Add a memory format that is unsupported
William Henning [Thu, 24 May 2018 20:14:15 +0000 (14:14 -0600)]
icd: Add a memory format that is unsupported

Hard code into the mock ICD that the memory type at index 3 is
unsupported. This allows the BindImageInvalidMemoryType test in the
validation layers to be run without skipping.

6 years agoicd: Hard code unsupported image formats
William Henning [Thu, 24 May 2018 20:49:16 +0000 (14:49 -0600)]
icd: Hard code unsupported image formats

Hard code that the mock ICD does not support
VK_FORMAT_E5B9G9R9_UFLOAT_PACK32, an arbitrary image format not
currently used in any validation layers test. Additionally hard code
that the mock ICD doesn't images created with a sample count of 64 bits.
These hardcoded unsupported image formats git the
CreateImageFormatSupportErrors and CreateImageMaxLimitsViolation tests
in the validation layers to run.

6 years agoicd: Add external buffers, fences, and semaphores
William Henning [Wed, 23 May 2018 20:45:43 +0000 (14:45 -0600)]
icd: Add external buffers, fences, and semaphores

Added calls to vkGetPhysicalDeviceExternal buffer, fence, and semaphore
properties that support for features and handle types.

6 years agobuild: Fix mock ICD install issues
Karl Schultz [Thu, 24 May 2018 21:30:09 +0000 (15:30 -0600)]
build: Fix mock ICD install issues

- Use correct (icd.d) directory
- Make ICD installation OFF by default
- Fix up docs

Fixes #17

6 years agoheader: Update Vulkan-Headers submodule to 1.1.75
Mike Schuchardt [Tue, 22 May 2018 22:48:10 +0000 (16:48 -0600)]
header: Update Vulkan-Headers submodule to 1.1.75

Change-Id: I7cfbb6e3ffb99308f3a77357f6184489aae322af

6 years agoicd: Enable the VK_KHR_push_descriptor extension
William Henning [Thu, 24 May 2018 16:55:48 +0000 (10:55 -0600)]
icd: Enable the VK_KHR_push_descriptor extension

Enabled this extension and updated vkGetPhysicalDeviceProperties2KHR to
fill out the push descriptor properties struct if it's in the pNext
chain.

6 years agocmake: Fix LOADER_REPO_ROOT pointing to SDK
Mark Lobodzinski [Tue, 22 May 2018 20:59:13 +0000 (14:59 -0600)]
cmake: Fix LOADER_REPO_ROOT pointing to SDK

6 years agoscripts: Fix glslang fetch script for odd builds
Mark Lobodzinski [Tue, 22 May 2018 20:41:57 +0000 (14:41 -0600)]
scripts: Fix glslang fetch script for odd builds

Used scirpt location instead of current location as basis for glslang
component installation.

6 years agoTools: Better search for glslang + loader
Tony-LunarG [Tue, 22 May 2018 19:26:26 +0000 (13:26 -0600)]
Tools: Better search for glslang + loader

Change-Id: I1652a5bc29623980e80dad168997fd75d08467e8

6 years agocube: Change glslang location logic for INSTALL_DIR
Mark Lobodzinski [Tue, 22 May 2018 14:40:49 +0000 (08:40 -0600)]
cube: Change glslang location logic for INSTALL_DIR

Now respects GLSLANG_INSTALL_DIR, for instance, if Vulkan-Tools is a
submodule of another repository. Also updated build doc.

6 years agocmake: Rename uninstall target to prevent collisions
Mark Lobodzinski [Tue, 22 May 2018 04:16:38 +0000 (22:16 -0600)]
cmake: Rename uninstall target to prevent collisions

Cmake does not have an uninstall function, and multiple repositories
cannot have targets with the same name. The 'uninstall' target is to
generic, so renaming this target to 'uninstall-Vulkan-Tools'.