Richard S. Wright Jr [Wed, 6 Jan 2021 21:02:12 +0000 (16:02 -0500)]
vkcube: portabilty extension as text so it builds on all platforms
Richard S. Wright Jr [Wed, 6 Jan 2021 20:12:19 +0000 (15:12 -0500)]
Defined VK_ENABLE_BETA_EXTENSIONS so that VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME would be defined
Richard S. Wright Jr [Wed, 6 Jan 2021 18:03:18 +0000 (13:03 -0500)]
vkcube: Updated to support portability extension properly
Shannon McPherson [Tue, 22 Dec 2020 23:27:35 +0000 (16:27 -0700)]
build: Update known-good files for 1.2.165 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I83402ae9bf0495e1105d124feedfa2ced92a9647
richard-lunarg [Tue, 22 Dec 2020 21:50:21 +0000 (16:50 -0500)]
Vulkaninfo for iOS devices
Joe Hermaszewski [Sat, 5 Dec 2020 07:01:11 +0000 (15:01 +0800)]
Make getTimeInNanoseconds get time in nanoseconds
Previously it was returning the time in microseconds.
This also fixes the use of VK_GOOGLE_display_timing which requires a
time in nanoseconds.
Charles Giessen [Wed, 9 Dec 2020 22:14:22 +0000 (15:14 -0700)]
vulkaninfo: Fix win32 fullscreen pnext chain
vulkaninfo was triggering
VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-pNext-02671 by not adding a
VkSurfaceFullScreenExclusiveWin32InfoEXT in the pNext chain of
VkSurfaceCapabilitiesFullScreenExclusiveEXT. This commit fixes it by adding
the struct and filling in HMONITOR with the 'current monitor' as gotten by
MonitorFromWindow with a default of using the primary monitor.
Change-Id: I025f66ef8e2d47ebb29ccd7361d3d162c644de09
Shannon McPherson [Mon, 23 Nov 2020 15:48:45 +0000 (08:48 -0700)]
build: Update known-good files for 1.2.162 header
Changes:
- Updated `known_good.json`
- Generated new source files
- Updated `generate_vulkan_wrapper.py` and generated new
`vulkan_wrapper.cpp` and `vulkan_wrapper.h`
Change-Id: Idbce5923b21947d2121ed66159c7bd96ae7d0c8a
richard-lunarg [Mon, 23 Nov 2020 18:17:24 +0000 (13:17 -0500)]
vulkaninfo: clang-format cleanup
richard-lunarg [Mon, 23 Nov 2020 17:18:47 +0000 (12:18 -0500)]
vulkaninfo: clang-format cleanup
Richard S. Wright Jr [Fri, 20 Nov 2020 02:38:50 +0000 (21:38 -0500)]
vulkaninfo: cleanup and comments
Richard S. Wright Jr [Thu, 19 Nov 2020 21:24:25 +0000 (16:24 -0500)]
vulkaninfo: Fix to pass appveyor tests
Richard S. Wright Jr [Wed, 18 Nov 2020 23:45:57 +0000 (18:45 -0500)]
vulkaninfo: WIP: Modified for use from iOS
Mike Schuchardt [Tue, 7 Jul 2020 00:15:17 +0000 (17:15 -0700)]
scripts: Remove assert for nested array types
Multi-dimensional are already in the specification and don't cause any
issues for vulkaninfo
Shannon McPherson [Wed, 18 Nov 2020 01:37:35 +0000 (18:37 -0700)]
build: Update known-good files for 1.2.161 header
Changes:
- Updated `known_good.json`
Change-Id: I7cd06612c06213138173fb2b26f558313aa4b975
Charles Giessen [Tue, 17 Nov 2020 18:30:08 +0000 (11:30 -0700)]
vulkaninfo: add option to always open details for HTML
Doesn't alter current behavior.
Change-Id: I76cb0c4395741848667b2687d722b9b2245fb296
Charles Giessen [Thu, 12 Nov 2020 21:28:32 +0000 (14:28 -0700)]
vulkaninfo: Make json output print extensions
The json schema includes an array of extensions, yet vulkaninfo was not
printing them. This commit remedies that.
Change-Id: I4ae8627660f16d7c831704ba4b082870b5e62bb5
Shannon McPherson [Thu, 12 Nov 2020 02:15:39 +0000 (19:15 -0700)]
build: Update known-good files for 1.2.160 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I6a07892e429a0b81c82ac26bed465caa04d7fb01
orbea [Mon, 9 Nov 2020 17:55:02 +0000 (09:55 -0800)]
cmake: Silence warnings.
Shannon McPherson [Wed, 4 Nov 2020 22:41:43 +0000 (15:41 -0700)]
build: Update known-good files for 1.2.159 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I944e4a38d50935b9078ea9c11cbd467c5e621f53
Nathaniel Cesario [Mon, 2 Nov 2020 18:33:45 +0000 (11:33 -0700)]
mockicd: Remove VK_KHR_portability_subset
Don't report VK_KHR_portability_subset as being supported.
Change-Id: I84fa925cee23d3a28ca2726972cb9820c03c619c
Shannon McPherson [Thu, 29 Oct 2020 16:20:18 +0000 (10:20 -0600)]
build: Update known-good files for 1.2.158 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I2f782250bff8bedda4991c45278adf1bf2ae0261
Shannon McPherson [Thu, 15 Oct 2020 19:44:49 +0000 (13:44 -0600)]
build: Update known-good files for 1.2.157 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I14bda6d91e80d48602697f64fdc8bdf4651580e9
Shannon McPherson [Tue, 6 Oct 2020 16:59:49 +0000 (10:59 -0600)]
build: Update known-good files for 1.2.156 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I0186805bc6848e1f7912ede85ea8045be82beaec
Charles Giessen [Thu, 1 Oct 2020 21:16:34 +0000 (15:16 -0600)]
vulkaninfo: Add more portability macro guards
Previous commit didn't contain all that were necessary.
Change-Id: I0983beb06d95dd316ece5b7ba52754e4ad180cbd
Charles Giessen [Wed, 30 Sep 2020 22:54:40 +0000 (16:54 -0600)]
vulkaninfo: properly macro guard the portability features.
Whlie the main bits were properly guarded, several places should of
been which weren't, including a VK_EXT_NAME which caused compilation
to fail if VK_ENABLE_BETA_EXTENSIONS wasn't defined.
Change-Id: Ifa40f903c4affbf0c169076d9fe5dca522f82db4
Nathaniel Cesario [Wed, 23 Sep 2020 23:46:04 +0000 (17:46 -0600)]
build: Fix linux/windows build in single directory
Allows a single worktree to be used by multiple platforms for builds.
Change-Id: I5078eaee6f62757ebb431fdc22405cab77d2356e
richard-lunarg [Tue, 29 Sep 2020 01:42:37 +0000 (21:42 -0400)]
Update known_good.json for MoltenVK
richard-lunarg [Mon, 28 Sep 2020 18:56:44 +0000 (14:56 -0400)]
Fixed paths for MoltenVK changes
Charles Giessen [Tue, 22 Sep 2020 23:39:45 +0000 (17:39 -0600)]
vulkaninfo: Add json output for portability subset
Print the Properties and Features of the KHR_porability_subset.
Requires a driver which supports the extension to get any usable
output.
Change-Id: I45d0d63108f0542868207247d0e6ec42b5a84b67
Shannon McPherson [Tue, 22 Sep 2020 16:55:55 +0000 (10:55 -0600)]
build: Update known-good files for 1.2.154 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I80afb66d2c1153fe06a1bb6098d0c33c27d40d25
Shannon McPherson [Thu, 10 Sep 2020 18:07:53 +0000 (12:07 -0600)]
build: Update known-good files for 1.2.153 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I8899510f2c954d91a39241c88ae8371f4f973384
Shannon McPherson [Mon, 7 Sep 2020 19:47:22 +0000 (13:47 -0600)]
build: Update known-good files for 1.2.152 header
Changes:
- Updated `known_good.json`
Change-Id: Ia5b8ab0d3d0e0d822fac1aa34d600d8ef0e26699
Bob Ellison [Fri, 28 Aug 2020 00:10:42 +0000 (18:10 -0600)]
android: NDK 21d
Update the Travis configuration to use the most recently available
Android NDK, 21d (i.e. 21.3.6528147).
Jamie Madill [Thu, 27 Aug 2020 02:46:52 +0000 (22:46 -0400)]
Update GN to include header dependencies.
These missing header dependencies were picked up by ANGLE's export
targets script.
Biswapriyo Nath [Tue, 25 Aug 2020 18:19:34 +0000 (23:49 +0530)]
cube: satisfy clang-format
Biswapriyo Nath [Mon, 24 Aug 2020 20:19:05 +0000 (01:49 +0530)]
vulkaninfo: Check if NOMINMAX is already defined
Biswapriyo Nath [Mon, 24 Aug 2020 20:17:41 +0000 (01:47 +0530)]
cube: Check _MSC_VER instead of _WIN32 for pragma directive
Biswapriyo Nath [Mon, 24 Aug 2020 20:15:53 +0000 (01:45 +0530)]
CMake: Check MSVC while deciding MSVC_VERSION
Jamie Madill [Mon, 17 Aug 2020 02:43:50 +0000 (22:43 -0400)]
Bump mock ICD surface max extents.
This allows for rotated width/height and also other non-standard
surface dimensions.
Fixes #436
Change-Id: I3d800c075f11a8d439e329c359ea73a7c33c1073
Shannon McPherson [Tue, 18 Aug 2020 03:43:44 +0000 (21:43 -0600)]
build: Update known-good files for 1.2.151 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I499ac301dc89aadb9881700a0b6ce83cb4b82ec4
Jeremy Kniager [Fri, 7 Aug 2020 20:10:58 +0000 (14:10 -0600)]
build: Update MoltenVK version in known-good.json
Increased MoltenVK version in known-good.json from:
v.1.0.43 -> v1.0.44
Change-Id: I910ee0a939623b87ec9df23227014192f088af32
Nicolas Caramelli [Mon, 13 Jul 2020 16:10:07 +0000 (18:10 +0200)]
Fix formatting errors
Nicolas Caramelli [Mon, 13 Jul 2020 15:22:09 +0000 (17:22 +0200)]
Add support for VK_EXT_directfb_surface extension
Charles Giessen [Thu, 19 Mar 2020 23:00:11 +0000 (17:00 -0600)]
vulkaninfo: add `--summary` option that shows basic system info
Shows the instance version, instance extensions, available layers, and for each
physical device on the system, it shows the VkPhysicalDeviceProperties and driver
properties if its supported.
Change-Id: Iccf721af9b8a7da9b008d8879212fa1125dd0d2e
Charles Giessen [Tue, 28 Jul 2020 20:29:09 +0000 (14:29 -0600)]
vulkaninfo: fix device ext list having bad items
vkconfig exposed an issue in the vulkan-loader which resulted in two different sizes
returned from vkEnumerateDeviceExtensionProperties(). A full fix requires a change to
the loader, but this commit stops the issue from happening in vulkaninfo.
Change-Id: I808d1fd13868711675aae5c91ea5100ec8cbc316
Shannon McPherson [Mon, 20 Jul 2020 20:47:26 +0000 (14:47 -0600)]
build: Update known-good files for 1.2.148 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I5a2769c0f2634e460260c281eebb4a947c2e50d9
Tony-LunarG [Thu, 16 Jul 2020 20:26:03 +0000 (14:26 -0600)]
cube: Add option to select phys device
Change-Id: Ic6ff0210b586e03597aa3418b45bf0fa57b1157c
Bob Ellison [Wed, 15 Jul 2020 21:15:28 +0000 (15:15 -0600)]
scripts: fix update_deps retry clone
There was a subtle bug in the original change; "git fetch"
would retry correctly, but "git clone" failed because the
destination directory was missing (after having been removed,
to ensure a clean clone operation).
The test case that was used (hundreds of times) happened to
provoke an error on the "git fetch" path; I was unaware that
the "git clone" failure path had never been exercised.
Shannon McPherson [Wed, 15 Jul 2020 01:21:22 +0000 (19:21 -0600)]
build: Update known-good files for 1.2.147 header
Changes:
- Updated `known_good.json`
- Generated new source files
Change-Id: I51ec7fd4b512ba9fc5955ef4eb229838bf5c3951
Bob Ellison [Mon, 13 Jul 2020 17:19:54 +0000 (11:19 -0600)]
scripts: udpate_deps retry on clone or fetch failure
Duplicate change from commit
b636386a7824eb4e6a0d99962e1491ac68d3a295
on KhronosGroup/Vulkan-ValidationLayers, to keep update_deps.py
in sync across all repos. Original commit message is:
We see spurious failures to connect to github when trying to
run update_deps.py (up to 7% of runs, depending on the machine).
This is an annoyance when running by hand, but a headache and
a serious resource waste when running in automation (as a single
broken "git clone" or "git fetch" can cause the whole run to fail).
These changes allow update_deps.py to automatically retry
"git fetch" and "git clone" operations on failure.
These changes will be duplicated in follow-on PRs to the
other repositories that include "update_deps.py", to keep
them all in sync. These are KhronosGroup/Vulkan-Tools,
KhronosGroup/Vulkan-Loader, LunarG/VulkanSamples, and
LunarG/VulkanTools.
I'm also including a "technical debt" update here, because
VulkanTools/scripts/update_deps.py had diverged from the other
"update_deps.py" versions, to add a way to avoid building a
dependency if that dependency is not supported on the current
build platform. This should be harmless to the other
repositories (though potentially useful in the future). The
original commit was
aaabc9df034f1fdf9a976a6293d0983b079143ee
with description:
In update deps, this will check that a dependency is actually supported
on the platform being built. This is needed because the loader is a
dependency on all platforms other than Windows.
Shannon McPherson [Mon, 6 Jul 2020 17:29:34 +0000 (11:29 -0600)]
build: Update known-good files for 1.2.146 header
Changes:
- Updated `known_good.json`
- Added directfb to platform dictionary in `common_codegen.py`
- Generated new source files
Change-Id: I8dcc87d22036b2df068da0c5220a5e1158bbe07c
Jeremy Kniager [Thu, 25 Jun 2020 19:17:31 +0000 (13:17 -0600)]
build: Update MoltenVK version in known-good.json
Updated MoltenVK version in known-good.json from v1.0.41
to v.1.0.43
Change-Id: Iff1af627abcc544c58577a200312ea2ca819e557
Shannon McPherson [Wed, 24 Jun 2020 21:20:01 +0000 (15:20 -0600)]
build: Update known-good files for 1.2.145 header
Changes:
- Updated known-good files
- Propogate genvk changes to `lvl_genvky.py`
- Generated new source files
Change-Id: I0391d9804c229e077e28fc3af8fe1da1dd806a2e
Shannon McPherson [Fri, 19 Jun 2020 22:27:10 +0000 (16:27 -0600)]
scripts: Use named params for generator options
When calling in the vulkan header python generator the options have
changed in 1.2.142 which causes the options passed by the tools to be
off by one. This ends up setting the emitExtensions to the value of the
sortProcedure and eventually causes the script to fail.
This CL updates the tools to used named parameters for the generator so
that the addition of the genpath does not throw off the parameter
positioning.
Change-Id: I580d5f07ec3ff9e523dbf738561c2e53cfd42796
Charles Giessen [Mon, 22 Jun 2020 17:50:24 +0000 (11:50 -0600)]
vulkaninfo: fix ordering issues in generated code
Previously the codegen would reorder structs as it pleased
This commit fixed several instances of bad ordering or lack thereof.
Change-Id: Ieda89c64f7400b807407c2fd26660fea10e2bb59
Charles Giessen [Thu, 18 Jun 2020 23:20:15 +0000 (17:20 -0600)]
vulkaninfo: add more asserts to catch bad formatting
Change-Id: I923e6fee647edf40d1720ce5f1736b2672059b71
Charles Giessen [Thu, 18 Jun 2020 22:46:20 +0000 (16:46 -0600)]
vulkaninfo: fix output style for memory types
Made the 'usable for' auto expand in html as well.
Change-Id: I97d22fc6b8f603be314e13b46fe675a199c8b7eb
Tobin Ehlis [Fri, 5 Jun 2020 03:31:45 +0000 (21:31 -0600)]
icd: Cleanup supported VK API version
Use a single constant, kSupportedVulkanAPIVersion, everwhere
that supported API version is referenced. Current value is
VK_API_VERSION_1_1.
Tobin Ehlis [Thu, 4 Jun 2020 21:54:56 +0000 (15:54 -0600)]
icd:Correctly Support Vulkan 1.1
Mock ICD supports Vulkan 1.1 but was only returning 1.0.
Fixing this.
Charles Giessen [Tue, 2 Jun 2020 17:20:12 +0000 (11:20 -0600)]
vulkaninfo: fix indent with for present support
Change-Id: I6fafdfac5d508cb02026c4cf1d1dbf7adf866bd4
Charles Giessen [Tue, 26 May 2020 23:35:18 +0000 (17:35 -0600)]
scripts: Add default arg for kvt_genvk directory
Change-Id: I5b932dc1743e78830467dac4783ac3731accb9e0
Shannon McPherson [Tue, 26 May 2020 18:33:45 +0000 (12:33 -0600)]
build: Update known-good files for 1.2.141 header
Changes:
- Updated known-good files
- Generated new source files
Change-Id: I1db35b33b349d9717ccbdd7ec196c1d84707b280
Charles Giessen [Sun, 26 Apr 2020 00:53:21 +0000 (18:53 -0600)]
vulkaninfo: use generate_source.py for autogen
Previously, to update the autogen for vulkaninfo required running a
separate cmake target. This commit puts it all into the same target
for ease of maintenance.
Change-Id: I98e35b01ee164e9917564f6b603e4a78c6138041
Charles Giessen [Mon, 27 Apr 2020 20:23:28 +0000 (14:23 -0600)]
vulkaninfo: correct memory for linear tiled images
Previously vulkaninfo would always add the
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT for linearly tiled images, which is
not supported by the spec. Vulkaninfo will now not query support for
linear tiled images that are of the color format and no longer adds the
aformentioned image usage flag, instead using the
VK_IMAGE_USAGE_TRANSFER_SRC_BIT.
Change-Id: Ida71b738060e893b7e270005e358d51622ee0c4f
Charles Giessen [Fri, 17 Apr 2020 21:50:28 +0000 (15:50 -0600)]
vulkaninfo: Refactor Supported Memory Image Types
The current code was a hold over from the previous iteration of
vulkaninfo and now is more in line with the style of the rest of
vulkaninfo.
Change-Id: I18a62294c3a1f2ba9bd34d814819ba774ae87a67
Ivan Le Lann [Mon, 18 May 2020 16:16:58 +0000 (18:16 +0200)]
fix README on Windows Runtime Installer folder
Mike Schuchardt [Thu, 7 May 2020 22:33:52 +0000 (15:33 -0700)]
build: Update known-good files for 1.2.140 header
Changes:
- Modify cubepp to use initializer lists for some calls because the
compiler could not deduce the correct overload from the int+pointer
array specification
- Propagate genvk.py changes from VVL
- Modify .gitattributes so generated files are checked out with LF line-endings
- Updated known-good files
- Generated new source files
Tony-LunarG [Thu, 7 May 2020 16:02:58 +0000 (10:02 -0600)]
cube: Remove dependency on VK_DYNAMIC_STATE_RANGE_SIZE
Change-Id: Id6b3906d2605c4742ad0af45747fc37c23cab03e
Petr Kraus [Tue, 28 Apr 2020 17:43:34 +0000 (19:43 +0200)]
cube: Do not set VK_LAYER_PATH in VS
Petr Kraus [Tue, 28 Apr 2020 17:32:14 +0000 (19:32 +0200)]
vulkaninfo: Do not set VK_LAYER_PATH in VS
Petr Kraus [Tue, 28 Apr 2020 18:30:19 +0000 (20:30 +0200)]
vulkaninfo: Meet extension version dependencies
Fixes error when VK_KHR_surface_protected_capabilities
is enabled with Vulkan 1.0
Charles Giessen [Mon, 27 Apr 2020 18:11:24 +0000 (12:11 -0600)]
vulkaninfo: fix queues not reporting presentation
Change-Id: I4d01c5a9b3eb6809a732cd994854a06fee49a24c
Mike Schuchardt [Tue, 21 Apr 2020 21:41:49 +0000 (14:41 -0700)]
scripts: Sync GN json script with ValidationLayers
Petr Kraus [Sat, 18 Apr 2020 21:04:34 +0000 (23:04 +0200)]
repo: Update the clang style from VVL
locke-lunarg [Fri, 17 Apr 2020 00:17:48 +0000 (18:17 -0600)]
icd: Set texel size is 32
4 bytes is too small for many format. It causes fail in some situation.
32 bytes is the biggest size in the whole format, so it should be better.
locke-lunarg [Thu, 16 Apr 2020 04:49:19 +0000 (22:49 -0600)]
icd: Image memory size
Petr Kraus [Tue, 14 Apr 2020 22:29:33 +0000 (00:29 +0200)]
icd: Make VkPhysicalDevice unique
Jeremy Kniager [Mon, 13 Apr 2020 16:15:54 +0000 (10:15 -0600)]
build: Remove glslang dependancy from known-good
Removed glslang dependancy from known-good.json
Change-Id: I12577690d3155734ab244fe9e7ef822fc374ba7d
Shannon McPherson [Fri, 10 Apr 2020 22:14:29 +0000 (16:14 -0600)]
build: Update known-good files for 1.2.137 header
Changes:
- Updated known-good files
- Generated new source files
- Removed `VULKAN_HPP_NO_SMART_HANDLE` definition for `cube.cpp`
Change-Id: Icb0152455f2c0b21a29d70462d05b958c53be861
Petr Kraus [Wed, 8 Apr 2020 19:47:25 +0000 (21:47 +0200)]
icd: Make swapchain images persistent
Petr Kraus [Wed, 8 Apr 2020 18:57:14 +0000 (20:57 +0200)]
icd: Fix vkGetSwapchainImages behavior
- add missing lock
- return correct values via return and count
Mark Lobodzinski [Thu, 9 Apr 2020 22:21:48 +0000 (16:21 -0600)]
Revert "icd: Fix vkGetSwapchainImages behavior"
This reverts commit
00573263e0. This caused the
VkLayerTest.SwapchainAcquireTooManyImages2KHR test to fail,
blocking CI.
Change-Id: Id1464668e02dda50a37eb0fabb275eb897105eb4
Mark Lobodzinski [Thu, 9 Apr 2020 22:21:25 +0000 (16:21 -0600)]
Revert "icd: Make swapchain images persistent"
This reverts commit
b40274e4. This caused the
VkLayerTest.SwapchainAcquireTooManyImages2KHR test to fail,
blocking CI.
Change-Id: Ie0b5002544f0e467dd6d45beba9063ec96c73f67
Tobin Ehlis [Wed, 8 Apr 2020 22:07:25 +0000 (16:07 -0600)]
mockicd: Track memory allocation size
Save the size of memory allocations. If a vkMapMemory is called on a
known allocation with VK_WHOLE_SIZE, then map based on the actual size
of the allocation.
Petr Kraus [Wed, 8 Apr 2020 19:47:25 +0000 (21:47 +0200)]
icd: Make swapchain images persistent
Petr Kraus [Wed, 8 Apr 2020 18:57:14 +0000 (20:57 +0200)]
icd: Fix vkGetSwapchainImages behavior
- add missing lock
- return correct values via return and count
- bump to two images
Petr Kraus [Wed, 8 Apr 2020 20:10:07 +0000 (22:10 +0200)]
icd: Fix vkAcquireNextImageKHR generation
Charles Giessen [Wed, 8 Apr 2020 02:33:25 +0000 (20:33 -0600)]
vulkaninfo: dynamically link vulkan on apple
Due to difficulties setting up dynamic library loading on apple,
the change to use dynamic loading has been reverted to a dynamic link.
Change-Id: If980a327aa07669cc00aa4847dd4339a0ae42804
Jeremy Kniager [Wed, 8 Apr 2020 18:13:47 +0000 (12:13 -0600)]
build: Update MoltenVK version in known-good.json
Updated MoltenVK version in `known-good.json` from:
`v1.0.40` -> `v1.0.41`
Change-Id: I81970e812a3916a6f4107398c8f4cb111882bbc3
Mark Lobodzinski [Tue, 7 Apr 2020 19:12:53 +0000 (13:12 -0600)]
mockicd: Make physical device static
PDev created at EnumPhysDevices time, but destroyed at DestroyInstance
time. This crashes as EnumPhysDevices is not required to be called.
Change-Id: I2dbfb694364eab57e5173565db795c5c70d458fc
Charles Giessen [Tue, 7 Apr 2020 19:18:18 +0000 (13:18 -0600)]
vulkaninfo: fix app bundle not finding loader
The change of vulkaninfo to dlopen the loader broke the app bundle.
This commit fixes it by manually setting up DYLD_LIBRARY_PATH before
starting vulkaninfo, ensuring that it can be found.
Joshua Ashton [Thu, 2 Apr 2020 05:45:48 +0000 (06:45 +0100)]
cube: Pick non-SRGB surface formats first
Pick some common non-SRGB formats first.
RADV exposes SRGB formats first which causes incorrect rendering.
Joshua Ashton [Thu, 2 Apr 2020 05:07:47 +0000 (06:07 +0100)]
cube: Remove unncessary VK_FORMAT_UNDEFINED check for surface formats
From the spec: The number of format pairs supported must be greater than or equal to 1. pSurfaceFormats must not contain an entry whose value for format is VK_FORMAT_UNDEFINED.
Charles Giessen [Fri, 27 Mar 2020 18:03:01 +0000 (12:03 -0600)]
vulkaninfo: fix msvc warnings from wrapper classes
Change-Id: Ie4ec90d05ba5c394df5d020eecee1c061e1010ac
Jeremy Kniager [Tue, 31 Mar 2020 21:47:19 +0000 (15:47 -0600)]
build: Update glslang version in known-good.json
Updated the glslang commit ID in `known-good.json` to:
`
e157435c1e777aa1052f446dafed162b4a722e03`
Change-Id: Icf25b210db414b6b7b1cfa26c127e825f394c23f
Jeremy Kniager [Mon, 30 Mar 2020 16:59:52 +0000 (10:59 -0600)]
build: Update glslang commit ID in known-good.json
Updated the glslang commig ID in `known-good.json` to:
`
bfe4c5957fc51148a0aab6e04bb22020667c1092`
Change-Id: I8eb0009be4ee1a3145d908b2659d7b9459aa45d5
Jeremy Kniager [Fri, 27 Mar 2020 15:24:47 +0000 (09:24 -0600)]
travis: Add clang-format verions output to travis
Updated `.travis.yml` to output the clang-format version
before running a clang-format check.
Updated `check_code_format.sh` to include a suggestion
to check the user's clang-format version if an error occures.
Change-Id: I4328350cedb27998bd84a3d675eab51c89fb1a9e
Jeremy Kniager [Fri, 27 Mar 2020 15:13:24 +0000 (09:13 -0600)]
docs: Update clang-format version in docs
Updated the clang-format version in CONTRIBUTING.md:
`5.0.0` -> `7.0.0`
Change-Id: I4d5cf4b228d3c6a689315a64dc2449c39e17d1bf
Charles Giessen [Fri, 27 Mar 2020 22:57:54 +0000 (16:57 -0600)]
vulkaninfo: Fix lack of display throwing on linux
During the Error Handling refactor, this line was accidentally made throwing when before
it simply reported an issue and kept going.
Change-Id: Ia3b33749ee05037a5df22398ba8b628811fad29b