platform/upstream/Vulkan-Tools.git
4 years agobuild: Update known good for 1.1.121 vulkan header
Shannon McPherson [Tue, 27 Aug 2019 16:23:12 +0000 (10:23 -0600)]
build: Update known good for 1.1.121 vulkan header

Changes:
- Updated known good files
- Generated new files using `generate_source.py`

Updated:
- `build-android/vulkan-headers_revision_android`
- `icd/generated/mock_icd.cpp`
- `icd/generated/mock_icd.h`
- `icd/generated/vk_typemap_helper.h`
- `scripts/known_good.json`

Change-Id: Id5022fa1d82ae090cd5d50e7937274e93587163e

4 years agobuild: Update known good for 1.1.120 vulkan header
Shannon McPherson [Tue, 20 Aug 2019 23:49:23 +0000 (17:49 -0600)]
build: Update known good for 1.1.120 vulkan header

Changes:
- Updated known good files
- Generated new files using `generate_source.py`

Updated:
- `build-android/vulkan-headers_revision_android
- `icd/generated/mock_icd.h`
- `scripts/known_good.json`

Change-Id: Ia83e6bc8acd0c54d23e97e9c645d0062014f4840

4 years agodocs: Bump minimums to Ubuntu 16.04 and gcc 5.4.0
Mike Weiblen [Tue, 20 Aug 2019 21:13:05 +0000 (15:13 -0600)]
docs: Bump minimums to Ubuntu 16.04 and gcc 5.4.0

Change-Id: I58588d900c89f3247be423857e861ad278d6b9c0

4 years agovulkaninfo: fix memory leaks from pNext chains
Charles Giessen [Mon, 12 Aug 2019 23:04:01 +0000 (17:04 -0600)]
vulkaninfo: fix memory leaks from pNext chains

Change-Id: I99965dabaf7307e52c56f779d79f259fc379c7da

4 years agobuild: Update known-good for 1.1.119 header
Shannon McPherson [Mon, 12 Aug 2019 16:39:11 +0000 (10:39 -0600)]
build: Update known-good for 1.1.119 header

Updated known-good and generated source code for this repository.

Modified:
- `build-android/vulkan-headers_revision_android`
- `icd/generated/mock_icd.cpp`
- `icd/generated/mock_icd.h`
- `icd/generated/vk_typemap_helper.h`
- `scripts/known_good.json`

Change-Id: I10fded5bb6c35a7fc38acdbc23d097ae762f5112

4 years agovulkaninfo: Update output for float controls
Mike Schuchardt [Mon, 1 Jul 2019 04:46:41 +0000 (21:46 -0700)]
vulkaninfo: Update output for float controls

"separate" struct members were renamed and changed from a boolean to an
enum to accommodate a wider variety of hardware implementations.

4 years agobuild: Update Appveyor to VS 2015
Shannon McPherson [Mon, 12 Aug 2019 23:54:57 +0000 (17:54 -0600)]
build: Update Appveyor to VS 2015

Change-Id: I67534f37232f148b955a8860d41408c0fc4da5af

4 years agovulkaninfo: Support for ShaderDemoteToHelperInvocationExt
Charles Giessen [Wed, 7 Aug 2019 23:19:00 +0000 (17:19 -0600)]
vulkaninfo: Support for ShaderDemoteToHelperInvocationExt

Change-Id: I5188ffd477d16a3af8d48c69dc411feee76b1f7f

4 years agofixed double tab for DepthStencilResolveProperties
Charles Giessen [Wed, 7 Aug 2019 22:57:06 +0000 (16:57 -0600)]
fixed double tab for DepthStencilResolveProperties

Change-Id: I51a1b711c3e4d79695cf79bdc162860d7b39d694

4 years agoFixed double tabs in text output
Charles Giessen [Wed, 7 Aug 2019 22:55:37 +0000 (16:55 -0600)]
Fixed double tabs in text output

Change-Id: I591906091fd39e5a44e83849cb9f2d1ae36d1ead

4 years agovulkaninfo: support for texel_buffer_alingment_ext
Charles Giessen [Wed, 7 Aug 2019 22:44:48 +0000 (16:44 -0600)]
vulkaninfo: support for texel_buffer_alingment_ext

Change-Id: I424862d61714b93462bc847c63ae95d6716da154

4 years agobuild: Remove Windows loader build dependency
Lenny Komow [Mon, 5 Aug 2019 16:47:21 +0000 (10:47 -0600)]
build: Remove Windows loader build dependency

On Windows, the loader now has a dependency on the Windows Driver Kit.
In order to avoid adding that dependency here, this change includes
loader .lib files for building on Windows.

Change-Id: I3119caccf7e4e9ba0666a9ba29413137696775ec

4 years agofixed FragmentShaderInterlock missing </details> for html
Charles Giessen [Wed, 7 Aug 2019 23:09:17 +0000 (17:09 -0600)]
fixed FragmentShaderInterlock missing </details> for html

Change-Id: Ica0bddc06cb98507f61fe7699d1ef11e74fadfd9

4 years agovulkaninfo: support for imageless_framebuffer_khr
Charles Giessen [Wed, 7 Aug 2019 22:34:18 +0000 (16:34 -0600)]
vulkaninfo: support for imageless_framebuffer_khr

Change-Id: Ia133befc18201c3bf05238653356cdaa0c162bf9

4 years agovulkaninfo: VK_EXT_fragment_shader_interlock
Charles Giessen [Mon, 5 Aug 2019 22:18:25 +0000 (16:18 -0600)]
vulkaninfo: VK_EXT_fragment_shader_interlock

Adds support for the extension

Change-Id: Ifc18acbdeae3b1b5b568e9a3ddaffb444d14ef86

4 years agovulkaninfo: fix forgotten </details> tag
Charles Giessen [Mon, 5 Aug 2019 21:30:17 +0000 (15:30 -0600)]
vulkaninfo: fix forgotten </details> tag

Fixes incorrect html output from a forgotten html closing tag.

Change-Id: I3e731dafc0b191dfaa71426a7a88b6ccd28477c2

4 years agovulkaninfo: VK_KHR_uniform_buffer_standard_layout
Charles Giessen [Fri, 2 Aug 2019 21:55:55 +0000 (15:55 -0600)]
vulkaninfo: VK_KHR_uniform_buffer_standard_layout

Implements the extension in vulkaninfo

Change-Id: I67ec93c678f0537ea00222bdd35e1e18b28c85d1

4 years agobuild: Update MoltenVK version in known-good.json
Jeremy Kniager [Fri, 26 Jul 2019 20:09:46 +0000 (14:09 -0600)]
build: Update MoltenVK version in known-good.json

Updated MoltenVK version in known-good.json from
v1.0.35 -> v1.0.36

Change-Id: I1b3762d2234ee7da2acc45f081f56aa6e7cfd504

4 years agocube: Workaround macOS cube issue
Mike Schuchardt [Fri, 26 Jul 2019 14:56:30 +0000 (07:56 -0700)]
cube: Workaround macOS cube issue

Latest version of MoltenVK behaves in an apparently non-conformant way
by not allowing some linear images to be mapped to memory with
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT.  This change sidesteps the issue
by forcing the use of staging buffer for loading textures.

4 years agowinrt: Correct `VulkanRT-License.txt` typo
Shannon McPherson [Wed, 24 Jul 2019 16:08:14 +0000 (10:08 -0600)]
winrt: Correct `VulkanRT-License.txt` typo

Change-Id: I26c1fbdddc8d6f6fc344164de2cc7cfa74c08919

4 years agodoc: Update docs with codegen instructions
Mike Schuchardt [Tue, 23 Jul 2019 20:06:42 +0000 (13:06 -0700)]
doc: Update docs with codegen instructions

4 years agoCI: Add codegen consistency check
Mike Schuchardt [Tue, 23 Jul 2019 18:52:40 +0000 (11:52 -0700)]
CI: Add codegen consistency check

4 years agobuild: CMake/GN changes for pre-generated source
Mike Schuchardt [Tue, 23 Jul 2019 18:12:29 +0000 (11:12 -0700)]
build: CMake/GN changes for pre-generated source

4 years agoicd: Add generated source to repo
Mike Schuchardt [Mon, 22 Jul 2019 23:58:50 +0000 (16:58 -0700)]
icd: Add generated source to repo

4 years agoscripts: Port codegen script from VVL
Mike Schuchardt [Mon, 22 Jul 2019 23:57:15 +0000 (16:57 -0700)]
scripts: Port codegen script from VVL

4 years agoscripts: Fix mock_icd_generator syntax warnings
Mike Schuchardt [Mon, 22 Jul 2019 23:52:06 +0000 (16:52 -0700)]
scripts: Fix mock_icd_generator syntax warnings

4 years agobuild: Update glslang commit ID in known-good
Jeremy Kniager [Mon, 22 Jul 2019 15:01:52 +0000 (09:01 -0600)]
build: Update glslang commit ID in known-good

Change-Id: I7d1031909f91dc14471d41e33bf50bafffaa7c58

4 years agoscripts: Add required depth/stencil resolve props
Mike Schuchardt [Sun, 21 Jul 2019 21:18:44 +0000 (14:18 -0700)]
scripts: Add required depth/stencil resolve props

Spec mandates that at least VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR be
supported for supportedDepthResolveModes and
supportedStencilResolveModes

5 years agobuild: Update known-good files for 1.1.114 header
Shannon McPherson [Mon, 8 Jul 2019 17:00:24 +0000 (11:00 -0600)]
build: Update known-good files for 1.1.114 header

Change-Id: I8dcbd49e7ccc07f0c891d9c303e1dc0d8445f9e8

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

Change-Id: I193d23da109a81e0b385a3d9fc54a6d266b6d026

5 years agovulkaninfo: Add descriptor indexing feats/props
Tony-LunarG [Tue, 2 Jul 2019 19:40:06 +0000 (13:40 -0600)]
vulkaninfo: Add descriptor indexing feats/props

Change-Id: I7863fb44fbc1e2c7f7833580799db6b8fb229afe

5 years agodocs: Improve instructions for using update_deps.
Jeremy Kniager [Tue, 2 Jul 2019 19:34:43 +0000 (13:34 -0600)]
docs: Improve instructions for using update_deps.
[ci skip]

Same change as KhronosGroup/Vulkan-ValidationLayers#955

Change-Id: Ifdc30a41f4d7f1e4ad9bc887df6f43f5caaa69f9

5 years agobuild: Fix LunarXchange Issue 862
Jeremy Kniager [Tue, 2 Jul 2019 15:47:29 +0000 (09:47 -0600)]
build: Fix LunarXchange Issue 862

Modified MoltenVK build arguments for MacOS from
`MVK_LOGGING_ENABLED=0` to `MVK_CONFIG_LOG_LEVEL=1`.

This allows users to set the logging information they
want when an application is run using MoltenVK.

By default, only errors are logged.

Change-Id: I471fa28e68b5dc68b10ae17858475981158b2a86

5 years agobuild: Update known-good files for 1.1.113 header
Shannon McPherson [Mon, 1 Jul 2019 21:46:44 +0000 (15:46 -0600)]
build: Update known-good files for 1.1.113 header

Change-Id: I3151722ccb8f3c5d918db8ffd701661a33dcf3b6

5 years agocube: Fix DbgMsg() use of varargs
Mike Weiblen [Thu, 27 Jun 2019 21:18:32 +0000 (15:18 -0600)]
cube: Fix DbgMsg() use of varargs

vprintf (not printf) must be used with va_list.

Also moved flush() outside the va_list's scope.

Change-Id: Ib82b9f7e7ec1f954619c3eadb8dcaeb08abf113a

5 years agovulkaninfo: Add more descriptive error message
Jeremy Kniager [Wed, 26 Jun 2019 16:55:29 +0000 (10:55 -0600)]
vulkaninfo: Add more descriptive error message

Issue #207 mentions that one of the main problems users
encounter when troubleshooting is a failure to create a
Vulkan instance, and suggests that a statement be added
to this error message that describes the most common
causes of this problem.

This commit adds this additional statement to the current
error message.

Change-Id: I2fccf00a8d9895a602fad40913f2380fc1c0a862

5 years agobuild: Update known-good files for 1.1.112 header
Shannon McPherson [Tue, 25 Jun 2019 19:08:41 +0000 (13:08 -0600)]
build: Update known-good files for 1.1.112 header

Change-Id: Ibf447e4f562d49bda5ab60b1bdf4ebf71678a6ae

5 years agovulkaninfo: Fix issue 195
Jeremy Kniager [Tue, 25 Jun 2019 15:21:08 +0000 (09:21 -0600)]
vulkaninfo: Fix issue 195

It was suggested that `maxComputeSharedMemorySize`
from VkPhysicalDeviceLimits be displayed as a decimal
instead of a hex number.

Change-Id: I4b5cb61d56adea4e4d8d33619fabc37e359b8e4a

5 years agovulkaninfo: Fix issue 202
Jeremy Kniager [Mon, 17 Jun 2019 20:04:38 +0000 (14:04 -0600)]
vulkaninfo: Fix issue 202

Vulkaninfo was replacing function `snprintf`
with function `_snprintf` on windows.

This seems to be for backwards compatiblity
with VS2013.

`_snprintf` is considered deprecated in VS2015
as `snprintf` is properly implemented.

Since we are dropping compatibility with VS2013 it
seems like this replacement should be removed.

Due to AppVeyor failing to build when this pre-processor
command is removed entirely, the command has been modified
to replace `snprintf` with `_snprintf_s`.

This command should hopefully be removed entirely in a future
commit.

Change-Id: I85f726fcb0a1cfcc902487100d35dc63d2ba00d8

5 years agobuild: Update MoltenVK in known_good.json
Jeremy Kniager [Mon, 17 Jun 2019 15:51:13 +0000 (09:51 -0600)]
build: Update MoltenVK in known_good.json

Updated MoltenVK version in known_good.json
from 1.0.34v -> 1.0.35v

Change-Id: I3c574d22ab98fcf0e3bd0c718a1a3f5a69287b42

5 years agocube: Add subpass dependencies
Tony-LunarG [Thu, 13 Jun 2019 21:32:05 +0000 (15:32 -0600)]
cube: Add subpass dependencies

Shared depth buffer and image layout transition both
need to be accounted for

Change-Id: Id26bc47798c58e4435a5585def3161105b7fffd1

5 years agocube: Fix compiler warning
Tony-LunarG [Thu, 13 Jun 2019 22:21:57 +0000 (16:21 -0600)]
cube: Fix compiler warning

Change-Id: I8a84556cf55b03cc39402067150fc86be3ed1a0a

5 years agovulkaninfo: Fix HTML format for multi-GPU computer
Jeremy Kniager [Thu, 13 Jun 2019 16:19:03 +0000 (10:19 -0600)]
vulkaninfo: Fix HTML format for multi-GPU computer

Fixes an issue found where the device properties
and extensions would only be printed for the first GPU
on a system when printing in HTML format.

Change-Id: Id6812d7c6b14915afb87fdb740e8918f4609d662

5 years agobuild: Update known-good files glslang commit ID
Jeremy Kniager [Mon, 10 Jun 2019 20:21:20 +0000 (14:21 -0600)]
build: Update known-good files glslang commit ID

Change-Id: I5ef3ac82301d42cbdb616da4c995cf6dc53c6708

5 years agocube: Add usage message on Windows
Tony-LunarG [Tue, 4 Jun 2019 20:11:43 +0000 (14:11 -0600)]
cube: Add usage message on Windows

Change-Id: Id709544863b50def407d7e18c330914bebc9c03a

5 years agocmake: adjust cmake download process to match new design
Bob Ellison [Thu, 6 Jun 2019 16:26:48 +0000 (10:26 -0600)]
cmake: adjust cmake download process to match new design

Also took Karl off the list of e-mail addresses to be notified,
at his request.

5 years agocmake: Use CMake 3.10.2 for CI
Bob Ellison [Thu, 23 May 2019 17:43:54 +0000 (11:43 -0600)]
cmake: Use CMake 3.10.2 for CI

These changes ensure that the Travis and AppVeyor
builds use a known version of CMake.

5 years agobuild: Update known-good files for 1.1.108 header
Shannon McPherson [Wed, 29 May 2019 16:22:32 +0000 (10:22 -0600)]
build: Update known-good files for 1.1.108 header

Change-Id: Ifc19c0e0fcb36f9a5009a73979eb20069e9db463

5 years agovulkaninfo: Run clang-format
Jeremy Kniager [Mon, 13 May 2019 15:23:38 +0000 (09:23 -0600)]
vulkaninfo: Run clang-format

Change-Id: I956d5777b657a25edb7f289047f320345af5cc44

5 years agovulkaninfo: VK_KHR_surface_protected_capabilities
Jeremy Kniager [Mon, 29 Apr 2019 22:03:56 +0000 (16:03 -0600)]
vulkaninfo: VK_KHR_surface_protected_capabilities

Added output for the following structures from
extension VK_KHR_surface_protected_capabilities:

        VkSurfaceProtectedCapabilitiesKHR

Change-Id: I5fb89b8118abbdb3876463f2ff5f96c08221781b

5 years agovulkaninfo: Add VK_EXT_host_query_reset
Jeremy Kniager [Mon, 29 Apr 2019 20:38:50 +0000 (14:38 -0600)]
vulkaninfo: Add VK_EXT_host_query_reset

Added output for the following structures from
extension VK_EXT_host_query_reset:

        VkPhysicalDeviceHostQueryResetFeaturesEXT

Change-Id: Ibc3dce6261ff5e46926d4f969562d377c74f23f5

5 years agovulkaninfo: Add VK_EXT_ycbcr_image_arrays
Jeremy Kniager [Mon, 29 Apr 2019 20:30:06 +0000 (14:30 -0600)]
vulkaninfo: Add VK_EXT_ycbcr_image_arrays

Added output for the following structures from
extension VK_EXT_ycbcr_image_arrays:

        VkPhysicalDeviceYcbcrImageArraysFeaturesEXT

Change-Id: I0f10ae006e99fff5192729ac32bafae2d9170d0c

5 years agoupdate_deps: make --clean-repo switch work in all cases
Bob Ellison [Wed, 8 May 2019 17:32:08 +0000 (11:32 -0600)]
update_deps: make --clean-repo switch work in all cases

--clean-repo right now will raise an exception if the repository
directory was not present.  This makes it work in all cases.

5 years agoscripts: Temporary workaround for python2
Mike Schuchardt [Mon, 22 Apr 2019 18:19:54 +0000 (11:19 -0700)]
scripts: Temporary workaround for python2

Temporarily patch abc module with ABC helper class until upstream
conventions.py script stops using it.

5 years agobuild: Add GN build
Mike Schuchardt [Sat, 20 Apr 2019 01:09:30 +0000 (18:09 -0700)]
build: Add GN build

Add support for GN, Google's meta-build system for Ninja:
https://gn.googlesource.com/gn/

Pull BUILD.gn and script dependencies from
https://chromium.googlesource.com/angle/angle

Add build_overrides for this project to enable both standalone and
component builds using GN.

Add GN configuration to Travis CI

5 years agoscripts: Update known good for 107 header update
Shannon McPherson [Fri, 3 May 2019 20:24:00 +0000 (14:24 -0600)]
scripts: Update known good for 107 header update

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

Change-Id: Ibf9d23645407e78805b8b8192a35338452baaf18

5 years agoFix memory leak in `vkcube`.
Jason Chen [Thu, 4 Apr 2019 04:45:29 +0000 (12:45 +0800)]
Fix memory leak in `vkcube`.

5 years agovulkaninfo: Fix crash at Presentable Surface
Jeremy Kniager [Wed, 1 May 2019 20:32:43 +0000 (14:32 -0600)]
vulkaninfo: Fix crash at Presentable Surface

Checks to make sure surface extensions were enabled
neglected to leave important struct variables outside
the if statements.

This resulted in these variables becoming uninitialized
and causing undefined behaviour.

Change-Id: Ice27314aa1d6520fc83c14726e2075a8574ba883

5 years agovulkaninfo: Check support for surface extensions before using them
Gabríel Arthúr Pétursson [Fri, 19 Apr 2019 13:35:24 +0000 (13:35 +0000)]
vulkaninfo: Check support for surface extensions before using them

Not all ICDs support all the surface extensions that vulkaninfo
enumerates.

For example, on Linux with an ICD that only support VK_KHR_xcb_surface,
vulkaninfo crashes:

Presentable Surfaces:
=====================
ERROR: VK_KHR_xlib_surface extension not enabled.  vkCreateXlibSurfaceKHR not executed!

vulkaninfo/vulkaninfo.c:1427: failed with VK_ERROR_EXTENSION_NOT_PRESENT

5 years agoUpdate CMakeLists.txt
Cody Jackson [Wed, 24 Apr 2019 18:00:17 +0000 (11:00 -0700)]
Update CMakeLists.txt

Adds Control Flow Guard compiler flag to vulkaninfo

Control Flow Guard (CG) protects against some forms of memory corruption.
See https://docs.microsoft.com/en-us/windows/desktop/secbp/control-flow-guard for details.

This compiler flag enables CFG on vulkaninfo. (CFG is already enabled on the Cube project.)

Enabling CFG is a low-risk, "set and forget" low hanging fruit for security hardening.

5 years agoknown_good: Update MoltenVK known_good version ID
Jeremy Kniager [Wed, 17 Apr 2019 15:21:06 +0000 (09:21 -0600)]
known_good: Update MoltenVK known_good version ID

Updated the MoltenVK version in known_good.json to
"v1.0.34"

Change-Id: I81bfec2e80f724815c4e9576386d00a96b784a48

5 years agotest: Update cloud CI to use known_good.json
Jeremy Kniager [Mon, 22 Apr 2019 19:33:59 +0000 (13:33 -0600)]
test: Update cloud CI to use known_good.json

Updates to other repos can cause errors to propagate
from changes that have nothing to do with PRs on
Vulkan-Tools.

This commit changes cloud CI systems to build with
known_good.json in Vulkan-Tools so that issues
affecting other repos do not prevent PRs in Vulkan-Tools
from getting merged.

Change-Id: Iad4907c0bf07322c9b02477e09fed9fd5b72b631

5 years agocube: fix scoping of some variables.
Dave Airlie [Fri, 12 Apr 2019 07:04:48 +0000 (17:04 +1000)]
cube: fix scoping of some variables.

use_invalid: Using "present.pNext", which points to an out-of-scope variable "regions".

In theory these local vars are out of scope when they are used later.

Pointed out by coverity

5 years agocube: remove unused validation_layer_count.
Dave Airlie [Fri, 12 Apr 2019 06:59:23 +0000 (16:59 +1000)]
cube: remove unused validation_layer_count.

This is assigned but never used.

Pointed out by coverity.

5 years agovulkaninfo: use correct type in malloc sizing.
Dave Airlie [Fri, 12 Apr 2019 06:58:03 +0000 (16:58 +1000)]
vulkaninfo: use correct type in malloc sizing.

warning: Result of 'malloc' is converted to a pointer of type 'VkPresentModeKHR', which is incompatible with sizeof operand type 'VkPresentInfoKHR'

Pointed out by coverity.

5 years agovulkaninfo: handle NULL layer_name.
Dave Airlie [Fri, 12 Apr 2019 06:53:19 +0000 (16:53 +1000)]
vulkaninfo: handle NULL layer_name.

Earlier we check for a NULL layer name but not here.

Vulkan-Tools-sdk-1.1.101.0/vulkaninfo/vulkaninfo.c:4403: var_deref_model: Passing null pointer "layer_name" to "strcmp", which dereferences it.

Pointed out by coverity.

5 years agovulkaninfo: handle html output file open failure.
Dave Airlie [Fri, 12 Apr 2019 06:50:27 +0000 (16:50 +1000)]
vulkaninfo: handle html output file open failure.

Vulkan-Tools-sdk-1.1.101.0/vulkaninfo/vulkaninfo.c:5008: dereference: Dereferencing a pointer that might be "NULL" "out" when calling "PrintHtmlHeader".

Pointed out by coverity.

5 years agocube.cpp: fix uninit non-static member.
Dave Airlie [Fri, 12 Apr 2019 06:47:29 +0000 (16:47 +1000)]
cube.cpp: fix uninit non-static member.

This was pointed out by coverity.

5 years agovulkaninfo: Fix HTML output
Jeremy Kniager [Fri, 12 Apr 2019 16:45:03 +0000 (10:45 -0600)]
vulkaninfo: Fix HTML output

Fixed the HTML output for the
VkPhysicalDeviceDepthStencilResolvePropertiesKHR
structure.

HTML output was being sent to the terminal instead of
the HTML file.

Change-Id: I26daa670aa732c0c758dbbc48c1fcdc02e2da38b

5 years agoscripts: Update known good for 106 header update
Shannon McPherson [Fri, 5 Apr 2019 16:46:16 +0000 (10:46 -0600)]
scripts: Update known good for 106 header update

Changes:
- Integrate upstream script changes: We have to plumb-through the new
conventions object to continue using the makeCParamDecl utility function
- Add GGP to available platforms
- Define `VULKAN_HPP_TYPESAFE_CONVERSION` in `cube.cpp` to avoid build
errors concerning explicit/implicit casting in `vulkan.hpp`
- Update known-good files

Updated:
- `build-android/vulkan-headers_revision_android`
- `cube/cube.cpp`
- `scripts/common_codegen.py`
- `scripts/known_good.json`
- `scripts/kvt_genvk.py`
- `scripts/mock_icd_generator.py`
- `scripts/vulkan_tools_helper_file_generator.py`

Change-Id: Ie9deb9f088d666195bcb987e30974f274d33fc85

5 years agocube: Update cube apps to use Khronos val layer
Mark Lobodzinski [Wed, 27 Mar 2019 18:37:30 +0000 (12:37 -0600)]
cube: Update cube apps to use Khronos val layer

5 years agoformat: Run clang-format
Jeremy Kniager [Thu, 28 Mar 2019 23:01:58 +0000 (17:01 -0600)]
format: Run clang-format

Run clang-format to reformat appropriate changes.

Change-Id: I0e8bd083806f5da81d889d306e1802621d4bf7b3

5 years agovulkaninfo: Add VK_KHR_depth_stencil_resolve
Jeremy Kniager [Wed, 27 Mar 2019 21:09:56 +0000 (15:09 -0600)]
vulkaninfo: Add VK_KHR_depth_stencil_resolve

Added output for the following structure from
extension VK_KHR_depth_stencil_resolve:

        VkPhysicalDeviceDepthStencilResolvePropertiesKHR

Change-Id: Ib997c0c8d8f35be14cd611e6b6473accc28a2985

5 years agovulkaninfo: Add VK_EXT_buffer_device_address
Jeremy Kniager [Wed, 27 Mar 2019 17:34:46 +0000 (11:34 -0600)]
vulkaninfo: Add VK_EXT_buffer_device_address

Added output for the following structure in the
VK_EXT_buffer_device_address extension:

        VkPhysicalDeviceBufferAddressFeaturesEXT

Change-Id: I04f18b62ccc485ea98522bafc01d9d3f15d19ac2

5 years agovulkaninfo: Add VK_EXT_memory_budget output
Jeremy Kniager [Mon, 25 Mar 2019 21:29:57 +0000 (15:29 -0600)]
vulkaninfo: Add VK_EXT_memory_budget output

Added output for the following structures provided
by VK_EXT_memory_budget:

        VkPhysicalDeviceMemoryBudgetPropertiesEXT

Change-Id: I442675019ca7b3fbdbed7cd52ac1843f3de341f2

5 years agovulkaninfo: Add VK_EXT_memory_priority Output
Jeremy Kniager [Mon, 25 Mar 2019 16:39:27 +0000 (10:39 -0600)]
vulkaninfo: Add VK_EXT_memory_priority Output

Added out put for the following structure from extension
VK_EXT_memory_priority:

        VkPhysicalDeviceMemoryPriorityFeaturesEXT

Change-Id: I5c32039e878dff7b4323d143830ae7515733f74b

5 years agovulkaninfo: Run clang-format
Jeremy Kniager [Thu, 21 Mar 2019 18:04:05 +0000 (12:04 -0600)]
vulkaninfo: Run clang-format

Change-Id: I9fc6732e87c71061c0cabb6b46022b525cf5c84b

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