Xuelian Bai [Thu, 24 Mar 2022 08:03:52 +0000 (16:03 +0800)]
Upgrade to v1.3.240
1. Suppress mismatch warnings
2. Fix build&install errors
Change-Id: If4d6f1b447a540fd369b9bd6e05627a0b0b5f81c
Xuelian Bai [Fri, 28 May 2021 11:35:20 +0000 (19:35 +0800)]
Add build support for Tizen
1. Merge old commits
2. No Robin Hood hashing and google test, so they are disabled and no
tests
3. Add neccessary *INSTALL_DIR
Change-Id: I166b6d444e8a51348f2ae90b0a55bd02ff31e021
Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
Mike Schuchardt [Fri, 27 Jan 2023 17:28:31 +0000 (09:28 -0800)]
build: Update to header 1.3.240
- Update known-good
- Generate source
Juan Ramos [Fri, 27 Jan 2023 19:44:52 +0000 (12:44 -0700)]
scripts: Fix passing arguments to CMake
Needed for 3.17 builds
Juan Ramos [Fri, 27 Jan 2023 17:58:00 +0000 (10:58 -0700)]
cmake: Re-add /W3 fixes regression caused by updating CMake min
In the past CMake used to add /W3 to builds. Now it doesn't.
https://cmake.org/cmake/help/latest/policy/CMP0092.html
Juan Ramos [Fri, 27 Jan 2023 17:51:44 +0000 (10:51 -0700)]
cmake: Cleanup usage of target_include_directories
Juan Ramos [Fri, 27 Jan 2023 17:31:34 +0000 (10:31 -0700)]
cmake: Cleanup BUILD_WERROR
Move documentation to BUILD.md
Juan Ramos [Fri, 27 Jan 2023 17:02:49 +0000 (10:02 -0700)]
cmake: Fixup folder usage
Document CMP0143
John Zulauf [Fri, 27 Jan 2023 13:41:27 +0000 (06:41 -0700)]
syncval Revert "Apply render pass final transitions always"
The change as written causes CTS crashes, as it doesn't make changes to
the consumers of the altered data structures.
This reverts commit
41709ca1e50273aa7452fdb04f0c03cde0e53a01.
Juan Ramos [Thu, 26 Jan 2023 17:02:07 +0000 (10:02 -0700)]
cmake: Remove -fno-strict-aliasing
- Fix warnings created by removing this flag
- Fix cast_utils.h helper functions
- Add vvl_bit_cast to cast_utils.h
Juan Ramos [Thu, 26 Jan 2023 17:01:38 +0000 (10:01 -0700)]
cmake: Remove -fno-builtin-memcmp
Juan Ramos [Thu, 26 Jan 2023 20:57:53 +0000 (13:57 -0700)]
scripts: Delete utils.py
Majority of this python file isn't used anymore since we use
get-cmake for github actions now.
spencer-lunarg [Thu, 26 Jan 2023 09:17:16 +0000 (18:17 +0900)]
tests: Check for dynamic rasterizationSamples value
spencer-lunarg [Thu, 26 Jan 2023 09:16:55 +0000 (18:16 +0900)]
layers: Check for dynamic rasterizationSamples value
spencer-lunarg [Thu, 26 Jan 2023 08:49:27 +0000 (17:49 +0900)]
layers: Check for VK_DYNAMIC_STATE_RASTERIZATION_SAMPLES
Juan Ramos [Thu, 26 Jan 2023 21:16:51 +0000 (14:16 -0700)]
gn: Fix GN GitHub action
- Fix failure caused by clang-format DEP
- Use GitHub caching
- Update README.md
Juan Ramos [Wed, 25 Jan 2023 17:25:39 +0000 (10:25 -0700)]
gn: Remove deprecated vulkan_core.h parsing
Hyunjun Ko [Thu, 19 Jan 2023 18:24:50 +0000 (11:24 -0700)]
tests: Check GPL with invalid state
Test graphics_pipeline_library with invalid depth and blend states.
Checks 06053 and 06054.
Hyunjun Ko [Wed, 25 Jan 2023 02:12:11 +0000 (11:12 +0900)]
layers: Check pipeline state for 06053 and 06054
06053 should be checked with fragment shader state and fragment
output state.
06054 should be checked with fragment output state.
Nathaniel Cesario [Thu, 19 Jan 2023 21:51:11 +0000 (14:51 -0700)]
build: Fix AppleClang warnings
spencer-lunarg [Wed, 25 Jan 2023 09:15:40 +0000 (18:15 +0900)]
tests: Add texelBufferAlignment regression tests
spencer-lunarg [Wed, 25 Jan 2023 09:12:46 +0000 (18:12 +0900)]
layers: Add texelBufferAlignment support in 1.3
Juan Ramos [Tue, 24 Jan 2023 21:25:35 +0000 (14:25 -0700)]
build: Update 'api_version' via `generate_source.py`
The `api_version` in the manifest shouldn't depend on the version
of `Vulkan-Headers` we build against.
Helps Conan port and users who build against different
`Vulkan-Headers` versions.
This also makes us consistent with the loader:
https://github.com/KhronosGroup/Vulkan-Loader/pull/1104
It also helps the GN build which hardcoded the `1.3`
closes #4973
Juan Ramos [Tue, 24 Jan 2023 18:06:48 +0000 (11:06 -0700)]
scripts: Cleanup update_deps `CMakeBuild` step
- Specify `--config` regardless of platform/generator
- Use `--paralell` functionality
Juan Ramos [Tue, 24 Jan 2023 17:39:04 +0000 (10:39 -0700)]
docs: Fix installed files docs
Juan Ramos [Tue, 24 Jan 2023 17:38:09 +0000 (10:38 -0700)]
cmake: Remove custom install code
Juan Ramos [Tue, 24 Jan 2023 17:19:37 +0000 (10:19 -0700)]
build: Fix duplicate xxhash object files
Currently both VkLayer_utils and VVL build xxhash.c which results
in duplicate identical object files. Now VkLayer_utils is
responsible for the xxhash object file.
Also turn xxhash.c to xxhash.cpp to avoid mixed language usage in
a single library. This helps avoid minor confusions in the CMake
code.
Juan Ramos [Mon, 23 Jan 2023 19:38:42 +0000 (12:38 -0700)]
docs: Trim BUILD.md
Highlight new CMake functionality to trim docs
Add links to official docs
Juan Ramos [Mon, 23 Jan 2023 19:19:05 +0000 (12:19 -0700)]
docs: Remove EXPORT_COMPILE_COMMANDS section
Not neccessary
Juan Ramos [Mon, 23 Jan 2023 19:12:29 +0000 (12:12 -0700)]
github: Cleanup issue templates
Juan Ramos [Mon, 23 Jan 2023 20:10:26 +0000 (13:10 -0700)]
ci: Fix MacOS CI warning
Warning: "macOS-latest pipelines will use macOS-12 soon"
Required fixing -Wimplicit-fallthrough compilation failures
Spencer Fricke [Tue, 24 Jan 2023 06:46:01 +0000 (15:46 +0900)]
git: Update git-blame-ignore-revs
Add `Move files into dedicated folders` commit
spencer-lunarg [Sat, 21 Jan 2023 08:42:17 +0000 (17:42 +0900)]
tests: More cleanup to tests using profiles
spencer-lunarg [Mon, 23 Jan 2023 06:15:24 +0000 (15:15 +0900)]
build: Use full layer path for included headers
spencer-lunarg [Wed, 18 Jan 2023 08:11:06 +0000 (17:11 +0900)]
layers: Move files into dedicated folders
Takes all files and move them into a more structured folder scheme.
In the process some notable modifications were made:
- synchronization_* renamed to sync_* to match other files
- drawdispatch.cpp -> drawdispatch_validation.cpp
- clang-format was ran on some files not ran in a while
spencer-lunarg [Sun, 22 Jan 2023 14:41:43 +0000 (23:41 +0900)]
tests: Fix DynamicRendering FragmentDensityMap tests
spencer-lunarg [Sun, 22 Jan 2023 14:21:44 +0000 (23:21 +0900)]
tests: Add VK_KHR_separate_depth_stencil_layouts VU
spencer-lunarg [Sun, 22 Jan 2023 14:14:52 +0000 (23:14 +0900)]
layers: Add VK_KHR_separate_depth_stencil_layouts VU
spencer-lunarg [Sat, 21 Jan 2023 13:40:15 +0000 (22:40 +0900)]
layers: Move some CmdBeginRendering VUs to stateless
spencer-lunarg [Mon, 23 Jan 2023 12:20:44 +0000 (21:20 +0900)]
tests: Add missing Flag Array parameter VU
spencer-lunarg [Mon, 23 Jan 2023 12:20:32 +0000 (21:20 +0900)]
layers: Add missing Flag Array parameter VU
Juan Ramos [Mon, 23 Jan 2023 17:24:33 +0000 (10:24 -0700)]
github: Use main instead of master
closes #5084
arno-lunarg [Fri, 20 Jan 2023 09:22:02 +0000 (10:22 +0100)]
tests: Use std::array where possible
arno-lunarg [Fri, 20 Jan 2023 09:20:11 +0000 (10:20 +0100)]
layers: Use std::array or layer_data::span
arno-lunarg [Fri, 20 Jan 2023 09:19:23 +0000 (10:19 +0100)]
layers: Use std::array to store extensions
Also update copyright notice
spencer-lunarg [Sun, 22 Jan 2023 04:47:45 +0000 (13:47 +0900)]
layers: Use consistent function names in stateless
spencer-lunarg [Sun, 22 Jan 2023 04:22:53 +0000 (13:22 +0900)]
layers: Make promotion variable names consistent
spencer-lunarg [Sat, 21 Jan 2023 14:20:36 +0000 (23:20 +0900)]
layers: Use CMD_TYPE in stateless
spencer-lunarg [Sat, 21 Jan 2023 06:25:59 +0000 (15:25 +0900)]
git: Add git-blame-ignore-revs file
git 2.23 added a '--ignore-revs-file <file>' option
GitHub picks up this file name by default
spencer-lunarg [Sat, 21 Jan 2023 06:25:43 +0000 (15:25 +0900)]
tests: Fix outdated copyrights
Juan Ramos [Sat, 21 Jan 2023 00:00:06 +0000 (17:00 -0700)]
scripts: Check that LunarG / Valve Copyright is updated
Juan Ramos [Fri, 20 Jan 2023 20:35:16 +0000 (13:35 -0700)]
macos: Require VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME
spencer-lunarg [Fri, 20 Jan 2023 08:13:33 +0000 (17:13 +0900)]
layers: Label new VK_EXT_image_2d_view_of_3d VUID
Artem Kharytoniuk [Thu, 19 Jan 2023 17:43:12 +0000 (18:43 +0100)]
tests: Add regression test for null set crash in core validation
Mike Schuchardt [Thu, 19 Jan 2023 22:00:50 +0000 (15:00 -0700)]
build: Update shader toolchain ahead of SDK
Mike Schuchardt [Thu, 19 Jan 2023 19:34:39 +0000 (12:34 -0700)]
build: Update to header 1.3.239
- Update known-good
- Add VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR stage to
sync_val_gen.py
- Exclude ClusterCullingShadingHUAWEI from spirv_validation_generator.py
- Generate source
- Re-number VUID-vkCmdDrawIndexed-robustBufferAccess2-07788 to
VUID-vkCmdDrawIndexed-robustBufferAccess2-07825
- Re-number VUID-vkCmdDrawMultiIndexedEXT-firstIndex-04938 to
VUID-vkCmdDrawMultiIndexedEXT-robustBufferAccess2-07825
- Update copyright dates in code generators and generated files
Juan Ramos [Thu, 19 Jan 2023 21:56:05 +0000 (14:56 -0700)]
cmake: Fix Apple build failures
Artem Kharytoniuk [Thu, 19 Jan 2023 19:21:45 +0000 (20:21 +0100)]
tests: Fix new CI warnings on macos-min-sdk
Juan Ramos [Wed, 18 Jan 2023 19:20:37 +0000 (12:20 -0700)]
cmake: Create scripts/CMakeLists.txt
Artem Kharytoniuk [Wed, 18 Jan 2023 09:53:32 +0000 (10:53 +0100)]
layers: Do not wrap/unwrap VK_NULL_HANDLE
Nathaniel Cesario [Wed, 18 Jan 2023 00:41:08 +0000 (17:41 -0700)]
tests: Fix descriptor buffer tests
Also fix a compilation error seen on VS 2022 + release +
-DBUILD_WERROR=ON.
Juan Ramos [Wed, 18 Jan 2023 17:46:15 +0000 (10:46 -0700)]
docs: Notify users about upcoming change
Nathaniel Cesario [Fri, 13 Jan 2023 06:41:00 +0000 (23:41 -0700)]
build: Set external dir based on build type
Set the --dir value passed to update_deps.py via cmake variable
(-DUPDATE_DEPS_DIR), or automatically based on build type.
arno-lunarg [Wed, 18 Jan 2023 10:36:07 +0000 (11:36 +0100)]
layers: Fix function name formating
arno-lunarg [Tue, 17 Jan 2023 14:59:15 +0000 (15:59 +0100)]
tests: Add test cases for new VUIDs
Test cases for:
VUID-VkAccelerationStructureGeometryAabbsDataKHR-stride-03545
VUID-VkAccelerationStructureGeometryAabbsDataKHR-stride-03820
VUID-VkAccelerationStructureBuildGeometryInfoKHR-type-03794
VUID-VkAccelerationStructureBuildGeometryInfoKHR-type-03795
VUID-VkRayTracingPipelineCreateInfoKHR-flags-07403
VUID-VkRayTracingPipelineCreateInfoKHR-stage-06899
arno-lunarg [Tue, 17 Jan 2023 14:58:26 +0000 (15:58 +0100)]
layers: Add new VUIDs
Adds:
VUID-VkAccelerationStructureGeometryAabbsDataKHR-stride-03545
VUID-VkAccelerationStructureBuildGeometryInfoKHR-type-03794
VUID-VkAccelerationStructureBuildGeometryInfoKHR-type-03795
VUID-VkRayTracingPipelineCreateInfoKHR-flags-07403
VUID-VkRayTracingPipelineCreateInfoKHR-stage-06899
spencer-lunarg [Tue, 17 Jan 2023 08:25:19 +0000 (17:25 +0900)]
layers: Make separate Interface Variables
Split InterfaceVariables into both UserDefinedInterfaceVariable
and ResourceInterfaceVariable as they are used differently.
Moved more logic into ResourceInterfaceVariable constructor which
is done at Entrypoint creation time
spencer-lunarg [Mon, 16 Jan 2023 11:36:54 +0000 (20:36 +0900)]
layers: Use SPIR-V enum instead of int
Juan Ramos [Tue, 17 Jan 2023 18:39:47 +0000 (11:39 -0700)]
macos: Target 10.15
Rua [Thu, 5 Jan 2023 18:11:21 +0000 (19:11 +0100)]
layers: Apply render pass final transitions always
Jeremy Gebben [Thu, 5 Jan 2023 22:39:31 +0000 (15:39 -0700)]
tests: Clean up GpuBufferDeviceAddressOOB
-Use vk_testing:: handles
-Add a push consant version of the test, because the instrumentation
was behaving differently when using descriptors vs. push constants.
Jeremy Gebben [Thu, 5 Jan 2023 21:27:38 +0000 (14:27 -0700)]
build: Update SPIRV-Tools to fix GpuBufferDeviceAddressOOB test
This also requires picking up a new version of SPIRV-Headers.
Artem Kharytoniuk [Tue, 17 Jan 2023 09:44:18 +0000 (10:44 +0100)]
tests: Add regression test for null set crash in best practices
Original bug: issue 4597
Artem Kharytoniuk [Mon, 16 Jan 2023 18:18:44 +0000 (19:18 +0100)]
tests: Move best practices positive tests to best_practices.cpp
spencer-lunarg [Mon, 16 Jan 2023 22:58:23 +0000 (07:58 +0900)]
tests: Remove magic number for maxTransformFeedbackStreams
spencer-lunarg [Mon, 16 Jan 2023 07:33:52 +0000 (16:33 +0900)]
scripts: Run CI with Profiles Layer
spencer-lunarg [Mon, 16 Jan 2023 07:33:34 +0000 (16:33 +0900)]
tests: Remove skipping tests because of MockICD
spencer-lunarg [Thu, 12 Jan 2023 14:18:24 +0000 (23:18 +0900)]
tests: More tests fixes for profiles
Juan Ramos [Mon, 16 Jan 2023 21:42:22 +0000 (14:42 -0700)]
build: Remove VS2015 support
spencer-lunarg [Sun, 15 Jan 2023 06:50:55 +0000 (15:50 +0900)]
layers: Fix build for non-Linux builds
spencer-lunarg [Sun, 15 Jan 2023 06:49:16 +0000 (15:49 +0900)]
layers: Move External object CoreCheck into own file
spencer-lunarg [Sun, 15 Jan 2023 06:40:59 +0000 (15:40 +0900)]
layers: Move ReleaseProfilingLock in query_validation.cpp
spencer-lunarg [Sun, 15 Jan 2023 06:40:07 +0000 (15:40 +0900)]
layers: Move Device CoreCheck into own file
spencer-lunarg [Sun, 15 Jan 2023 04:02:08 +0000 (13:02 +0900)]
layers: Label VkStridedDeviceAddressRegionKHR 04631 VU
Mark Lobodzinski [Sat, 14 Jan 2023 00:11:00 +0000 (17:11 -0700)]
tests: Add feature check to scissor-viewport test
IncompatibleScissorCountAndViewportCount test incorrectly assumed
that the multiViewport feature was supported by the device.
Change-Id: I9dcfbfb0b0fcc2b05e0da775d5fccf20a0e97344
Mark Lobodzinski [Sat, 14 Jan 2023 00:05:36 +0000 (17:05 -0700)]
tests: Fix ValidateGeometryShaderEnabled test
Test assumed that device supported geometry shaders, added check.
Change-Id: I86a8f715dd4ae5d6375bb8467e4ee28e4a84a074
Mark Lobodzinski [Sat, 14 Jan 2023 00:01:25 +0000 (17:01 -0700)]
tests: Check feature in PrimitiveTopologyListRestart
Test assumed this feature was available on all HW. Found using
swiftshader.
Change-Id: I331e2768e3ed60dc5ca3f0b7d0b9ed37c17893f5
Mark Lobodzinski [Fri, 13 Jan 2023 23:54:36 +0000 (16:54 -0700)]
tests: Fix missing feature check in DynState test
ValidateExtendedDynamicStateEnabled was assuming feature multiViewport
was supported by all hardware, and needed a feature check before using
the feature. Found in swiftshader.
Change-Id: I3f1009707f0ac6a67bb967a278d192a274f11bed
Mark Lobodzinski [Fri, 13 Jan 2023 23:22:30 +0000 (16:22 -0700)]
tests: Fix depth-stencil inheritanceInfo test
This test requested a d-s format assuming it would not be the one chosen
for use in the inheritanceInfo structure. Found in swiftshader.
Change-Id: I2745e7c010eb4f5a4fb22bd488e1f9c730235b2e
Mark Lobodzinski [Fri, 13 Jan 2023 20:27:43 +0000 (13:27 -0700)]
tests: Fix DynamicRenderingGraphicsPipelineCreateInfo test
Swiftshader doesn't support geometry shaders, added a check to skip.
Change-Id: I49366cea3e114ce674ba896f1f549397e2c2444b
Mark Lobodzinski [Fri, 13 Jan 2023 20:08:52 +0000 (13:08 -0700)]
tests: Fix bad sample count usage in ResolveInvalidUsage
Some implementations don't support multisampling for the selected
test format and image configuration.
Change-Id: I71454388a7fd5911c0de1e8570e0cf88f5becfe6
Mark Lobodzinski [Fri, 13 Jan 2023 19:13:48 +0000 (12:13 -0700)]
tests: Fix invalid format usage in CreateImageYcbcrFormats
Swiftshader didn't support the selected image parameters for the given
format -- added check to ensure it was a valid configuration.
Change-Id: I5b390c89d400556a0e1f89a04435fef6992a83f8
Mark Lobodzinski [Thu, 12 Jan 2023 23:28:10 +0000 (16:28 -0700)]
tests: Fix ExerciseGetImageSubresourceLayout errors
A couple of test cases here didn't check the image format properties
to see if the selected number of arraylayers was supported. Found with
SwiftShader.
Change-Id: I1ee45f61e07adf620f3a8b4c678b3a93ad9dd730
Mark Lobodzinski [Thu, 12 Jan 2023 21:48:33 +0000 (14:48 -0700)]
tests: Skip FenceSemThreadRace test when using SwiftShader
Test hangs on thread.join().
Change-Id: I3eb890e23b6548e2b926498ba72b1262d0ce8b32
Mark Lobodzinski [Thu, 12 Jan 2023 19:31:19 +0000 (12:31 -0700)]
tests: Fix bad geometry shader test
VkNvidiaBestPracticesLayerTest.BindPipeline_SwitchTessGeometryMesh
failed because it assumed non-zero feature limits. Found with
SwiftShader.
Change-Id: Iae86259f2734a32d1843c28170f2caa65fabaf23
Juan Ramos [Mon, 16 Jan 2023 18:59:19 +0000 (11:59 -0700)]
ci: Test CMake min with GitHub action
Removes need for custom cmake scripts
Jeremy Gebben [Thu, 12 Jan 2023 21:55:17 +0000 (14:55 -0700)]
corechecks: Include relevant objects in transfer command errors
Many transfer commands VUIDs were not including the VkCommandBuffer,
VkBuffer or VkImage in their error messages. Improve this, and
de-pointer many of the invovled helper methods.
spencer-lunarg [Fri, 13 Jan 2023 08:54:33 +0000 (17:54 +0900)]
scripts: Remove false positive for sType
Juan Ramos [Fri, 13 Jan 2023 20:27:47 +0000 (13:27 -0700)]
docs: Remove mention of travis
David Neto [Fri, 13 Jan 2023 17:22:00 +0000 (12:22 -0500)]
build: Remove unused functions
Fixes: #5106