aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-14layers: Fix round tripping uint32_t through intbungeman
Commit 25afc3c "Suppress VC++ 2017 signed/unsigned warning" fixed issue #1395. However, it did so by static_cast-ing a value back to a type it already had been. Instead, just avoid round tripping the 'uint32_t' through 'int'.
2017-03-14externals: Update GitHub master commit refsMike Weiblen
Update glslang_revision, spirv-headers_revision, and spirv-tools_revision to latest. Change-Id: Ic14152242a7c3fb7aa1f86730472cddc7c927865
2017-03-14layers: Add PV Maintenance1 negative viewport checkMark Lobodzinski
Negative viewport offsets are now allowed if the Maintenance1 extension is enabled. Change-Id: Ifb080ba71d688f431a0d12a9018d746f28377a15
2017-03-14loader: Initialize json_versionMike Stroyan
Fields of json_version were left uninitialized if file_format_version in a layer json file was incomplete. Initialize them to 0.
2017-03-14tests: Fix DSBufferInfo unexpected errorsJeremy Hayes
Change-Id: I594243d7879ed9999571c4f185724ba42d2ed7b6
2017-03-14layers: Add missing format specifier to CVMark Lobodzinski
Change-Id: Ie2fb0a861d30153af631960d444db1ff93584f41
2017-03-13demos: Remove tabs from cube.cTony Barbour
Change-Id: I6ec4465d52db8f3b6d41a13d3238957a41a6ea1f
2017-03-13layers: Add depthBiasClamp device feature checksMark Lobodzinski
Change-Id: I61e23e3c41a89763c9b65a2b5d7dbf92f015fa24
2017-03-13layers: Add sparseResidencyAliased feature checkMark Lobodzinski
Change-Id: I173c3d6e696e674c7a791838f6921763f03d1660
2017-03-13layers: Add sparseResidencyBuffer feature checkMark Lobodzinski
Change-Id: I53afd9b76957f1c955f3068a4d1ff99f0cc5f543
2017-03-13layers: Add sparseBinding device feature checksMark Lobodzinski
Change-Id: If1145276554ad8dda2839aa5bfc0b3c796873482
2017-03-13layers: Add enabled_features accessor functionMark Lobodzinski
Change-Id: I509c06794b9301c3b0dcc3ed5ad6e688eac6194d
2017-03-13layers: Add textureCompressionBC feature checkMark Lobodzinski
Change-Id: I4eca8c73a1cc2549402b436f8634fa9e72b9b9ce
2017-03-13layers: Add textureCompressionASTC_LDR feature checkMark Lobodzinski
Change-Id: I862b2e188e0e253890aa9e0fad8f97914e004c0a
2017-03-13layers: Add textureCompressionETC2 feature checkMark Lobodzinski
Change-Id: I13408cd02beda7c4f91a6e9424fa0d1109461b6d
2017-03-13layers: Add compressed texture query utilsMark Lobodzinski
These functions help to identify compressed formats categories. Change-Id: Ia21da00924eb1f5c6f4a5310676e056899c340af
2017-03-13layers: Validate samplerAnisotropy device featureMark Lobodzinski
Change-Id: I8b1262c34612870b9c8ebb1f62e7d6755219606f
2017-03-13layers: Finish multiViewport dev feature validationMark Lobodzinski
Change-Id: I58397785e7b73099d2a890246207075dae643652
2017-03-13layers: Add alphaToOne device feature validationMark Lobodzinski
Change-Id: I1633cf7a8a5ebeed797cdb5373e5eb2533ce6887
2017-03-13layers: Validate the depthBounds device featureMark Lobodzinski
Change-Id: I27aa9d678f9e7ce90db325f2a7f7aa215741c8c9
2017-03-13layers: Validate depthClamp device featureMark Lobodzinski
Change-Id: I61a1c8511b2b142ddf178fbf74654aaad80964bf
2017-03-13layers: Add drawIndirectFirstInstance feature TODOsMark Lobodzinski
Change-Id: Iba54a78bc72ef169faeb6ce3e92b392c738e0bbe
2017-03-13layers: Validate device feature multiDrawIndirectMark Lobodzinski
Change-Id: Iaf9daa2bc1e0fe301fb28b6901af2687c232d9a8
2017-03-13layers: Validate dualSrcBlend device featureMark Lobodzinski
Change-Id: I64984412ad993f2d75095023c3b0eea57b78228e
2017-03-13layers: Validate imageCubeArray device featureMark Lobodzinski
Change-Id: Ie1bdcc06c71a7ef8a0fbc5d576403f4b1c6e1e75
2017-03-13headers: Add missing include to vk_icd.hYamakaky
2017-03-13layers: Add GetNextValidBinding function to CVMark Lobodzinski
Change-Id: Ifaa7aea1c7569ffaf5d417a1cd5caadaa38c96b0
2017-03-13layers: Move desc set helper to descriptorset moduleMark Lobodzinski
Change-Id: I695cf51b6fa27df7585582f545c0077efb9fd432
2017-03-13layers: Move update_template temp structure creationMark Lobodzinski
Change-Id: Ib24bfc08114b8bdded7df0e69bfe3ea531e9df20
2017-03-13layers: #1522 #1523 Fix VK_REMAINING_* resolvePetr Kraus
ResolveRemainingLevelsLayers() modified a copy instead of the live data. Fixes issues #1522 and #1523
2017-03-10layers: Don't call driver if skip in PipelineBarrierTony Barbour
Change-Id: I9af6a641bc6e00f8ed3f1ea4cdf4f05321ecee6d
2017-03-10build: Increase reloc table size for mips64elRadovan Birdic
Fixes #1554: Fix build fails for mips64el
2017-03-09layers: Fix template_update errors in CVMark Lobodzinski
Tied UpdateDescriptorSetWithTemplate into UpdateDescriptorSet validation. Change-Id: I00fdd9b90f99b34bb7119eb9c8dd433571f22f1d
2017-03-09layers: Add UpdateTemplate Ext APIs to CVMark Lobodzinski
Added GPA hooks stub functions, and enables for four new extension APIs for VK_KHR_descriptor_update_template. Change-Id: Ifb8b3104030d3ff3da3af85039e85bb84f828872
2017-03-09loader: Set pointer to NULLMark Young
Cleanup enabled extension array pointer passed down to driver. If the loader overrode the create info struct, the pointer could be garbage if the enabled extension count was 0. Now, make sure it is NULL. Change-Id: I558d768e786892e7afc44f58b4173a2b8db3deee
2017-03-09loader: Use secure_getenv only when necessaryMark Young
secure_getenv should only be used on something that is security sensitive. Certain environment variable settings do not fall into that category. So, only use it when necessary. Change-Id: Ib8b8dc1a1528a2f67f7cdc25051be078292ee19a
2017-03-09loader: Update secure_getenv checkMark Young
The previous check was against the compiler, not against the libc. Implement the check in CMake and generate a new header file which defines appropriate defines (loader_cmake_config.h). Change-Id: I2ae0e8d482fb4ce13089128157c11d18b0c178b9
2017-03-08spelling: Fix spelling errorsMark Young
Fix some spelling errors (caught by VS2017 spelling extension) and a few floating func defs that are no longer valid. Change-Id: Ifd9394227dfe3b3255c27429dadaf405433232d2
2017-03-08loader: Update secure_getenv usageMark Young
Use secure_getenv always if it's available. If it's not available, fall back to getenv (because some libc's, like musl, don't export secure_getenv). Change-Id: I0cae57e1048dcbbadbdd9cc71cc17d51706161a0
2017-03-08layers: Set depth to 1 in ci for swapchain imagesTony Barbour
Change-Id: I64e99f99737e26e284722bcc0ce3dc9518e64438
2017-03-07Use nproc instead of ncpuCiro Santilli
The command is more widely available in Linux since it is part of Coreutils.
2017-03-07layers: Fix parameter validationMark Young
An earlier change clobbered part of a parameter validation change. Change-Id: Ica28e79c17f094637e3a12c44dd25c5283c586ef
2017-03-07layers: Improve UpdateTemplate variable namesMark Lobodzinski
Change-Id: I8e0d26b795fc9f2a2634f4de823967d3f16b15d9
2017-03-07layers: Parse extension buffer to unwrap handlesMark Lobodzinski
The UpdateDescriptorSetWithTemplate extension API contains a parameter which is a buffer containing Vulkan objects. To get this through to the driver using the UniqueObjects layer, these handles must get unwrapped. Change-Id: I91f573f696eafc00957cbff502aaa8ce96c4e1ba
2017-03-07layers: Create desc_update_template map for new objsMark Lobodzinski
Store unique_objects DescriptorUpdateTemplate data in a map for parsing UpdateTempate buffers. Change-Id: Iab0d95a1aa2f309a3d33c8859b16543f98ca549c
2017-03-07layers: Move DescriptorUpdateTemplate functionsMark Lobodzinski
In unique_objects, moved these functions from being auto-generated to being manually written. Change-Id: Iae7ccac0ad51d57826104bd0532742a098c673ce
2017-03-07scripts: Allow safe_structs to handle KHR extensionsMark Lobodzinski
Deep copies are needed for some of the new extensions. Change-Id: I7e77fe30a87129aa720225ae16eb87cdba8e626e
2017-03-07tests: Bugfix check and add mip copy testsDave Houlton
Fixed a bug in the buffer size calculation for compressed mip levels when copying less than a full block at the perimeter. Added a set of validation tests that exercise copies in/out of mip levels of compressed textures. Added an image init() fxn to the test framework that takes an imageCreateInfo input, to allow full control of image varieties. Change-Id: I240ed6e1f45889e58b759f8f261392725dadb498
2017-03-07layers: Clang-format only, no code changesDave Houlton
This is a whole-file clang format of buffer_validation.cpp, with no code changes. Left as a separate commit to avoid confusion with the actual code changes within this file in the other 2 commits. Change-Id: I4e09c0a465f5187d3753a88bcbafb0e8bee9d782
2017-03-07layers: Add VUs 1275, 1276, 1277 related to gh1507Dave Houlton
Adds 3 new valid usage checks related to the bugfix, and the layer_validation_tests code to exercise 2 of them. The third check, 01277, cannot be provoked by a test because it would require a compressed texture format with block z-dimension > 1, which does not (currently) exist for Vulkan. Change-Id: I6c467e64c420b6a453af57f7ff86e1465e132988