| Age | Commit message (Collapse) | Author |
|
Change-Id: Ic296788beb078f19a35b93b99df5dbf677c95122
|
|
|
|
Change-Id: I0480e60e3c6c2f06f24022332640756bcdc3f1a0
|
|
InvalidDescriptorSetLayout test was added with 772fcd1c
|
|
Test was added with 772fcd1
|
|
Change-Id: I7ba803a11de29e65ae65fbf0a0168561a2e6739f
|
|
Also changed diagnostics to log the contents of dir containing
powershell.exe, and log the current value of $PATH.
|
|
Change-Id: Ibbffc0bf05bcbd1aa3b9272caa0b2c1c3a54037d
|
|
Added a command line option to cube and tri to suppress
windows message boxes to facilitate Windows testing.
Change-Id: I069f9b199c9740e1e21c42100ceec42d5fb8f0e2
|
|
|
|
Change-Id: Ic1f192ea7c95762d7e53f091cc9f0ea55be96c04
|
|
Moved debug-report related items from vk_layer.h. Enums are now in
vk_layer_logging.h and DbgFunctionNode has been moved into a new
loader header file vk_loader_layer.h.
Change-Id: I6031146ba474ff01ca039da44ad5d42d054383a3
|
|
Allows layers to output error messages even if no vk_layer_settings.txt
config file is present. Sets defaults to LOG_MSG, error, stdout.
A layer settings file will override any default values. If no settings
file is present and an app creates a debug callback, the default
callbacks will be removed and unregistered.
Change-Id: I49f37189665816df58c258b9e9629f2bf76751c8
|
|
|
|
|
|
|
|
|
|
Remove some unneeded passing of poolMap around and use getPoolNode()
function in DescriptorSet class.
|
|
|
|
|
|
Added getSwapchainNode() helper to core_validation and update
DescriptorSet class to use it.
|
|
Add getSwapchainFromImage() to core_validation and use it from
DescriptorSet class.
|
|
|
|
Add getImageNode() helper to core_validation and use it.
Also update DescriptorSet class to use the helper and kill
its image_map member.
|
|
Switch imageViewMap to store unique_ptrs. Add getImageViewDate() helper
to core_validation and update DescriptorSet to use it.
|
|
Kill sampler_map_ in DescriptorSet and add getSamplerNode() helper
and use it instead.
|
|
Add helper function to core_validation for bufferViewMap look-ups
and use the helper in DescriptorSet class.
|
|
Standardize core_validation use of getMemObjInfo() and update
DescriptorSet class to use it as well.
|
|
Move core_validation bufferMap to use unique_ptr to BUFFER_NODE.
Perform bufferMap look-ups using getBufferNode() helper function.
Update DescriptorSet class to use getBufferNode() helper and store
layer_data instead of bufferMap.
|
|
This is the start of migrating core_validation::layer_data to be
visible in DescriptorSet class.
DescriptorSet class can't see the contents of layer_data, so it also
needs the get<Object>() helper functions to look up items from the
maps. This first change only brings along getSetNode() utility
function so only set_map references can be removed.
Will add follow-on CLs to remove more maps from DescriptorSet class
and bring in more utility functions.
|
|
Remove statement indicating that the Linux SDK installs the loader and layers to system libraries; it no longer does this.
|
|
Fix the CMake code that overrides the /MD flag with the /MT flag for
the Windows demo and loader projects. The CMake debug and release
variables were set to /MTd and /MT, overriding all existing debug
and release settings.
Now replacing /MD with /MT in the debug and release variables,
without losing other debug/release settings. Also performing
the MD/MT substitution for all release and debug configurations.
Change-Id: Id4a57c38bde0d909a95e7a49d9867029829e2c61
|
|
The behavior of the PreCallValidateAllocateDescriptorSets slightly
changed so updating comment accordingly.
|
|
With the break between PreValidate* and PostRecord* calls in the layers
we can suffer having to do some repeat work in the Post step. In order
to prevent this, this CL slightly modifies the interface to pass common
data between the pre/post calls in a custom AllocateDescriptorSetsData
struct.
I initially attempted to fill this data in a separate function that
would preceed the PreValidate* call, but such a function would need to
include some validation as it includes map checks which may fail.
The simplest solution, then, seems to be passing a ptr to the common
data to the PreValidate* function who then fills the data. If the
validation and call down the chain succeed, the PostRecord* function
then takes a ptr to the common data to prevent having to redo the
work that was done at validation time.
|
|
Create a top-level "Validate" and "Perform" interface for the
vkAllocateDescriptorSets() function in DescriptorSet class.
Refactor AllocateDescriptorSets() in core_validation to use the
new interface. All checks are now performed in a "Pre" function
and all state updates are recorded in a "Post" function.
|
|
|
|
|
|
Since each of the layer library contains only a layer, we can simplify v0
functions by making them wrappers to the contained layer's corresponding
commands.
While we have to make changes to each layer individually, all the changes
should be the same in spirit. The exception is vk-layer-generate.py where
the missing vkEnumerateDeviceExtensionProperties is also added.
|
|
Apply 'noautovalidity' code generation logic to struct members.
Previously, struct pointers tagged as noautovalidity were ignored by
the code generator, but the members of non-NULL struct pointers
were still processed. Now both the struct pointer and the struct
members are ignored when the struct pointer has the 'noautovalidity'
attribute.
Change-Id: I14bc231210f2440fb8bb3df8c73ef165100f0daa
|
|
Fix LX506: vkFlushMappedMemoryRanges validation error
with VkMappedMemoryRange::size = VK_WHOLE_SIZE.
Resolution: Change test of size variable to correctly test the
size passed by application against the relevant mapped memory
Change-Id: I6d855482985512b5096696f5c37346dde8a391ac
|
|
|
|
|
|
RT install Powershell script was using echo. Now use transcript
recording (which will also include OS, Powershell version, and other
info). Also, use Write-Host, Write-Warning, and Write-Error to
make errors and warnings more obvious.
NOTE: This includes intentional debug code enablement so I can
retrieve an RT install that does not remove a copy of the
Powershell log file. This will be fixed quickly after the RT install
is generated on CruiseControl.
|
|
Add test to hit the case where number of CLEAR loadOps in used
by renderPass attachments is greater than clearValueCount given
at renderPass begin time.
Also update documentation.
|
|
At this point in the code we already know that renderPass is
valid so no need to re-check it.
|
|
We were missing check "clearValueCount must be greater than or equal
to the number of attachments in renderPass that specify a loadOp of VK_ATTACHMENT_LOAD_OP_CLEAR" (Vulkan spec 1.0.15 section 7.4)
This change adds that check.
|
|
|
|
|
|
When updating descriptor sets, correct usage bit must be set depending
on the type of update. New test, DSUsageBitsErrors cycles through all
of the different update types that can hit usage bit errors and
intentionally hits all of the errors.
|
|
More cases where "else" blocks weren't needed because the
"if" block returns.
|