| Age | Commit message (Collapse) | Author |
|
Continuing the NODE->STATE renaming effort
|
|
|
|
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.
|
|
Wasn't correctly establishing binding between framebuffer object and
cmd buffer object that it's used in. Updated code to use standard
addCommandBufferBinding() function.
|
|
Part of ongoing effort to kill nebulous "NODE" moniker and switch to
"STATE" instead.
|
|
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.
|
|
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.
|
|
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.
|
|
Would like to migrate "NODE" structs to "STATE" as it's more
descriptive of their purpose. This commit changes PIPELINE_NODE
to PIPELINE_STATE.
|
|
Don't need to lock around these decls in DestroyImage/BufferView
|
|
Add validation flag for DestroyPipeline and update it to follow the
Pre/Post pattern.
|
|
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.
|
|
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
|
|
Replaced with an updated and modified version, lvl_genvk.py.
Change-Id: I60f344d8361d1408303185a5d7958575a404870e
|
|
- 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
|
|
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
|
|
Implements the Vulkan XML API registry-based generation
of the unique_objects layer's unique_objects_wrappers.h
header file.
Change-Id: Ie2456216bb10726dab792d39b0b9d85bb1ba528c
|
|
Implements the Vulkan XML API registry-based generation
of the threading layer's thread_check.h header file.
Change-Id: I50e828aaf9ce9d494520b476c2c73f44dd549a3c
|
|
Implements the Vulkan XML API registry-based generation
of the parameter_validation layer's parameter_validation.h
header file.
Change-Id: Ib7be36121f4f21dd667d09f9bd5e82749a417a33
|
|
Change-Id: Ieaf84adc4a9345c1f5ef7646106dd00ff3e5e716
|
|
- Add error enum to many calls to ValidateObject().
- Specify null_allowed=true when VU allows it.
(mostly Destroy* cases)
Change-Id: I61d94ea71cf885caad475c2012111c92bc7e9904
|
|
Fixed the compiler fixes encountered in the loader.
Change-Id: I4b3bb34b2d7e2231ccae61c684029af337d7c25e
|
|
Change-Id: I7fbcdc26fe774baefbdb3796470f41c3393ddfda
|
|
Change-Id: If5c338ba6eb991cc489ef0a37296a111917ddd52
|
|
Change-Id: Id6dbde9743573659b57c2ee60634245ca10a827a
|
|
Change-Id: Ie6ad81c1f0097b93c3006a737d57a69d81ee70e8
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
Add update_descriptor_sets flag to bypass validation for
vkUpdateDescriptorSets() call.
|
|
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.
|
|
NOEXCEPT is defined multiple times
Change-Id: I9aef970e9588c17071cd71a31873db4090d50b07
|
|
Change-Id: I733704e8904a77aa9071565cfc1d18b23b1c0c1c
|
|
This branch adds tests that challenge the validation layer on various
shader checker cases
Change-Id: I38072fb9afaa52148a24532e919c2ac81111480c
|
|
Change-Id: I823154dc0c61e7358d88fe6afc4f5808b640804d
|
|
Change-Id: If980d3a8d765185148cff0b037cb64e637ae8a75
|
|
Change-Id: Ia7a79bee7353ac484e691916591c585643a8753d
|
|
Change-Id: I1aa51806a82398fb03cfb81ae23782882d1e07ae
|
|
Change-Id: I5f55446eb6f3c312b6cc012733b7f4e454ac73ba
|
|
Demonstrate how to use vulkan.hpp.
Change-Id: Ia5ef4f55d45219aec607ae04efdb64c6ebbc9578
|
|
Change-Id: Ifb8a3577cd41ea4a36fea78c12d2a92ea5437e11
|
|
Change-Id: I129086e47b0cdb12d31ffdd334d27c63e18dd097
|
|
Change-Id: Ia54d78a9440f40b61601836fedcf68aba3c90dc1
|
|
Change-Id: Iac3446e618e1b84be6d42eb7d3b55d3046b124d6
|
|
Change-Id: Id238f998c88d19f1549273359d559a602963c002
|
|
Change-Id: I99dd0d24feca887ea5c69e97856e96728491b0b5
|
|
Was sending an out-of-scope memory reference to the display driver
in unique_objects::AllocateMemory.
Change-Id: I6b700445125acab040310682c96e7507d0fd91aa
|
|
Add flags that can gate descriptor checks for in-use descriptor,
push constant ranges, and allocate & free descriptors.
|