aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-13layers:Rename DESCRIPTOR_POOL_NODE to *_STATETobin Ehlis
Continuing the NODE->STATE renaming effort
2016-10-13layers:Kill outdated commentTobin Ehlis
2016-10-13tests:Add FramebufferInUseDestroyedSignaled testTobin Ehlis
This test creates a binding between framebuffer and cmd buffer, submits the cmd buffer and then destroys the framebuffer while still in-use to verify that the correct error is triggered. Update database file with new test for check 00422.
2016-10-13layers:Fix framebuffer cmd buffer bindingTobin Ehlis
Wasn't correctly establishing binding between framebuffer object and cmd buffer object that it's used in. Updated code to use standard addCommandBufferBinding() function.
2016-10-13layers:Rename FRAMEBUFFER_NODE to *_STATETobin Ehlis
Part of ongoing effort to kill nebulous "NODE" moniker and switch to "STATE" instead.
2016-10-13layers:Refactor DestroyFramebufferTobin Ehlis
Add validation flag for DestroyFramebuffer and update it to follow the Pre/Post pattern. This function didn't previously perform an in-use check so added that check. Updated database file.
2016-10-13layers:Add in-use unique error enumsTobin Ehlis
Pass error enum into ValidateObjectNotInUse function and update all of the existing calls to pass correct enum. Also update database file to record checks as implemented and note test status.
2016-10-13layers:Add validation to DestroyDescriptorPoolTobin Ehlis
Add validation flag for DestroyDescriptorPool and update it with validation code using the Pre/Post pattern. Flag error if descriptor pool is in use and invalidate any cmd buffers that it was bound to. Remove pool state from map when it's destroyed. When the pool is destroyed make sure all of its descriptor sets are also freed.
2016-10-13layers:Rename PIPELINE_NODE to PIPELINE_STATETobin Ehlis
Would like to migrate "NODE" structs to "STATE" as it's more descriptive of their purpose. This commit changes PIPELINE_NODE to PIPELINE_STATE.
2016-10-13layers:Reduce locking windowTobin Ehlis
Don't need to lock around these decls in DestroyImage/BufferView
2016-10-13layers:Refactor DestroyPipelineTobin Ehlis
Add validation flag for DestroyPipeline and update it to follow the Pre/Post pattern.
2016-10-13layers:Refactor DestroyImageViewTobin Ehlis
Add validation flag for DestroyImageView and update it to follow the Pre/Post pattern. Also made a couple minor tweaks to DestroyBufferView based on review.
2016-10-13loader: gh1035- vkDestroyDebugReportCallbackEXTMark Young
The changes I made to enable layer wrapping of the debug report callback broke the cleanup case so that under certain scenarios vkDestroyDebugReportCallbackEXT would not delete the callback resulting in messages after the destroy call. Change-Id: Ie5b26d8c973a08bb3161412468bb9dfdb70b315c
2016-10-13layers: Removed genvk.pyMark Lobodzinski
Replaced with an updated and modified version, lvl_genvk.py. Change-Id: I60f344d8361d1408303185a5d7958575a404870e
2016-10-13layers: Update build for v1.0.30 XML code-genMark Lobodzinski
- Updated cmakefiles for new codegen files: renamed genvk.py to lvl_genvk.py as the file is modified in this repo. - Modified dependencies and parameters of cmake build macros. - Updated reg.py to version 1.0.30 - Updated generator.py to version 1.0.30 Change-Id: Ia87fc7fc68e406a724d5ad9822f1f87b964f9977
2016-10-13layers: Add and update custom version of genvk.pyMark Lobodzinski
Created a LoaderAndValidationLayers-specific version of the 1.0.30 version of genvk.py, locally named lvl_genvk.py. - removed unused generator classes - added LVL class to build threading - added LVL class to build paramchecker - added LVL class to build uniqueobjects Change-Id: If3ac7f6b554ed5b850aba83b5b20998b84990a41
2016-10-13layers: Set up UniqueObjectsOutputGenerator classMark Lobodzinski
Implements the Vulkan XML API registry-based generation of the unique_objects layer's unique_objects_wrappers.h header file. Change-Id: Ie2456216bb10726dab792d39b0b9d85bb1ba528c
2016-10-13layers: Set up ThreadOutputGenerator classMark Lobodzinski
Implements the Vulkan XML API registry-based generation of the threading layer's thread_check.h header file. Change-Id: I50e828aaf9ce9d494520b476c2c73f44dd549a3c
2016-10-13layers: Set up ParamCheckerOutputGenerator classMark Lobodzinski
Implements the Vulkan XML API registry-based generation of the parameter_validation layer's parameter_validation.h header file. Change-Id: Ib7be36121f4f21dd667d09f9bd5e82749a417a33
2016-10-12build: Add include files to make install targetKarl Schultz
Change-Id: Ieaf84adc4a9345c1f5ef7646106dd00ff3e5e716
2016-10-12layers: Add error enums to object trackerKarl Schultz
- Add error enum to many calls to ValidateObject(). - Specify null_allowed=true when VU allows it. (mostly Destroy* cases) Change-Id: I61d94ea71cf885caad475c2012111c92bc7e9904
2016-10-12loader: gh1026- Fix compiler warningsMark Young
Fixed the compiler fixes encountered in the loader. Change-Id: I4b3bb34b2d7e2231ccae61c684029af337d7c25e
2016-10-12demos: Add .py extension to smoke build scriptMark Lobodzinski
Change-Id: I7fbcdc26fe774baefbdb3796470f41c3393ddfda
2016-10-12scripts: Add python extension to scriptMark Lobodzinski
Change-Id: If5c338ba6eb991cc489ef0a37296a111917ddd52
2016-10-12build: Remove dead code from build scriptMark Lobodzinski
Change-Id: Id6dbde9743573659b57c2ee60634245ca10a827a
2016-10-12loader: Remove dead code from loader gen scriptMark Lobodzinski
Change-Id: Ie6ad81c1f0097b93c3006a737d57a69d81ee70e8
2016-10-11layers: Validate correct layout for STORAGE_IMAGE descriptorsTobin Ehlis
According to the spec "Load and store operations on storage images can only be done on images in VK_IMAGE_LAYOUT_GENERAL layout." This change flags an error if a STORAGE_IMAGE descriptor is updated with an image layout other than GENERAL.
2016-10-11cube.c: Remove excess tests from presentation fencesszdarkhack
Instead of using a bool array and both checking and writing to it every frame for no reason, just create the presentation fences with the VK_FENCE_CREATE_SIGNALED_BIT flag.
2016-10-11layers: Update database file for spec on 10/11/16Tobin Ehlis
Update the error enum database file for spec as of 10/11/16. There was only one change which was the removal of spurious </usage> tag from error 500. Since this changed the error message, I had to force the script to remap new 500 to the original 500. Command line run to generate update: python spec.py -update -remap 500-500
2016-10-11scripts: Add database error check to spec.pyTobin Ehlis
Fix broken database line where delimiter was incorrect. Add check to spec.py script to detect if database line doesn't contain expected number of elements and report error in that case.
2016-10-11layers: Updating some CreateBuffer checks to use unique enumsKarl Schultz
Small batch of updates to use unique validation error enums and messages for a few checks. Updated the database file and flagged some other checks that are missing with the error enums and TODO notes. Change-Id: I2020a88bbdcf7ea6d725f667523e89b160fe7ab8
2016-10-10layers: Add validation flag for descriptor updatesTobin Ehlis
Add update_descriptor_sets flag to bypass validation for vkUpdateDescriptorSets() call.
2016-10-10layers: Pass unique error codes through descriptor validationTobin Ehlis
Descriptor validation builds up error strings at multiple levels such as UpdateError->WriteUpdate->BufferUpdate->BufferOffset. The final error is then reported via a log_msg() call at the top level. In order for this design to allow for the new unique error codes, we need to pass error codes down the chain in the same way we pass error strings down the chain. This change adds error msg passing for descriptor updates. Many error codes are added in as well as comments for codes that are missing or need to be updated. The database file is also updated to account for all of the checks that were updated and/or reviewed.
2016-10-10layers: Fix Windows build warningsMark Lobodzinski
NOEXCEPT is defined multiple times Change-Id: I9aef970e9588c17071cd71a31873db4090d50b07
2016-10-10demos: Fix Windows build warnringsMark Lobodzinski
Change-Id: I733704e8904a77aa9071565cfc1d18b23b1c0c1c
2016-10-10docs: GH429 change doc for shader_checker testsMark Mueller
This branch adds tests that challenge the validation layer on various shader checker cases Change-Id: I38072fb9afaa52148a24532e919c2ac81111480c
2016-10-09demos: fix cubepp cross-platform buildJeremy Hayes
Change-Id: I823154dc0c61e7358d88fe6afc4f5808b640804d
2016-10-09demos: fix uninitialized variableJeremy Hayes
Change-Id: If980d3a8d765185148cff0b037cb64e637ae8a75
2016-10-09demos: fix cube cmakeJeremy Hayes
Change-Id: Ia7a79bee7353ac484e691916591c585643a8753d
2016-10-09demos: fix uninitialized variableJeremy Hayes
Change-Id: I1aa51806a82398fb03cfb81ae23782882d1e07ae
2016-10-09demos: clang-format cube.cppJeremy Hayes
Change-Id: I5f55446eb6f3c312b6cc012733b7f4e454ac73ba
2016-10-09demos: add cube cpp sampleJeremy Hayes
Demonstrate how to use vulkan.hpp. Change-Id: Ia5ef4f55d45219aec607ae04efdb64c6ebbc9578
2016-10-07header: Move vulkan.hpp to version 1.0.30Mark Lobodzinski
Change-Id: Ifb8a3577cd41ea4a36fea78c12d2a92ea5437e11
2016-10-07loader: Move SOVERSION to version 1.0.30Mark Lobodzinski
Change-Id: I129086e47b0cdb12d31ffdd334d27c63e18dd097
2016-10-07layers: Move Linux json files to version 1.0.30Mark Lobodzinski
Change-Id: Ia54d78a9440f40b61601836fedcf68aba3c90dc1
2016-10-07layers: Move Windows json files to version 1.0.30Mark Lobodzinski
Change-Id: Iac3446e618e1b84be6d42eb7d3b55d3046b124d6
2016-10-07header: Move vk.xml to version 1.0.30Mark Lobodzinski
Change-Id: Id238f998c88d19f1549273359d559a602963c002
2016-10-07header: Move vulkan.h to version 1.0.30Mark Lobodzinski
Change-Id: I99dd0d24feca887ea5c69e97856e96728491b0b5
2016-10-07layers: Fix access violation in LVTMark Lobodzinski
Was sending an out-of-scope memory reference to the display driver in unique_objects::AllocateMemory. Change-Id: I6b700445125acab040310682c96e7507d0fd91aa
2016-10-07layers: Add flags for some descriptor validationTobin Ehlis
Add flags that can gate descriptor checks for in-use descriptor, push constant ranges, and allocate & free descriptors.