aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-22layers: Add VK_NV_fill_rectangleChris Mayer
Added support for VK_NV_fill_rectangle to the validation layers.
2019-08-22layers: Initialize safe_struct pointersPetr Kraus
otherwise they are not set to `nullptr` in default constructor, but still destroyed in destructor.
2019-08-22layers: Simplify safe_struct pNext copyPetr Kraus
2019-08-22layers: Eliminate const_cast in safe_struct stringPetr Kraus
2019-08-21layers: Replace non-const references with pointersPetr Kraus
in core layer device creation code. per Google style guide
2019-08-21layers: Fix leaked Features in device creationPetr Kraus
2019-08-21corechecks: Remove moved codePiers Daniell
Change-Id: Ia475cc39e8fdccd78a621ecde023af889f7e2362
2019-08-21stateless: Move parameter validation to statelessPiers Daniell
Change-Id: I2daeab394ad124abd942da9ddc6745494a3aad10
2019-08-21corechecks: Add VUs checking for indexTypeUint8Piers Daniell
Change-Id: I0e2015c1eaa69452a5b69f05eb1be923f92dba33
2019-08-21corechecks: Add support for VK_INDEX_TYPE_UINT8_EXTPiers Daniell
Change-Id: I546fb10e40445273c6cc5b0983fe9d8a11b823be
2019-08-20build: Update known good for 1.1.120 vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `build-android/known_good.json` - `layers/generated/parameter_validation.cpp` - `layers/generated/vk_enum_string_helper.h` - `layers/generated/vk_validation_error_messages.h` - `scripts/known_good.json` Change-Id: I794b1285d642f9a81181d4ea12275eb924e3e675
2019-08-20tests: Fix shader group type for RT OOB testJason Macnak
Corrects the VkRayTracingShaderGroupTypeNV field for two shader groups: - shader group 2 should be PROCEDURAL_HIT since the geometry is AABBs - shader group 3 should be GENERAL since the group is for a callable Addresses usage concerns reported in https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/1162 Tested on laptop with GTX1060 and Nvidia's 436.02 game ready driver.
2019-08-20docs: Bump minimums to Ubuntu 16.04 and gcc 5.4.0Mike Weiblen
Change-Id: Ic40bf1485efed0bcd7cef8b039154ba5828fb59f
2019-08-20layers: Use concurrent_unordered_map in dispatcherJeff Bolz
Use a concurrent_unordered_map for object tracking in dispatch. Add a vl_concurrent_unordered_map class that acts like an unordered_map but internally synchronizes concurrent accesses, and split the locks into 2^N buckets. Change-Id: If639feb0c53315888e057b1d91ad5da10a9d65c1
2019-08-20layers: ThreadSafety cleanupsJeff Bolz
2019-08-20layers: Change ThreadSafety buckets to AoSJeff Bolz
Also use small_unordered_map for command_pool_map.
2019-08-20layers: Remove condition_variable from thread safety layerJeff Bolz
The condition variable was being signaled extremely frequently, but the case where we wait is extremely infrequent (app bug). So remove the condition variable and replace the wait with a polling loop. Change-Id: If5120d1e2a10dd99207224518ef4340c631fc93a
2019-08-20layers: Split thread-safety locking into bucketsJeff Bolz
Using buckets will reduce lock contention. Change-Id: I07687036b5c340a9b065b282c025cbc47f65ad39
2019-08-20tests: Add fragment density map validation codesByumjinConffx
It checks if there is image limit violations with fragment density map image format.
2019-08-20tests: Add RenderPassCreateInvalidFragmentDensityMapReferencesByumjinConffx
RenderPassCreateInvalidFragmentDensityMapReferences check the cases if render pass has invalid fragment density map references.
2019-08-20tests: Check fragment density map image limits violationByumjinConffx
Add test codes to check fragment density map image limits violation. Test CreateImageMaxLimitsViolation is needed to check that the current device supports VK_KHR_get_physical_device_properties2.
2019-08-20layers: Add VkImageCreateInfo-usage valByumjinConffx
Adds VkImageCreateInfo-usage validation codes for FragmentDensityMap.
2019-08-20layers: Add missing flags for VkCreateImageViewByumjinConffx
It should include VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT.
2019-08-20layers: Add fragmentDensityMapAttachment valByumjinConffx
Adds VUID-VkRenderPassFragmentDensityMapCreateInfoEXT-fragmentDensityMapAttachment validation codes for FragmentDensityMap.
2019-08-20layers: Add VkFramebufferCreateInfo-pAttachments valByumjinConffx
Adds VkFramebufferCreateInfo-pAttachments validation codes for FragmentDensityMap. VkPhysicalDeviceFragmentDensityMapPropertiesEXT member value is added to DeviceExtensionProperties to get maxFragmentDensityTexelSize values. Also, math library is needed for ceil function.
2019-08-20appveyor: Capture layer binaries as artifactsNuno Subtil
2019-08-20test: Added VK_NV_geometry_shader_passthroughChris Mayer
Added positive layer test to make sure that the usage of VK_NV_geometry_shader_passthrough does not cause any errors.
2019-08-20layers: Reduce dynamic memory allocationJeff Bolz
Reduce dynamic memory allocation in UpdateLastBoundDescriptorSets and UpdateDrawState. Skip map assignment in UpdateDrawState if it's not needed. Change UpdateLastBoundDescriptorSets to not take a vector parameter (passed by value). Change-Id: I10835a0d008a3296845ecd91f2f901d77651598c
2019-08-20tests: Add tests for VK_EXT_line_rasterizationJeff Bolz
2019-08-20layers: Validate VK_EXT_line_rasterizationJeff Bolz
2019-08-19layers: Migrate code from VulkanTools ALCamden
Change-Id: I79ffb6c1adb3d65d5c02f48dfdd6ec89a98dc42f
2019-08-19tests: Test subpass with read-only layoutunknown
Change-Id: Ife383fb7e8e68b8ac60cb2ccbe4a6a86738bc2db
2019-08-19layers: If layouts are read-only, no dependency.unknown
Change-Id: I1c9cc965ea5ec390fd49320597c6ea6a1ae8d394
2019-08-19layers: Use real VUIDs in VkCommandBufferInheritanceInfoPetr Kraus
2019-08-19layers: Validate inherited conditional renderingPetr Kraus
2019-08-19layers: Track extension Features in statelessPetr Kraus
2019-08-16layers: Improve validation of float controlsJason Ekstrand
Vulkan header version 1.1.116 changd the declaration of VkPhysicalDeviceFloatControlsPropertiesKHR to use enums instead of booleans for denorm and rounding mode independence. The validation layers were subsequently updated to throw correct errors. However the changes were not as granular as they could be. This commit makes things a bit finer-grained. Change-Id: Ia92f23b2c22b5f0db05d65532eaf38dae5576823
2019-08-16tests: Fix specialization testJeremy Hayes
Specialize the correct stage. Change-Id: I2249d64e6bc2c3fd9dc839d614f4a547573b10cb
2019-08-16Revert "layers: Improve validation of float controls"Mark Lobodzinski
This reverts commit 2b6b3d19c366e99d9ab16ab3e9c401c0e5b30aa2. This changed caused failures across the board on the AMD machines. Will debug and re-commit with a fix.
2019-08-16layers: Improve validation of float controlsJason Ekstrand
Vulkan header version 1.1.116 changd the declaration of VkPhysicalDeviceFloatControlsPropertiesKHR to use enums instead of booleans for denorm and rounding mode independence. The validation layers were subsequently updated to throw correct errors. However the changes were not as granular as they could be. This commit makes things a bit finer-grained.
2019-08-16ci: Ease commit msg subject line restrictionMark Lobodzinski
Allow non-alphanumeric characters as the last in a commit message subject line, except for period or comma. Change-Id: I23887a0db4f5cef6e7b1fbde61bff414a0defd30
2019-08-16ci: Exclude commits not related to PRPetr Kraus
see https://github.com/travis-ci/travis-ci/issues/4596
2019-08-16ci: Relax summary limit to 64Petr Kraus
from 54
2019-08-16layers: Validate VK_KHR_pipeline_executable_propertiesJason Ekstrand
2019-08-16tests: Test NULL Render Pass pCreateInfoPetr Kraus
2019-08-16layers: Skip manual checks if validation failsPetr Kraus
layers: Skip manual checks if scripted ones fail
2019-08-16layers: Rewrite flag validationPetr Kraus
- use proper VUID - eliminate dependency on std::bitset - do not use raw bool parameters - make single bit, and unknown bit checks independent - merge single bit and Flags generation script
2019-08-15scripts: Normalize for-loop formattingMark Lobodzinski
Change-Id: I89ab06f45221ab761ceddc0f241555214b1ea40b
2019-08-15scripts: Make SafeStruct deep-copy stringsMark Lobodzinski
Change-Id: I7e31207851ffec447f4f042ccac06916c98dfb58
2019-08-15scripts: Add safe-struct string copy functionMark Lobodzinski
Change-Id: Ibaff390c34901c143d86cf58cd64de881a419372