platform/upstream/Vulkan-Tools.git
17 months agobuild: Update to header 1.3.240 upstream/1.3.240
Mike Schuchardt [Fri, 27 Jan 2023 18:57:42 +0000 (10:57 -0800)]
build: Update to header 1.3.240

- Update known-good
- Generate source

17 months agoci: Fix CI warnings
Juan Ramos [Fri, 27 Jan 2023 21:32:58 +0000 (14:32 -0700)]
ci: Fix CI warnings

17 months agocmake: Raise min to 3.17
Juan Ramos [Fri, 27 Jan 2023 21:32:07 +0000 (14:32 -0700)]
cmake: Raise min to 3.17

17 months agoUpdate MoltenVK known good tag
Richard S. Wright Jr [Fri, 27 Jan 2023 21:39:34 +0000 (16:39 -0500)]
Update MoltenVK known good tag

17 months agovulkaninfo: Fix rc file copyright and other mistakes
Charles Giessen [Wed, 25 Jan 2023 21:20:40 +0000 (14:20 -0700)]
vulkaninfo: Fix rc file copyright and other mistakes

The copyright went out of date in 2022 but was never updated. As a precaution
for the future, the copyright will now be the current year the file was created
in, rather than being hardcoded.

18 months agobuild: Update to header 1.3.239
Mike Schuchardt [Thu, 19 Jan 2023 17:37:49 +0000 (10:37 -0700)]
build: Update to header 1.3.239

- Update known-good
- Generate source

18 months agocube: Check for width & height less are than zero
Charles Giessen [Mon, 16 Jan 2023 19:07:34 +0000 (12:07 -0700)]
cube: Check for width & height less are than zero

The code would correctly reject widhth & height command line prameters
that weren't greater than 0, but without a helpful error message about
what was actually wrong.

18 months agocubepp: Make sure width & height are > 0
Charles Giessen [Thu, 1 Dec 2022 20:39:43 +0000 (14:39 -0600)]
cubepp: Make sure width & height are > 0

This check was present in cube but wasn't added to cubepp.

Because width and height are stored as uint32_t, we first need to read them
in as int32_t and make sure they aren't negative.

18 months agovkcube: Fix object type printing in 32 bit mode
Charles Giessen [Fri, 2 Dec 2022 22:03:49 +0000 (15:03 -0700)]
vkcube: Fix object type printing in 32 bit mode

Previously the code assumed that all types were convertable to void*, since
they happened to have the same size on 64 bit platforms. But in 32 bit, this
is not true.
Now the code converts dispatchable handles to uintptr_t then to void* only for
dispatchable types, printing all other types as non-dispatchable 64 bit ints.

18 months agogithub: Use main instead of master
Juan Ramos [Mon, 16 Jan 2023 23:10:30 +0000 (16:10 -0700)]
github: Use main instead of master

closes #729

18 months agovkcube: Add more debug utils object names and cb labels
Jeremy Gebben [Thu, 12 Jan 2023 18:47:42 +0000 (11:47 -0700)]
vkcube: Add more debug utils object names and cb labels

18 months agoUpdate README.md to point to LICENSE.md
Charles Giessen [Sun, 15 Jan 2023 06:07:56 +0000 (23:07 -0700)]
Update README.md to point to LICENSE.md

Erroneously referred to COPYRIGHT.md

18 months agobuild: Update vulkan headers
Juan Ramos [Tue, 10 Jan 2023 19:29:17 +0000 (12:29 -0700)]
build: Update vulkan headers

- Vulkan::Registry was removed
- vk_sdk_platform.h is deprecated

NOTE: Need to update loader due to shared dependency.

18 months agobuild: Update to header 1.3.238
Mike Schuchardt [Tue, 20 Dec 2022 00:15:32 +0000 (16:15 -0800)]
build: Update to header 1.3.238

- Update known-good
- Generate source

18 months agocmake: Use PkgConfig to find DirectFB
Juan Ramos [Tue, 27 Dec 2022 22:17:57 +0000 (15:17 -0700)]
cmake: Use PkgConfig to find DirectFB

18 months agocmake: Use PkgConfig to find X11
Juan Ramos [Tue, 27 Dec 2022 19:08:43 +0000 (12:08 -0700)]
cmake: Use PkgConfig to find X11

18 months agocmake: Use PkgConfig to find XCB
Juan Ramos [Tue, 27 Dec 2022 19:05:40 +0000 (12:05 -0700)]
cmake: Use PkgConfig to find XCB

19 months agoci: Fix macOS github actions codegen verification
Mike Schuchardt [Wed, 14 Dec 2022 18:59:27 +0000 (10:59 -0800)]
ci: Fix macOS github actions codegen verification

Needs to point at install dir instead of repo dir since we might be
using a cache and not full checkout of Vulkan-Headers.

19 months agovulkaninfo: Remove macOS application bundle
Mike Schuchardt [Wed, 14 Dec 2022 18:18:35 +0000 (10:18 -0800)]
vulkaninfo: Remove macOS application bundle

macOS Ventura broke the "shell script as a executable" method for
delivering vulkaninfo as an .app bundle. Rather than find another
workaround, we decided to remove the bundle version from the SDK since
it is redundant. The command-line vulkaninfo is unaffected and can still
be launched from Finder.

19 months agoUpdated to latest known good MoltenVK
Richard S. Wright Jr [Fri, 9 Dec 2022 18:09:06 +0000 (13:09 -0500)]
Updated to latest known good MoltenVK

19 months agobuild: Update to header 1.3.237
Mike Schuchardt [Thu, 8 Dec 2022 18:19:36 +0000 (10:19 -0800)]
build: Update to header 1.3.237

- Update known-good
- Generate source

19 months agoci: Speed up MacOS builds
Juan Ramos [Sat, 3 Dec 2022 00:53:51 +0000 (17:53 -0700)]
ci: Speed up MacOS builds

Caches update_deps.py dependencies.
In particular MoltenVK since it's a huge dependency.

19 months agocube & cubepp: Handle negative gpu selections
Charles Giessen [Thu, 1 Dec 2022 17:25:11 +0000 (11:25 -0600)]
cube & cubepp: Handle negative gpu selections

Previously, a negative gpu number (other than -1) would cause the program to
assert. It is simple enough to handle it gracefully, so best to do so.

19 months agocubepp: Set the apiVersion to 1.0
Charles Giessen [Thu, 1 Dec 2022 17:23:36 +0000 (11:23 -0600)]
cubepp: Set the apiVersion to 1.0

19 months agobuild: Update to header 1.3.236
Mike Schuchardt [Thu, 1 Dec 2022 19:05:30 +0000 (11:05 -0800)]
build: Update to header 1.3.236

- Update known-good
- Generate source

19 months agovulkaninfo: Fix quoting strings in json output
Charles Giessen [Wed, 30 Nov 2022 22:51:02 +0000 (16:51 -0600)]
vulkaninfo: Fix quoting strings in json output

When adding a value_description, the json output would incorrectly quote
the PrintKeyString output, leading to invalid json being generated.

19 months agoicd: Set MockICD driver version to header version
spencer-lunarg [Mon, 28 Nov 2022 06:34:49 +0000 (15:34 +0900)]
icd: Set MockICD driver version to header version

20 months agobuild: Update to header 1.3.235
Mike Schuchardt [Thu, 17 Nov 2022 18:42:34 +0000 (10:42 -0800)]
build: Update to header 1.3.235

- Update known-good
- Generate source

20 months agocmake: Use new VulkanHeaders cmake support
Juan Ramos [Thu, 10 Nov 2022 21:55:46 +0000 (14:55 -0700)]
cmake: Use new VulkanHeaders cmake support

20 months agobuild: Update to header 1.3.234
Mike Schuchardt [Thu, 10 Nov 2022 16:50:12 +0000 (08:50 -0800)]
build: Update to header 1.3.234

- Update known-good
- Generate source

20 months agobuild: Compile vkcube and other demos, even when cross-compiling
Simon McVittie [Wed, 9 Nov 2022 15:32:39 +0000 (15:32 +0000)]
build: Compile vkcube and other demos, even when cross-compiling

When building software for a non-x86 processor on an x86 build machine,
or building 32-bit software on a 64-bit build machine, it's still useful
to compile demo programs that can be copied into the target environment
and run there, even if they won't necessarily be runnable on the build
machine.

This also addresses a build failure when cross-compiling and attempting
to leave the demos enabled:

    CMake Error at cube/CMakeLists.txt:274 (install):
      install TARGETS given target "vkcube" which does not exist.

(and similar for the other demos)

Resolves: https://github.com/KhronosGroup/Vulkan-Tools/issues/592
Signed-off-by: Simon McVittie <smcv@collabora.com>
20 months agobuild: Update to header 1.3.233
Mike Schuchardt [Thu, 3 Nov 2022 17:38:54 +0000 (10:38 -0700)]
build: Update to header 1.3.233

- Update known-good
- Generate source

20 months agovulkaninfo: Fix VkShaderStageFlagBits expansion
Mike Schuchardt [Tue, 1 Nov 2022 23:37:47 +0000 (16:37 -0700)]
vulkaninfo: Fix VkShaderStageFlagBits expansion

Fix bug where SHADER_STAGE_ALL_GRAPHICS and SHADER_STAGE_ALL were
showing up in the list of set bits for
VkPhysicalDeviceSubgroupProperties::supportedStages. When expanding a
FlagBits value we should only consider the single-bit options.

20 months agovulkaninfo: Add Driver Version handling
Charles Giessen [Thu, 27 Oct 2022 20:14:27 +0000 (14:14 -0600)]
vulkaninfo: Add Driver Version handling

Previously, driverVersion fields were treated as hex values, when in
reality each vendor has their own specific format. This commit adds
parsers for Nvidia, Intel (windows only), and relies on the Vulkan
API format for everyone else. AMD uses the Vulkan API format. This
change applies only to the summary, text, and html output.

Add ostream<< operators for VulkanVersion and VkConformanceVersion,
rather than having bespoke to_string functions.

When printing versions, use the major.minor.patch as the primary output
and put the uint32_t form of the version in parenthesis. This moves the
more useful version info into the spotlight, putting the less useful in
parenthesis.

Rework the way secondary values (stuff in parenthesis after a value)
are printed.

20 months agovulkaninfo: Improve array printing
Charles Giessen [Thu, 27 Oct 2022 20:11:10 +0000 (14:11 -0600)]
vulkaninfo: Improve array printing

Make the autogen use for loops instead of outputing printers for each
array element, since its needlessly verbose.

Make UUID and LUID printers use operator<< instead of to_string. This
simplifies the logic and makes sure that the array is printed correctly
everywhere, rather than requiring calling code to use to_string_XX()
where needed.

20 months agovulkaninfo: Escape strings in JSON output
Charles Giessen [Thu, 27 Oct 2022 20:03:15 +0000 (14:03 -0600)]
vulkaninfo: Escape strings in JSON output

JSON output breaks if escape sequences are in the various strings
output by drivers but aren't properly handles. This commit scans
over each string and inserts backslashes when necessary.

20 months agobuild: Update to header 1.3.232
Mike Schuchardt [Thu, 27 Oct 2022 16:58:17 +0000 (09:58 -0700)]
build: Update to header 1.3.232

- Update known-good
- Generate source

20 months agocmake: Sync FindVulkanHeaders.cmake with VVL
Mike Schuchardt [Wed, 26 Oct 2022 20:31:08 +0000 (13:31 -0700)]
cmake: Sync FindVulkanHeaders.cmake with VVL

This picks up a few fixes, notably
https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/1393 which
helps with cross-compiling.

20 months agocmake: Remove illegal CMake code
Juan Ramos [Wed, 26 Oct 2022 16:40:51 +0000 (10:40 -0600)]
cmake: Remove illegal CMake code

include(FindPkgConfig) technically works but is very wrong.

20 months agocmake: Suppress Wayland warnings
Juan Ramos [Wed, 26 Oct 2022 16:38:01 +0000 (10:38 -0600)]
cmake: Suppress Wayland warnings

The warnings are purely semantic.

20 months agodocs: Explain CMAKE_EXPORT_COMPILE_COMMANDS
Juan Ramos [Wed, 26 Oct 2022 16:18:28 +0000 (10:18 -0600)]
docs: Explain CMAKE_EXPORT_COMPILE_COMMANDS

20 months agocmake: Remove USE_CCACHE
Juan Ramos [Wed, 26 Oct 2022 16:16:58 +0000 (10:16 -0600)]
cmake: Remove USE_CCACHE

Update docs with modern CMake approach

20 months agocmake: Remove outdate code
Juan Ramos [Wed, 26 Oct 2022 16:13:56 +0000 (10:13 -0600)]
cmake: Remove outdate code

Setting CMAKE_MACOS_RPATH is not needed given our cmake minimum

20 months agovulkaninfo: Fix validation errors
Charles Giessen [Wed, 19 Oct 2022 20:41:50 +0000 (14:41 -0600)]
vulkaninfo: Fix validation errors

Required checking for surface support of a given physical device as well as
adding the correct Image usage for transient images.

20 months agoci: Use MACOS_DEPLOYMENT_TARGET
Juan Ramos [Fri, 21 Oct 2022 16:36:55 +0000 (10:36 -0600)]
ci: Use MACOS_DEPLOYMENT_TARGET

- This approach matches what our SDK release process expect
  - Since setting CMAKE_MACOS_DEPLOYMENT_TARGET ignores env variable which SDK
release process uses, which could will cause issues in the future, if
the version is changed
- CMAKE_MACOS_DEPLOYMENT_TARGET doesn't propogate to dependencies via
  update_deps.py

21 months agoUpdated MoltenVK to 1.2.0
Richard S. Wright Jr [Thu, 20 Oct 2022 22:23:30 +0000 (18:23 -0400)]
Updated MoltenVK to 1.2.0

21 months agocubepp: Fix presentKHR assert
Juan Ramos [Wed, 19 Oct 2022 22:51:58 +0000 (16:51 -0600)]
cubepp: Fix presentKHR assert

Currently cubepp fails on Debug builds and triggers an assert.

This avoids the assert by calling the appropriate presentKHR.

21 months agobuild: Update to header 1.3.231
Mike Schuchardt [Thu, 13 Oct 2022 15:32:17 +0000 (08:32 -0700)]
build: Update to header 1.3.231

- Update known-good
- Generate source

21 months agocube: silence -DNDEBUG warning for KHR_display after 27c21248221f
Jan Beich [Wed, 5 Oct 2022 14:35:22 +0000 (14:35 +0000)]
cube: silence -DNDEBUG warning for KHR_display after 27c21248221f

cube/cube.c:3122:14: error: variable 'result' set but not used [-Werror,-Wunused-but-set-variable]
    VkResult result;
             ^

21 months agobuild: Update to header 1.3.230
Mike Schuchardt [Thu, 29 Sep 2022 18:32:12 +0000 (11:32 -0700)]
build: Update to header 1.3.230

- Update known-good
- Generate source

21 months agobuild: Update to header 1.3.229
Mike Schuchardt [Thu, 22 Sep 2022 18:00:42 +0000 (11:00 -0700)]
build: Update to header 1.3.229

- Update known-good
- Generate source

22 months agobuild: Update to header 1.3.228
Mike Schuchardt [Thu, 15 Sep 2022 16:20:35 +0000 (09:20 -0700)]
build: Update to header 1.3.228

- Update known-good
- Generate source

22 months agobuild: Update to header 1.3.227
Mike Schuchardt [Thu, 8 Sep 2022 17:04:50 +0000 (10:04 -0700)]
build: Update to header 1.3.227

- Update known-good
- Generate source

22 months agobuild: Also include XCB header path
Brad Smith [Tue, 6 Sep 2022 23:34:36 +0000 (19:34 -0400)]
build: Also include XCB header path

22 months agoMove BUILD.gn values into the scope that uses them
Brandon Jones [Wed, 31 Aug 2022 21:23:52 +0000 (14:23 -0700)]
Move BUILD.gn values into the scope that uses them

There are several values that in the build file that are only used when
the platform is not Android, but which are declared outside the
`if(!is_android)` block. This causes unused variable errors when
attempting to build chromium on Android with a dependency on this repo.

By moving the definitions into the conditional block the error is
resolved.

22 months agobuild: Update to header 1.3.226 upstream/1.3.226
Mike Schuchardt [Thu, 1 Sep 2022 16:31:34 +0000 (09:31 -0700)]
build: Update to header 1.3.226

- Update known-good
- Generate source

22 months agovulkaninfo/cube: added support for OpenBSD
Brad Smith [Tue, 30 Aug 2022 23:13:27 +0000 (19:13 -0400)]
vulkaninfo/cube: added support for OpenBSD

23 months agobuild: Update to header 1.3.225
Mike Schuchardt [Thu, 18 Aug 2022 20:06:08 +0000 (13:06 -0700)]
build: Update to header 1.3.225

- Update known-good
- VkVideoProfileKHR -> VkVideoProfileInfoKHR
- VkVideoProfilesKHR -> VkVideoProfileListInfoKHR
- Generate source

23 months agoUpdated known good version of MoltenVK
Richard S. Wright Jr [Wed, 17 Aug 2022 17:48:11 +0000 (13:48 -0400)]
Updated known good version of MoltenVK

23 months agobuild: Update to header 1.3.224
Mike Schuchardt [Thu, 4 Aug 2022 20:33:13 +0000 (13:33 -0700)]
build: Update to header 1.3.224

- Update known-good
- Generate source

23 months agovulkaninfo: Prevent infinite loops
Charles Giessen [Fri, 29 Jul 2022 22:23:12 +0000 (16:23 -0600)]
vulkaninfo: Prevent infinite loops

GetVectorInit could get stuck in an infinite loop if the underlying API call eternally returned
VK_INCOMPLETE. This commit makes GetVectorInit stop after 3 tries.

23 months agobuild: Update to header 1.3.223
Mike Schuchardt [Thu, 28 Jul 2022 18:09:02 +0000 (11:09 -0700)]
build: Update to header 1.3.223

- Update known-good
- Generate source

23 months agoci: Fix github android build
Mike Schuchardt [Thu, 28 Jul 2022 18:30:53 +0000 (11:30 -0700)]
ci: Fix github android build

The ANDROID_NDK_HOME env var seems to have disappeared with the
deprecation of ndk-bundle:
https://github.com/actions/virtual-environments/issues/5879

2 years agovulkaninfo: include wayland-client because its functions are used
Jan Engelhardt [Thu, 21 Jul 2022 13:22:26 +0000 (15:22 +0200)]
vulkaninfo: include wayland-client because its functions are used

"Include what you use": vulkaninfo.h calls wl_registry_bind, thus
ought to include wayland-client.h.

2 years agoSet usage on transient image based on format
jfthibert [Mon, 18 Jul 2022 20:43:09 +0000 (16:43 -0400)]
Set usage on transient image based on format

Avoids setting the color attachment bit for depth stencil formats to prevent crash

2 years agobuild: Update to header 1.3.222
Mike Schuchardt [Thu, 21 Jul 2022 17:08:24 +0000 (10:08 -0700)]
build: Update to header 1.3.222

- Update known-good
- Generate source

2 years agobuild: Update to header 1.3.221
Mike Schuchardt [Thu, 14 Jul 2022 16:22:33 +0000 (09:22 -0700)]
build: Update to header 1.3.221

- Update known-good
- Generate source

2 years agobuild: Update to header 1.3.220
Mike Schuchardt [Thu, 7 Jul 2022 17:37:55 +0000 (10:37 -0700)]
build: Update to header 1.3.220

- Update known-good
- Generate source

2 years agobuild: Update to header 1.3.219
Mike Schuchardt [Thu, 30 Jun 2022 19:30:53 +0000 (12:30 -0700)]
build: Update to header 1.3.219

- Update mock_icd generator create function detection to only look for
  Create/Allocate at beginning of function name
- Update known-good
- Generate source

2 years agocmake: Use ${VULKAN_SDK} environment variable paths prior to the system default paths.
Chang Chen [Fri, 24 Jun 2022 03:23:22 +0000 (11:23 +0800)]
cmake: Use ${VULKAN_SDK} environment variable paths prior to the system default paths.

2 years agoLog Surface Extension Error, but don't fail on it.
Spundun Bhatt [Wed, 22 Jun 2022 03:48:56 +0000 (20:48 -0700)]
Log Surface Extension Error, but don't fail on it.

2 years agowin32: use _set_abort_behavior from ucrt
Michel Zou [Tue, 14 Jun 2022 16:28:14 +0000 (18:28 +0200)]
win32: use _set_abort_behavior from ucrt

2 years agobuild: Update to header 1.3.218
Mike Schuchardt [Thu, 16 Jun 2022 20:49:34 +0000 (13:49 -0700)]
build: Update to header 1.3.218

- Update known-good
- Generate source

2 years agobuild: Update to header 1.3.217
Mike Schuchardt [Mon, 13 Jun 2022 19:55:10 +0000 (12:55 -0700)]
build: Update to header 1.3.217

- Update known-good
- Generate source

2 years agoUpdated MoltenVK known good to 1.1.10
Richard S. Wright Jr [Mon, 13 Jun 2022 21:10:38 +0000 (17:10 -0400)]
Updated MoltenVK known good to 1.1.10

2 years agobuild: Update to header 1.3.216
Mike Schuchardt [Thu, 2 Jun 2022 19:53:27 +0000 (12:53 -0700)]
build: Update to header 1.3.216

- Update known-good
- Generate source

2 years agovkcubepp: Use correct extension for portability enumeration
Charles Giessen [Thu, 26 May 2022 21:26:32 +0000 (15:26 -0600)]
vkcubepp: Use correct extension for portability enumeration

2 years agovulkaninfo: Set sType in PhysDevGroupProps
Charles Giessen [Wed, 25 May 2022 16:35:08 +0000 (10:35 -0600)]
vulkaninfo: Set sType in PhysDevGroupProps

This was recently discovered by new validation messages. The
VkPhysicalDeviceGroupProperties sType member needs to be initialized properly.

2 years agobuild: Update to header 1.3.215
Mike Schuchardt [Tue, 24 May 2022 17:45:39 +0000 (10:45 -0700)]
build: Update to header 1.3.215

- Update known-good
- Generate source

2 years agocube: add null check on wl_*_destroy functions
shironeko [Thu, 19 May 2022 14:21:07 +0000 (10:21 -0400)]
cube: add null check on wl_*_destroy functions

Encountered the crash on a compositor without keyboard, this seems to
fix it.

2 years agoAvoid _set_abort_behavior on MINGW
Michel Zou [Wed, 18 May 2022 16:58:25 +0000 (18:58 +0200)]
Avoid _set_abort_behavior on MINGW

2 years agobuild: Update to header 1.3.214
Mike Schuchardt [Tue, 17 May 2022 15:44:30 +0000 (08:44 -0700)]
build: Update to header 1.3.214

- Update known-good
- Generate source

2 years agoci: Build cube with multiple WSI options
Mike Schuchardt [Wed, 11 May 2022 22:57:07 +0000 (15:57 -0700)]
ci: Build cube with multiple WSI options

2 years agocubepp: Fix VK_KHR_display compile error
Mike Schuchardt [Wed, 11 May 2022 22:43:28 +0000 (15:43 -0700)]
cubepp: Fix VK_KHR_display compile error

Vulkan-Hpp Implicit-cast operators on vk::ResultValue were previously
deprecated and finally removed in the v1.3.213 headers. Fix the
resulting compiler error in cubepp by explicitly using the value member
of vk:ResultValue.

Change-Id: Ie441bd56dfb9dfe26e966e0ec3fb3139712a351a

2 years agobuild: Update to header 1.3.213
Mike Schuchardt [Wed, 11 May 2022 17:32:40 +0000 (10:32 -0700)]
build: Update to header 1.3.213

- Update known-good
- Generate source

2 years agoci: Remove fbactions/setup-winsdk
Mike Schuchardt [Thu, 21 Apr 2022 17:35:44 +0000 (10:35 -0700)]
ci: Remove fbactions/setup-winsdk

The default version 18362 started 404'ing and a new enough version is
present in the base image.

2 years agobuild: Update to header 1.3.212
Mike Schuchardt [Thu, 21 Apr 2022 17:28:16 +0000 (10:28 -0700)]
build: Update to header 1.3.212

- Update known-good
- Generate source

2 years agoUpdated MoltenVK tag
Richard S. Wright Jr [Thu, 14 Apr 2022 23:26:37 +0000 (19:26 -0400)]
Updated MoltenVK tag

Now at latest known good release

2 years agodocs: Replace references to DevSim with Profiles
Charles Giessen [Wed, 13 Apr 2022 21:05:35 +0000 (15:05 -0600)]
docs: Replace references to DevSim with Profiles

Updated the docs to better reflect the behavior of vulkaninfo and
remove references to DevSim.

2 years agoGuard chromium-specific configs in BUILD.gn
Brian Osman [Tue, 12 Apr 2022 21:16:16 +0000 (17:16 -0400)]
Guard chromium-specific configs in BUILD.gn

Skia is going to start using these GN files, but does not have chromium's //build. To get them to build, guard those references using `build_with_chromium`. A similar mechanism (with the same argument) is used throughout other third party dependencies.

2 years agomock_icd: Remove fallthroughs in switches
Charles Giessen [Wed, 13 Apr 2022 20:42:25 +0000 (14:42 -0600)]
mock_icd: Remove fallthroughs in switches

They cause unecessary warnings in some compilers and are not necessary for the
code to function. Replaced with if statements.

2 years agocube,vulkaninfo: Add portability_enumeration if present
Charles Giessen [Mon, 11 Apr 2022 20:39:06 +0000 (14:39 -0600)]
cube,vulkaninfo: Add portability_enumeration if present

Make vulkaninfo and vkcube/vkcubepp enable the portability enumeration bit if it is
available.

2 years agoShow surface information on GGP platform
Md Abdullah Al Fahim [Fri, 8 Apr 2022 05:53:36 +0000 (05:53 +0000)]
Show surface information on GGP platform

2 years agoFactor out typemap_helper header in BUILD rules for reusability in Dawn without depen...
Loko Kung [Wed, 6 Apr 2022 18:33:58 +0000 (11:33 -0700)]
Factor out typemap_helper header in BUILD rules for reusability in Dawn without depending on entire icd lib.

2 years agobuild: Update to header 1.3.211
Mike Schuchardt [Tue, 5 Apr 2022 17:29:34 +0000 (10:29 -0700)]
build: Update to header 1.3.211

- Update known-good
- Generate source

2 years agobuild: Update to header 1.3.210
Mike Schuchardt [Fri, 1 Apr 2022 18:04:00 +0000 (11:04 -0700)]
build: Update to header 1.3.210

- Update known-good
- Generate source

2 years agocubepp: Fix wayland regression
Charles Giessen [Thu, 31 Mar 2022 16:07:22 +0000 (10:07 -0600)]
cubepp: Fix wayland regression

2 years agocubepp: Fix regression in VK_KHR_display
Charles Giessen [Wed, 30 Mar 2022 22:17:29 +0000 (16:17 -0600)]
cubepp: Fix regression in VK_KHR_display

2 years agobuild: Update to header 1.3.209
Mike Schuchardt [Wed, 23 Mar 2022 17:33:40 +0000 (10:33 -0700)]
build: Update to header 1.3.209

- Update known-good
- Generate source

2 years agovulkaninfo: Make default json filename unique
Charles Giessen [Tue, 22 Mar 2022 22:32:40 +0000 (16:32 -0600)]
vulkaninfo: Make default json filename unique

Use the device name and driver version in the default filename for profile
schema vulkaninfo outputs. Example output would be:
"VP_VULKANINFO_Driver_Name_100_3_4.json"