aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-13build: Disable clang-format header reorderingMark Lobodzinski
By default, clang-format will sort header files which often breaks compilation. Added an option to the main, tests, and layers versions of these files to disable header reordering. Change-Id: Ic0cc5727b83d14d5f3962f3ecff7b6bf5e4c5fb9
2016-12-13layers: Add some val/state-update todosMark Lobodzinski
Couple of routines combine state updates and validation, adding a note for future work. Change-Id: I417025bbcabfd3e80ccefe166bc6ea3497222753
2016-12-13layers: Update error database for new checksMark Lobodzinski
Added 2510 and 2518. Change-Id: I278bfe12d78c5239aa00f82ac4a1b35b5dcd58d0
2016-12-13layers: Update WaitEvents/PipelineBarrier for styleMark Lobodzinski
Variable names, clang-format. Change-Id: I576bfd7944902bdf611b8a455eff83e43f56725b
2016-12-13layers: GH1233, Validate stagemask/queue compatibilityMark Lobodzinski
Any pipeline stage included in srcStageMask or dstStageMask must be supported by the capabilities of the queue family specified by the queueFamilyIndex member of the VkCommandPoolCreateInfo structure that was used to create the VkCommandPool that commandBuffer was allocated from, as specified in the table of supported pipeline stages. Change-Id: I02117e7f60910f2154765b90340d8127d6bce0cd
2016-12-13layers: Update err database w/new DisplayKHR checksMark Lobodzinski
Change-Id: I844e06439b295a36873ccb07819a38c414fd5098
2016-12-13layers: Fill out OT validation for vk_display_KHRMark Lobodzinski
Change-Id: I633fae1ba3bc076022eea6c4e599f617d0296534
2016-12-13layers: GH897, Add VK_KHR_display stubs to OTMark Lobodzinski
Added extension enable and function stubs for VK_KHR_display extension functions to object_tracker. Change-Id: Iaee862efaadf4657271b74d75a289dbaf13af26c
2016-12-12loader: Add support for 1.0.35 extensionMark Young
Add support for the NVX_device_generated_commands. This was necessary since it exposes one instance command (which takes a VkPhysicalDevice). Change-Id: I1da4c24ca0d385a6485581f55a1b19aa7ea51d24
2016-12-12demos: Fix smoketest --c 20 hang on LinuxKarl Schultz
Fixes #1249. When frame count is reached in ::on_frame(), inform the caller that it is time to quit by calling Game::quit(), but go ahead and finish submitting this frame, because the caller is waiting on the fence. Change-Id: If3d918f8a8b5bf3697e9569d045dbe7c8aec98e5
2016-12-12android: Update windows script to request python3Cody Northrop
2016-12-12header: Update to Vulkan version 1.0.37Mark Lobodzinski
- header: Updated vulkan.h - scripts: Updated generator.py - scripts: Updated vk.xml - scripts: Merged recent genvk.py changes into lvl_genvk.py - layers: Updated json files - loader: Updated SOVERSION to 37 - header: Rebuilt and updated vulkan.hpp - layers: Updated thread_checker for new functions - scripts: Fix up vk_helper.py overzealous count detection Change-Id: Ia10f5fc759166a09999f01e68bbcadb30ddf67f7
2016-12-12build: Update generate scripts to use python3Mark Lobodzinski
Upcoming header scripts require python3 -- updated Windows and Linux android-generate scripts. Change-Id: Iba3b44d0999b5c28b9fc83800a4d54d46cbc2a4c
2016-12-12scripts: Prevent bad dynamic array in vk_helper.pyMark Lobodzinski
An extension added some variables which defeat the mechanisms used by the header-parsing scripts to identify dynamic arrays. Change-Id: Idcf84f882b13bf5cc3be8b6bb48751db6922e01e
2016-12-12layers: Fix param_val codegen for arrays of structsMark Lobodzinski
New extensions exposed a hole where arrays of structs were not getting deferenced correctly. Change-Id: Ia2474babee10f25c1446dfe58b5bd9778d3c9abc
2016-12-12layers: Use resolved range to avoid long loopsKarl Schultz
Fixes #1251. Use the resolvedRange instead of the raw range, which could include VK_REMAINING_MIP_LEVELS and/or VK_REMAINING_ARRAY_LAYERS, which are really big numbers. This fixes a near-infinite loop issue when running the input_attachment sample with validation. Change-Id: I250118db74a6faaecd2b3cd4cb43f44c07ae436d
2016-12-12scripts:Update unique error enums as of 12/12/16Tobin Ehlis
One valid usage updated and a bunch of new valid usages. Cmd to do the update was: python spec.py -update -remap 2110-2499
2016-12-09scripts:Update stats script for two error enumsTobin Ehlis
Stats script wasn't handling the case where two unique error ids appeared on the same line. This fixes that.
2016-12-09scripts:Update stats script parserTobin Ehlis
Some tweaks to stats script validation error parsing to correctly grab all the errors and ignore that noise.
2016-12-09scripts:Update database for new checksTobin Ehlis
Checks were implemented for correct layouts in vkCmdClear*Image() funcs in a previous commit. Updating the database file to reflect this fact and also the testnames for these checks.
2016-12-09layers: Remove validation layer details docMark Lobodzinski
This information is covered in the VU database, source code, or other layer documentation. Change-Id: I99170e1ed699b372d00f4b8dcf9ef0fd40ec2ecf
2016-12-09scripts: Remove layer doc gen scriptMark Lobodzinski
Change-Id: I4529546fadee343271db9ac2fa899bc9ee09dbf2
2016-12-09scripts:Ignore VALIDATION_ERROR_UNDEFINEDTobin Ehlis
VALIDATION_ERROR_UNDEFINED is a special case that shouldn't be recorded as an actual check in the source.
2016-12-09scripts:Update stats script to return 1 on errorTobin Ehlis
This script will be integrated into the run_all_tests flow to replace the old document validation. This update causes it to return 1 in certain error conditions. It will initially flag errors when: 1. The number of checks declared in the header don't match the database 2. A check that's implemented in the database isn't found in source 3. A testname in database can't be found in the test source
2016-12-09scripts:Make stats script work with python3Tobin Ehlis
Just needed parens around the single print so that the vk_validation_stats.py script will run with python3.
2016-12-09layers: Add error enums to Destroy APIsMike Schuchardt
Add error enum parameters to DestroyObject helper function for use when performing checks on the pAllocator parameter of vkDestroy* APIs. Add error enum parameter to DeviceReportUndestroyedObjects helper function for use when checking for undestroyed child objects. Change-Id: I4e0960b8b14ecc30f67a1eea112aa80de9f4ca86
2016-12-09layers: Add error enums to object trackerMike Schuchardt
Add the following validation error enums to object tracker helper functions: VALIDATION_ERROR_00097 VALIDATION_ERROR_00102 VALIDATION_ERROR_00920 VALIDATION_ERROR_00927 VALIDATION_ERROR_01651 Change-Id: Ic21fbaf14f29aef53b2b24d0aa4a8577d3a11927
2016-12-09demos: Make DEMOS_WSI_SELECTION a variable, not an optionTony Barbour
Change-Id: I8e10ce8df3d569c13f0adf6c09e5bd431279bc2d
2016-12-09externals: Update glslang and spirv revsMark Young
Update Glslang, Spirv-Tools, and Spirv-Headers revisions to the latest. Change-Id: I288e117b3180689f2fd5455ec4f721962c39602c
2016-12-09layers: GH1244, Fix Compressed BufferImageCopy errsMark Lobodzinski
CmdCopyBufferToImage and CmdCopyImageToBuffer were validating compressed image attributes against the valid usage conditions for uncompressed images. Added check for compressed images and skipped this validation, and TODO for future compressed VU addition. Change-Id: I09a7dc98cb0f925c7486ef9f2d6de31411c7ea1c
2016-12-09build: Add Wayland and Mir dev libs to travisKarl Schultz
Change-Id: I60b6b19417b0b68719b027ef36f6f3b9b3deef08
2016-12-09demos: Add very limited Wayland support to vulkaninfoTony Barbour
Also allow only one WSI selection at a time Change-Id: Ie7ca4f98c71a5097b7e07a4b5e2762b59606317c
2016-12-09Cmake: Move all find_packages to base CMakeLists.txtTony Barbour
Change-Id: Id27307788c7c230e75d620f1bf5470b1450289f2
2016-12-09Demos: Add Mir warnings and placeholdersTony Barbour
Change-Id: I7e7ca30bd1452a216213c02a7aa29ce8829b2974
2016-12-09Demos: Remove simultaneuos xlib and xcb support from cube*Tony Barbour
Change-Id: I2f28dc3e21fc10ae96dde2dbfc7f3025efd9c2f0
2016-12-09Demos: Add DEMOS_WSI_SELECTION to pick Linux wsi to useTony Barbour
Change-Id: Ic1fcc6cf888d94b84a43661aa33815948d85b701
2016-12-09Cmake: Add files needed to build with MirTony Barbour
Change-Id: I640e45db5d586a379674fb209e38075ba7f0cf29
2016-12-09Cmake: Move WSI compile decision to subdirectoriesTony Barbour
Change-Id: I61ac8910200a1751a23aa92fe0e7d955ee9e03e5
2016-12-09layers: Update details doc for new LVTMark Lobodzinski
Added RenderPassClearOpTooManyValues and new error enum. Change-Id: I598e7adf3897996efcf2f9c3023521e710b06cc6
2016-12-09layers: Warn if RenderPass clearvalues ignoredSlawomir Cygan
PR 1203: Vulkan spec does permit clearValueCount to be greater than number of values used by clear ops. However we have seen apps that pass garbage as clearValueCount - the best we can do in this situation is to emit a warning. Change-Id: If52c02759410500e96976d91fd42a9b2a7e2df41
2016-12-09Core validation: VerifyClearImageLayout review feedbackCort
- follow variable name/case conventions - Prepend calling function to error messages - Simplify caller identification
2016-12-09Core validation: VerifyClearImageLayout tweaks:Cort
- Move test for invalid layouts before test for valid-but-non-matching layout - Use unique error codes - Pass caller function name to differentiate between color and depth/stencil clears
2016-12-09Core validation: add an errror message when wrong layout is used for clearingSlawomir Cygan
2016-12-09scripts: Remove vk-generate.pyMark Lobodzinski
No longer used for def-file or dispatch-table-helper generation. Change-Id: I3864441e900ecb3ebc2e9fdf5cb4dfc785b2ad83
2016-12-08loader: Add CMake copy of def file to build dirMark Lobodzinski
Change-Id: I377ef3e58b49c345fcc5ac8d10bdee7e4c059bed
2016-12-08layers: Change cmake to Copy def files to build dirMark Lobodzinski
Change-Id: Ic963c7fc1383dd5a39844e366a9d3bb1ce1f8c93
2016-12-08loader: Check in loader Windows def fileMark Lobodzinski
Change-Id: I184ce5efa8cd27cbbf93babf52d4a6b9b4266a24
2016-12-08layers: Check in layer Windows def filesMark Lobodzinski
Change-Id: I128479d5f4d5f9c25dd8902f7f0c2d8275e14c7b
2016-12-08build: Update Android cmake w/new dispatch_table genMark Lobodzinski
Change-Id: Id505439bf599ac04d2590e84e30ca29da9359f56
2016-12-08layers: Rename xml-codegen cmake macroMark Lobodzinski
It's not just for layers anymore. Change-Id: I05d7ed918b58273ca9328885f419f37fa7352791