platform/upstream/Vulkan-Tools.git
5 years agovulkaninfo: Fix HTML output warnings and errors
Jeremy Kniager [Thu, 21 Mar 2019 17:12:50 +0000 (11:12 -0600)]
vulkaninfo: Fix HTML output warnings and errors

Updated vulkaninfo HTML output to fix errors and
warnings output by https://validator.w3.org.

Change-Id: Ic84cc71467e69a33d2c816e8e79b918006c3194e

5 years agodocs: Update GOVERNANCE
Jeremy Kniager [Fri, 22 Mar 2019 16:38:17 +0000 (10:38 -0600)]
docs: Update GOVERNANCE

Updated GOVERNANCE.md to better reflect the
KhronosGroup/Vulkan-Tools repo.

Change-Id: I74a609324e2e2e24c303d180dde4ba165ed2575a

5 years agodeps: allow a --generator switch to update_deps.py
Bob Ellison [Tue, 19 Mar 2019 23:19:34 +0000 (17:19 -0600)]
deps: allow a --generator switch to update_deps.py

This allows you to use any CMake generator available
on your system to configure the dependent repositories,
allowing you to match the same generator being used by
the project build.

update_deps.py:
- Take a parameter to specify a CMake generator, and pass it to CMake
  if present
- Allow the user to reduce the count of parallel make jobs that can
  happen at one time
- remove an unnecessary semicolon

5 years agodocs: Update CONTRIBUTING.md for CI process
Mike Weiblen [Thu, 21 Mar 2019 20:34:58 +0000 (14:34 -0600)]
docs: Update CONTRIBUTING.md for CI process

Change-Id: Iaca18022e840df01fd73654630e3f6377b4af2a7

5 years agodocs: Update BUILD.md for CMake versions
Mike Weiblen [Thu, 21 Mar 2019 18:51:57 +0000 (12:51 -0600)]
docs: Update BUILD.md for CMake versions

5 years agobuild: Update CMake version
Jeremy Kniager [Thu, 21 Mar 2019 15:48:32 +0000 (09:48 -0600)]
build: Update CMake version

Updated suggested CMake version for platforms in
BUILD.md.

Added CMake version output on Travis and AppVeyor.

Change-Id: I128b17c85a8e4c8a5c1f334b818ea8171d9a7143

5 years agovulkaninfo: Fix compiler warnings
Petr Kraus [Mon, 18 Mar 2019 18:59:32 +0000 (19:59 +0100)]
vulkaninfo: Fix compiler warnings

5 years agovulkaninfo: Report images compatible with memory type
Petr Kraus [Sun, 10 Mar 2019 23:54:40 +0000 (00:54 +0100)]
vulkaninfo: Report images compatible with memory type

5 years agovulkaninfo: Remove invalid json for present_support
Petr Kraus [Tue, 12 Mar 2019 19:59:11 +0000 (20:59 +0100)]
vulkaninfo: Remove invalid json for present_support

5 years agodocs: Update CONTRIBUTING.md
Jeremy Kniager [Thu, 14 Mar 2019 15:24:05 +0000 (09:24 -0600)]
docs: Update CONTRIBUTING.md

Updated CONTRIBUTING.md to link to instructions
about validating vulkaninfo JSON output.

5 years agovulkaninfo: Make present support 1\0 in json
Petr Kraus [Wed, 6 Mar 2019 19:49:40 +0000 (20:49 +0100)]
vulkaninfo: Make present support 1\0 in json

5 years agovulkaninfo: Fix missing struct declaration (warning)
Petr Kraus [Wed, 6 Mar 2019 01:25:13 +0000 (02:25 +0100)]
vulkaninfo: Fix missing struct declaration (warning)

5 years agovulkaninfo: Restructure present support output of multi-platform case
Petr Kraus [Wed, 6 Mar 2019 01:09:48 +0000 (02:09 +0100)]
vulkaninfo: Restructure present support output of multi-platform case

5 years agovulkaninfo: Convert surface dynamic array to a linked list
Petr Kraus [Wed, 6 Mar 2019 00:10:51 +0000 (01:10 +0100)]
vulkaninfo: Convert surface dynamic array to a linked list

5 years agovulkaninfo: Prevent surface creation silent failure
Petr Kraus [Wed, 6 Mar 2019 00:09:58 +0000 (01:09 +0100)]
vulkaninfo: Prevent surface creation silent failure

5 years agovulkaninfo: Fix uninitialized VkDevice pQueuePriorities
Jeremy Kniager [Wed, 6 Mar 2019 00:07:58 +0000 (01:07 +0100)]
vulkaninfo: Fix uninitialized VkDevice pQueuePriorities

5 years agovulkaninfo: Fix window\surface lifetime
Petr Kraus [Tue, 5 Mar 2019 02:40:12 +0000 (03:40 +0100)]
vulkaninfo: Fix window\surface lifetime

5 years agovulkaninfo: Revert "Fix Issue 136"
Jeremy Kniager [Mon, 25 Feb 2019 20:29:36 +0000 (13:29 -0700)]
vulkaninfo: Revert "Fix Issue 136"

This reverts commit 607c301efbb2ee5228f8ddc8eb7500f11dedecbd.

5 years agovulkaninfo: create JSON validation process doc
Mike Weiblen [Thu, 7 Mar 2019 01:45:00 +0000 (18:45 -0700)]
vulkaninfo: create JSON validation process doc

5 years agobuild: Correct Metal platform name
Shannon McPherson [Wed, 6 Mar 2019 18:25:56 +0000 (11:25 -0700)]
build: Correct Metal platform name

In `common_codegen.py` the Metal platform was defined without the "_EXT"
suffix

Change-Id: Ib36778735c09ae54d0e4a9bb0d7aa2fcec26b985

5 years agobuild: Update known-good for 1.1.102 header
Shannon McPherson [Tue, 5 Mar 2019 21:06:10 +0000 (14:06 -0700)]
build: Update known-good for 1.1.102 header

Additionally, updated copyright dates and added Metal to the platform
list

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

Change-Id: I161f2dfaf8fafd25be50e09b8c6e7da13d9ad9b3

5 years agovulkaninfo: Fix Issue 136
Jeremy Kniager [Mon, 25 Feb 2019 20:29:36 +0000 (13:29 -0700)]
vulkaninfo: Fix Issue 136

Added listing for all present extensions and
listing for present support for each extension on
GPU queue families.

Change-Id: I3ad18bb346ff50b6dfa141cebb58155f59fd754c

5 years agomacos: Change LunarG Icons to Vulkan Logo
Jeremy Kniager [Fri, 1 Mar 2019 17:48:58 +0000 (10:48 -0700)]
macos: Change LunarG Icons to Vulkan Logo

Replaced LunarGIcon.icns with VulkanIcon.icns as part
of rebranding initiative.

Change-Id: I582b5d057f9177940c3f959a87a304c74993dec2

5 years agovulkaninfo: fix nesting of HTML output
Bob Ellison [Fri, 1 Mar 2019 01:57:51 +0000 (18:57 -0700)]
vulkaninfo: fix nesting of HTML output

Four extensions, if supported on a device, didn't emit the proper "</details>"
closing tag.  This caused the nesting to be incorrect while viewing the HTML output.

5 years agovulkaninfo: Update `vulkaninfo.rc` copyright dates
Shannon McPherson [Fri, 1 Mar 2019 03:37:05 +0000 (20:37 -0700)]
vulkaninfo: Update `vulkaninfo.rc` copyright dates

Change-Id: I9eadccd98083d7e77b74a5bcfe832745cb13701a

5 years agoAdd librt when necessary
Tony-LunarG [Tue, 26 Feb 2019 21:44:32 +0000 (14:44 -0700)]
Add librt when necessary

Change-Id: Ie4b3fdec4d61a52e82880308bb567f2f22c6c273

5 years agobuild: Update glslang known-good for 101 SDK
Shannon McPherson [Tue, 26 Feb 2019 16:07:32 +0000 (09:07 -0700)]
build: Update glslang known-good for 101 SDK

Change-Id: Ib28abfe172079ad60ea5bfcbbb922990e302b135

5 years agoMake copyright internal to the file
KarenGhavam-lunarG [Fri, 22 Feb 2019 21:51:00 +0000 (14:51 -0700)]
Make copyright internal to the file

5 years agobuild: Update known-good to 1.1.101 header
Shannon McPherson [Wed, 20 Feb 2019 22:55:22 +0000 (15:55 -0700)]
build: Update known-good to 1.1.101 header

Change-Id: Ifedc7998fbf520f48748b646307071c07c58e627

5 years agodocs: Add vulkaninfo.md
Jeremy Kniager [Fri, 15 Feb 2019 20:20:07 +0000 (13:20 -0700)]
docs: Add vulkaninfo.md

Added vulkaninfo.md

Change-Id: Ie190cf31f34bff649b36be977a1334e22a3e89e7

5 years agoFix the build error on Android
Jiayuan Ren [Fri, 15 Feb 2019 00:11:59 +0000 (16:11 -0800)]
Fix the build error on Android

Currently, the vulkaninfo is not supported on Android.
But someone might use the vulkaninfo with their own makefiles
crossing all the platforms including Android.

This change fixed the compiling error on Android platform.

5 years agoknown-good: Update Vulkan-Tools to 1.1.100 Header
Jeremy Kniager [Thu, 14 Feb 2019 22:02:54 +0000 (15:02 -0700)]
known-good: Update Vulkan-Tools to 1.1.100 Header

Updated the the Vulkan-Headers tag in known-good.json
to point to the Vulkan 1.1.100 headers.

Change-Id: Ib641abeb75da36504537bfc29d0cb05dc1109612

5 years agovkcube: Implement key events in Windows
Petr Kraus [Wed, 23 Jan 2019 17:45:04 +0000 (18:45 +0100)]
vkcube: Implement key events in Windows

5 years agovulkaninfo: print VK_MEMORY_PROPERTY_PROTECTED_BIT
Jiayuan Ren [Thu, 14 Feb 2019 01:04:43 +0000 (17:04 -0800)]
vulkaninfo: print VK_MEMORY_PROPERTY_PROTECTED_BIT

Adding the VK_MEMORY_PROPERTY_PROTECTED_BIT in the printing.

5 years agobuild: Revert known-good to 1.1.97 header
Shannon McPherson [Mon, 11 Feb 2019 21:26:51 +0000 (14:26 -0700)]
build: Revert known-good to 1.1.97 header

Reverting known-good files to 1.1.97 due to a spec bug introduced in the
1.1.99 header

Change-Id: Ie9f91658cc9a22021a7c85a0734f325ec1c63c72

5 years agovulkaninfo: Reintroduce vkCreateInstance pNext debug report callback
Petr Kraus [Wed, 6 Feb 2019 23:00:39 +0000 (00:00 +0100)]
vulkaninfo: Reintroduce vkCreateInstance pNext debug report callback

5 years agovulkaninfo: Rewrite instance creation
Petr Kraus [Fri, 25 Jan 2019 16:08:44 +0000 (17:08 +0100)]
vulkaninfo: Rewrite instance creation

1) localize `VkPhysicalDeviceSurfaceInfo2KHR (and remove from instance creation)
2) Remove debug callback. We are not even using layers...
3) Enable all supported instance extensions. Close #100.
4) Prettify instance command loader
5) other esthetics

5 years agobuild: Update known-good for 1.1.99 header
Shannon McPherson [Tue, 5 Feb 2019 22:45:54 +0000 (15:45 -0700)]
build: Update known-good for 1.1.99 header

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

Change-Id: Ibd1a61c359a417a90bdde6327536fc8d890f3734

5 years agomacos: Update known-good.json
Jeremy Kniager [Mon, 28 Jan 2019 16:44:26 +0000 (09:44 -0700)]
macos: Update known-good.json

Updated the commit ID for MoltenVK in
known-good.json.

Change-Id: I0658c7499021836a4baa7c78f4f16fb3e525629f

5 years agovulkaninfo: Remove clang-format off
Jeremy Kniager [Thu, 24 Jan 2019 22:26:21 +0000 (15:26 -0700)]
vulkaninfo: Remove clang-format off

It doesn't make sense to enforce clang-format rules
and then turn it off for more than half of the file.

Removed clang-format off from vulkaninfo.c and ran
clang-format to clean up the code.

Change-Id: Id9358d8272568314c57dd861a954a2247320b36f

5 years agovulkaninfo: Check VkResult of vkGetPhysicalDeviceSurfaceSupportKHR
Petr Kraus [Thu, 24 Jan 2019 16:57:39 +0000 (17:57 +0100)]
vulkaninfo: Check VkResult of vkGetPhysicalDeviceSurfaceSupportKHR

patch #125

5 years agoissue 126: fix vulkaninfo segfault on 1.0 devices
Bob Ellison [Tue, 22 Jan 2019 22:32:24 +0000 (15:32 -0700)]
issue 126: fix vulkaninfo segfault on 1.0 devices

We didn't quite get the check on whether a format can be legally
queried on a particular GPU quite right.  We were checking against
the instance version only.  We need to check agains the driver's
supported API version as well.

5 years agovulkaninfo: shorten format dump in console
Petr Kraus [Mon, 21 Jan 2019 23:12:29 +0000 (00:12 +0100)]
vulkaninfo: shorten format dump in console

5 years agovulkaninfo: Make queue families report present support
Petr Kraus [Tue, 22 Jan 2019 02:17:48 +0000 (03:17 +0100)]
vulkaninfo: Make queue families report present support

5 years agovulkaninfo: Properly check vk command error codes
Petr Kraus [Tue, 22 Jan 2019 01:17:50 +0000 (02:17 +0100)]
vulkaninfo: Properly check vk command error codes

5 years agovulkaninfo: Remove non-existent device extension
Petr Kraus [Tue, 22 Jan 2019 01:16:50 +0000 (02:16 +0100)]
vulkaninfo: Remove non-existent device extension

5 years agowinrt: Update runtime license dates
Lenny Komow [Mon, 21 Jan 2019 22:44:05 +0000 (15:44 -0700)]
winrt: Update runtime license dates

5 years agowinrt: Update runtime license
Lenny Komow [Wed, 16 Jan 2019 23:24:52 +0000 (16:24 -0700)]
winrt: Update runtime license

5 years agobuild: Update version in manifest JSON files
Shannon McPherson [Tue, 15 Jan 2019 22:31:44 +0000 (15:31 -0700)]
build: Update version in manifest JSON files

Change-Id: I9616bc29dda4680007da5b4e23fa3c6252401da8

5 years agobuild: Update known good glslang revision
Lenny Komow [Tue, 15 Jan 2019 21:22:04 +0000 (14:22 -0700)]
build: Update known good glslang revision

Change-Id: I09db85f27310a012c177555eed87722cc3e15adc

5 years agoRemove COPYRIGHT.txt
Mark Young [Thu, 10 Jan 2019 00:16:10 +0000 (17:16 -0700)]
Remove COPYRIGHT.txt

This file was not kept up to date.  Any items added that aren't
Apache 2.0 will have their own LICENSE in their source tree.

Change-Id: I8492cabd3f5cc0f52f3d83f004fe52ab49fd5f25

5 years agobuild: Update known-good for 1.1.97 header
Shannon McPherson [Wed, 9 Jan 2019 23:35:43 +0000 (16:35 -0700)]
build: Update known-good for 1.1.97 header

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

Change-Id: Ifa3f61bfd50fb15bff122f51edb63108511922d9

5 years agovulkaninfo: Update copyright date to 2019
Jeremy Kniager [Wed, 9 Jan 2019 16:09:02 +0000 (09:09 -0700)]
vulkaninfo: Update copyright date to 2019

Change-Id: Ie4f1aefae4603e6b27ec75b7d7b6a36f8cd94bc3

5 years agovulkaninfo: Add VK_EXT_fragment_density_map
Jeremy Kniager [Mon, 7 Jan 2019 20:27:24 +0000 (13:27 -0700)]
vulkaninfo: Add VK_EXT_fragment_density_map

Added output for the following structures from
extension VK_EXT_fragment_density_map:

    VkPhysicalDeviceFragmentDensityMapFeaturesEXT
    VkPhysicalDeviceFragmentDensityMapPropertiesEXT

Change-Id: I6d9a09a3a1bf889c5e44ac0eff66cdcf572f7b19

5 years agovulkaninfo: Add VK_EXT_scalar_block_layout
Jeremy Kniager [Mon, 7 Jan 2019 18:31:19 +0000 (11:31 -0700)]
vulkaninfo: Add VK_EXT_scalar_block_layout

Added output for the following structure from
extension VK_EXT_scalar_block_layout:

    VkPhysicalDeviceScalarBlockLayoutFeaturesEXT

Change-Id: I63cf81d7f690060a3d1b81c57ac0dc4e3cda457e

5 years agovulkaninfo: Add VK_EXT_transform_feedback
Jeremy Kniager [Thu, 3 Jan 2019 20:12:40 +0000 (13:12 -0700)]
vulkaninfo: Add VK_EXT_transform_feedback

Added output for the following structures from
extension VK_EXT_transform_feedback:

    VkPhysicalDeviceTransformFeedbackFeaturesEXT
    VkPhysicalDeviceTransformFeedbackPropertiesEXT

Change-Id: I60c907a26071ddc315d588b9cdc395f4d3bc446d

5 years agovulkaninfo: Add VK_KHR_shader_atomic_int64
Jeremy Kniager [Thu, 3 Jan 2019 18:10:41 +0000 (11:10 -0700)]
vulkaninfo: Add VK_KHR_shader_atomic_int64

Added output for the following structure from
extension VK_KHR_shader_atomic_int64:

    VkPhysicalDeviceShaderAtomicInt64FeaturesKHR

Change-Id: I2979e656db9268c5a11290bb5c77e1ebd3059ea1

5 years agoicd: Return better size in GetBufferMemoryReq
Karl Schultz [Mon, 31 Dec 2018 18:58:18 +0000 (11:58 -0700)]
icd: Return better size in GetBufferMemoryReq

Track the buffer create info from CreateBuffer so that
GetBufferMemoryRequirements can return an actual size
instead of a hard-coded guess.

Needed to survive VLT setup during GPU validation testing.

5 years agovulkaninfo: minor fix after review
Bob Ellison [Fri, 21 Dec 2018 18:46:44 +0000 (11:46 -0700)]
vulkaninfo: minor fix after review

Changed
    for (unsigned int i = 0,...)
to
    for (uint32_t i i = 0,...)

for consistency with the rest of the file.

5 years agovulkaninfo: only query supported formats
Bob Ellison [Thu, 20 Dec 2018 23:47:38 +0000 (16:47 -0700)]
vulkaninfo: only query supported formats

vulkaninfo must not query formats that are not supported on a
given instance, as this provokes undefined behavior (it could
appear to work, or it could segfault in the driver).

These changes ensure that a format is only queried if it
is supported in either the base Vulkan instance or, if it is an
extension format, if that extension is supported by the Vulkan
instance.

- Moved instance version information to the AppInstance struct
  (initialized by AppCreateInstance()), which makes sense and
  allows lower-level code to determine whether a format is
  supported on the current instance version
- Formats are now encoded with their owning Vulkan version
  and extension name, so they can be checked for validity
  before making a query.

Note that this change can cause behavior changes; instances
that didn't crash on unsupported formats (and thus appeared to
support more formats than they actually did) will no longer
report those formats.  Instances that would segfault when
an unsupported formatn was queried should no longer crash.

5 years agovulkaninfo: Fix merge conflicts in PR #98
Jeremy Kniager [Tue, 18 Dec 2018 17:06:03 +0000 (10:06 -0700)]
vulkaninfo: Fix merge conflicts in PR #98

Fixed some merge conflicts in PR #98 so that it
can be added to vulkaninfo

Change-Id: I24c7110ec77c8b9dabd371dd8435c3d25db24928

5 years agovulkaninfo: Update enums to 1.1.89 headers
Jeff Smith [Wed, 14 Nov 2018 14:37:33 +0000 (08:37 -0600)]
vulkaninfo: Update enums to 1.1.89 headers

5 years agovulkaninfo: Update enums to 1.1.74 headers
Jeff Smith [Wed, 14 Nov 2018 14:24:54 +0000 (08:24 -0600)]
vulkaninfo: Update enums to 1.1.74 headers

Fixes #72

5 years agodocs: Add explanation of version tagging scheme
Shannon McPherson [Tue, 18 Dec 2018 18:17:18 +0000 (11:17 -0700)]
docs: Add explanation of version tagging scheme

Change-Id: I8a83d5e2303d09fe22425cb350473262694f4642

5 years agobuild: Update known-good for 1.1.96 header
Shannon McPherson [Tue, 18 Dec 2018 22:32:30 +0000 (15:32 -0700)]
build: Update known-good for 1.1.96 header

Change-Id: Id4ab3023bfc526ea469b7be6f7d98ce5829235d1

5 years agovulkaninfo: Add VK_EXT_pci_bus_info
Jeremy Kniager [Mon, 17 Dec 2018 20:47:36 +0000 (13:47 -0700)]
vulkaninfo: Add VK_EXT_pci_bus_info

Added VK_EXT_pci_bus_info extension to Vulkan Info.
Print data from struct
VkPhysicalDevicePCIBusInfoPropertiesEXT.

Change-Id: I65161fbb5ac9b28f817268ea59eac8f8b5e14741

5 years agovulkaninfo: Set missing sType and pNext in surf_formats2 array.
Rafael Ristovski [Sun, 16 Dec 2018 12:51:40 +0000 (13:51 +0100)]
vulkaninfo: Set missing sType and pNext in surf_formats2 array.

This fixes #109

5 years agovulkaninfo: Cherry-pick GitLab extension code.
Jeremy Kniager [Mon, 2 Jul 2018 18:05:48 +0000 (12:05 -0600)]
vulkaninfo: Cherry-pick GitLab extension code.

Cherry-picking code for the following extensions
and structures from GitLab.

Extensions:

    KHR_driver_properties
    KHR_shader_float_control
    KHR_shader_float16_int8

Structures:

    VkPhysicalDeviceDriverPropertiesKHR
    VkPhysicalDeviceFloatControlsPropertiesKHR
    VkPhysicalDeviceFloat16Int8FeaturesKHR

Change-Id: I2a7e970e681602e644f58d7cd10e66943f5650b5

5 years agovulkaninfo: Fix issue 72
Jeremy Kniager [Mon, 29 Oct 2018 21:20:32 +0000 (15:20 -0600)]
vulkaninfo: Fix issue 72

Fixed issue 72, which prevented vulkaninfo from
listing image formats past
VK_FORMAT_ASTC_12x12_SRGB_BLOCK for Vulkan 1.1

Change-Id: If448c5c8263a8af500ec1defb38aef69a0df7c08

5 years agobuild: Update known-good for 1.1.95 header
Shannon McPherson [Fri, 7 Dec 2018 21:08:11 +0000 (14:08 -0700)]
build: Update known-good for 1.1.95 header

Change-Id: I23159914c83c87f8201bb8ea6730b803e564ce66

5 years agovulkaninfo: Fix memory init/leak
Karl Schultz [Thu, 6 Dec 2018 23:10:25 +0000 (16:10 -0700)]
vulkaninfo:  Fix memory init/leak

- Clear the structures allocated for the pNext chains.  While this
  is not strictly necessary, any pNext structure that is not
  filled in by a driver (because the extension isn't there) gets
  left in an untouched state.  This can be a false positive flagged
  by valgrind.
- Use XFree to free storage allocated by Xlib's XGetVisualInfo().
  This fixes an actual leak.

5 years agobuild: Update Travis-CI to Ubuntu 16.04
Karl Schultz [Thu, 6 Dec 2018 17:40:57 +0000 (10:40 -0700)]
build: Update Travis-CI to Ubuntu 16.04

5 years agovulkaninfo: Fix extra lines in HTML file
Jeremy Kniager [Wed, 5 Dec 2018 19:22:46 +0000 (12:22 -0700)]
vulkaninfo: Fix extra lines in HTML file

Removed the extra line breaks appearing after
certain data structures listed in the HTML output
file of Vulkan Info.

5 years agobuild: Re-add wayland-client path for mock_icd
Jan Engelhardt [Mon, 12 Nov 2018 17:32:06 +0000 (18:32 +0100)]
build: Re-add wayland-client path for mock_icd

Fix issues #1444 and #1989 of Vulkan-LoaderAndValidationLayers **again**.

Change-Id: I2c0e95df321ec48ea8fcef94115355ab00e2f088

5 years agoCube: Use c++_static instead of unsupported gnustl_static for STL
Tony-LunarG [Tue, 20 Nov 2018 21:48:19 +0000 (14:48 -0700)]
Cube: Use c++_static instead of unsupported gnustl_static for STL

Change-Id: If351431424a2b1d30cfa30d43a6515bca034ac40

5 years agocube: Update cube/vkcube naming
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 agoRemove last MIR reference
Tony-LunarG [Tue, 13 Nov 2018 22:15:15 +0000 (15:15 -0700)]
Remove last MIR reference

Change-Id: Ib7fd104466b189d2d8bb0c70cd6e7aa2623ea0e7

5 years agoUpdate Vulkan wrappers from latest header
Tony-LunarG [Thu, 8 Nov 2018 18:03:12 +0000 (11:03 -0700)]
Update Vulkan wrappers from latest header

Change-Id: I61d6c28aa36f86f2b16c534fd2311fe0df06b288

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

5 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

5 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

5 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

5 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.

5 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

5 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.

5 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

5 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

5 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

5 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