aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-06scripts: Remove debugging code from PVMark Lobodzinski
Change-Id: Ia58e87a07e0e182b6dd447f4d6dc2c7fb2a9f346
2017-01-06scripts: Fix handle tracking in parameter validationMark Lobodzinski
Handle list was reset for each feature -- accumulate handles across all Vulkan features to allow exension handle validation to proceed. Change-Id: Id240404d9cc6757d741f575b9152b0aa82a0c1c2
2017-01-06layers: CmdDrawIndirect is not an indexed commandTony Barbour
Change-Id: Ic5e947382f64db366c72fbf058bbbd1118f79e01
2017-01-06layers: GH1342, Correct objecttype in object_trackerMark Lobodzinski
The IndirectCountAMD extension had the wrong object type specified for validating its command buffers. Change-Id: I36707455c6e59f9f0f8456b67b02a320fa4631fa
2017-01-05loader: gl167 - Remove unknown inst extensionsLenny Komow
Change-Id: I24aecbdab452a04514fd42a9a9ae7f3bcf1cd2ca
2017-01-05demos: Make spacebar pause work in cube demo (Linux).Karl Schultz
Fixes #1316. Rework XCB event processing code to handle events properly and avoid hangs when pausing. Fix polarity of decrease/increase spin rate keys. I suspect that this was an artifact from fixes made to the transforms a while back. Change-Id: I74adf7309227fafd175d8972ca930a304c58a1dd
2017-01-05build: Add libxkbcommon to Travis configKarl Schultz
libxkbcommon is needed to build VulkanSamples
2017-01-04docs: Fix README to show Travis master br statusKarl Schultz
Better to show status only for master branch Travis builds. Other branches frequently fail and cause the badge to not reflect the status of the master branch.
2017-01-04scripts:Adding duplicate error id exceptionsTobin Ehlis
Adding three more exceptions to stats script for duplicate uses of unique error ids.
2017-01-04layers:Remove redundant checksTobin Ehlis
Remove descriptor set check to make sure that src & dest descriptor sets of copy update are valid. Object_tracker already verifies this.
2017-01-04layers:Remove redundant checksTobin Ehlis
Remove duplicate checks from core_validation that are already handled in object_tracker.
2017-01-04layers:Add TODO comments for valid usage updatesTobin Ehlis
Note a few unique error enum duplicates that should have their own unique ids added through spec updates.
2017-01-04layers:Remove redundant checkTobin Ehlis
Core_validation has a shared to check to verify image layout for both vkCmdClearColorImage() and vkCmdClearDepthStencilImage(). Removing the same check for color images from image layer.
2017-01-04layers:Remove redundant validation checkTobin Ehlis
As was noted in a comment, the core_validation check for a valid instance in EnumeratePhysicalDevices() was replicating the same check in object_tracker. Killing the core_validation check.
2017-01-04demos: Fix CMake file to allow WSI selectionKarl Schultz
Define DEMOS_WSI_SELECTION CMake variable so it can be set from CMake command line or GUI. Change-Id: If2531d102fe9b054a1eee4da28431779b173fc10
2017-01-04external: Back up one spirv-tools commitTony Barbour
As a workaround for the assert running CTS with validation, back up one spirv-tools commit until SPIRV-Tools issue 517 is resolved Change-Id: I4b173add841a67654caabd4fd534fe00a8970009
2017-01-04scripts: Fix dynamic array calc in vk_helper.pyMark Lobodzinski
VkSubmitInfo->pWaitDstStageMask should be treated as a dynamic array with a count of VkSubmitInfo->waitSemaphoreCount. Change-Id: I42da296eeb849f5baabc12d011c938f0f322274a
2017-01-04build: Cleanup warnings when compiling with clangKarl Schultz
Travis-CI is building this repo with gcc and clang. This commit fixes warnings reported by clang but not by gcc. All the fixes involved adding an extra set of braces in initializers. Change-Id: I88e7841d9ab13afe2e45362b8f85261863d5b7fa
2017-01-04scripts:Exceptions for duplicate unique idsTobin Ehlis
Added a number of exceptions for duplicate uses of unique error enums that are valid. Also added some comments to a few cases that need new unique ids.
2017-01-04layers:Remove redundant checkTobin Ehlis
Object tracker layer already makes sure that cmd buffers passed into vkCmdExecuteCommands() are valid so removing the duplicate check from core_validation.
2017-01-04layers:Remove redundant image compatibility checkTobin Ehlis
The format compatibility check when creating an image view handles case of color-color check as well as compressed image compatibility check. Killing the redundant check and comment as this is all handled above.
2017-01-03Update README to point to Khronos AppVeyor CIKarl Schultz
2017-01-03scripts: Remove hack from safe-struct generationMark Lobodzinski
Some special-cases were added to safe_struct genration so that it'd spit out unneeded worker routines for normal functions. Removed the offending code and the workaround. Change-Id: I9394b06e3cdda011f417c725622eec3dd224a989
2017-01-03layers: Remove bad call to safe_struct worker fcnMark Lobodzinski
One of the displaymode functions was calling a safe_struct worker function incorrectly, and a special-case hack was added to have unique_objects generate this unneeded function. Change-Id: I9939b56cb254e50b60d48945a14ad223efad775e
2017-01-03build: Return status immediately if a test failsCody Northrop
2017-01-03build: Cache external build directoriesCody Northrop
2017-01-03build: Move to latest Android NDKCody Northrop
2017-01-03build: Update Android target revisionCody Northrop
2017-01-03tests:Update tests to use unique idsTobin Ehlis
Update a bunch of tests to use the unique id to check for expected error. Update documentation for a few tests that were incorrect. Also a couple of minor test updates to fix minor issues.
2017-01-03layers:Only flag one aspect error at a timeTobin Ehlis
For image aspect bit errors, first flag the error if correct bit is not set, else flag error if additional bits are incorrectly set. There's not a real benefit to flagging both errors and it complicates testing. Generally the first error should be sufficient to allow a user to correctly update their aspect bit usage.
2017-01-02scripts:Check for use of error enums in testsTobin Ehlis
Update stats script to gather all error enums that are used by tests to check for validation errors. If the database reports that a test is checking a specific enum, but that enum is not being used in the SetDesiredFailureMsg() for that test, report it as a warning. Ideally all of the checks will start using the explicit enum value to check for the presence of that error, so this warning will highlight tests where it should be easy to update them to check for error enum.
2016-12-30docs: Update README for AppVeyor Windows CI buildsKarl Schultz
2016-12-30build: Add config file for AppVeyor Windows CIKarl Schultz
2016-12-29docs: Update README for TravisKarl Schultz
2016-12-29external: Update Glslang/Spirv-Tools revisions.Mark Young
Update Glslang to commit 807a0d9e2f4e176 and Spirv-Tools to commit 6993fc413d8da97. Change-Id: I468ec5ec3bee13f4d1549439bef9b40908245f33
2016-12-29build: Add Android build to travisKarl Schultz
Change-Id: I51232194642bd2f36e212b4a0ac1e81272eae450
2016-12-29loader: Switch variable appropriatelyMark Young
A delete was being done using a variable that wasn't directly tied to the array. Change-Id: I59ba4bc86a72fc8158e3a7c46e13c54fb2409873
2016-12-29layers:Variable renaming for style and clarityTobin Ehlis
2016-12-29layers:Don't pass active binding set aroundTobin Ehlis
The active bindings set was being passed around but the data is only used in a couple places and an alternate form of it is available in the binding->requirement map. Also, the binding set was wrong in that it stored bindings for all bound sets at draw time, but was being used to check bindings for individual sets.
2016-12-29layers:Clean up descriptor data structTobin Ehlis
Stop passing around hideous vector of descriptor state. The data is already contained in various bits of the cmd buffer struct so just re-create any data at the point it's needed.
2016-12-29layers: Add VU enums to core_validation.cppDave Houlton
(Completes Jira VL-62) Add new VU enums to core_validation (part 4 of 5). Update database to reflect changes. Small edit to InvalidPushConstants test in layer_validation_tests.cpp to update error message text. Change-Id: I05800c9e783d66ef41e92c4af1d2f2e9eb8b9270
2016-12-29layers: Add valid usage enums to core_validationMike Schuchardt
Update valid usage enums in subsection of core validation from validateEventStageMask() to validateSecondaryCommandBufferState(), inclusive. Update tests for vkCreateFramebuffer to work with refactored error messages. Change-Id: Ie6138fbfe7422b3a6affac45faeeb198a0ab6bcc
2016-12-28build: Compile with both clang and gcc on TravisKarl Schultz
Fixes #1310 Change-Id: I430089a362b70e104ad3274a76b1033b2e94ac2a
2016-12-28layers:Mark latest buffers and images as writtenTobin Ehlis
Fixes #1311 In the Draw-time refactor the marking of store images and buffers as written was incorrectly moved before the list of images and buffers was updated for the current active bindings. This fix restores correct order of operations so that the buffers and images of interest are first added to cmd buffer active list, then they're appropriately updated as written.
2016-12-28scripts: Correct author emails in helper scriptMark Lobodzinski
Change-Id: I53196ed512f5465e6ebfb88b93b727e29a7e9809
2016-12-28scripts: Remove enum_string_helper from vk_helper.pyMark Lobodzinski
This functionality is now in helper_file_generate.py. Change-Id: Iea20fe5a9882de7001154d2a809106c5fb63f3cb
2016-12-28android: Update build scripts w/enum_string codegenMark Lobodzinski
The enum_string_helper header is now generated from vk.xml. Change-Id: I6adf09663c87b21623993a939a8ad60e343a805d
2016-12-28layers: Mod cmake for new enum_string_helper codegenMark Lobodzinski
Remove old-style codegen invocation and replace with new vk.xml based stuff. Change-Id: I4f3dc70bfa3426141b8aaba12b09090eeea05085
2016-12-28scripts: Update lvl_genvk.py w/new helper generatorMark Lobodzinski
Change-Id: Ib3afef2e275d2f7b4906d0ca95022aeb4fd2e674
2016-12-28scripts: Update helper gen to ignore disabled extsMark Lobodzinski
Header file description contains unimplemented/undefined extensions. Filter these out when processing enumerated types. Change-Id: I1a83dc932a10fe9b3565a4b1462f4ab7e934168f