| Age | Commit message (Collapse) | Author |
|
|
|
DescriptorSets are not explicitly destroyed. ObjectTracker will need to be
extended to handle these types of cases.
|
|
Addresses Lunar Exchange issue 153
|
|
Addresses Lunar Exchange issue 147
|
|
To address Lunar Exchange issue 146. We still test/demo z-clipping while
displaying all of the triangle, at least some of the time.
|
|
ONE_SHOT Pool
Also added a layer validation test to flag this error
|
|
|
|
|
|
This will more-closely mirror what's being done in the generic layer, which was
the original source of this layer.
|
|
Add checks for alignment in DeviceLimits layer.
Add checks for type, format and sample count in Images layer.
Remove such checks from intel icd.
Add new validations to layer_validation_tests.
|
|
|
|
DrawState maps are all now stored per-device and per-instance.
Also fixed a bug where renderPassMap ptrs were not being cleaned up.
|
|
data struct
This is first part of cleaning up DrawState. Need to migrate its global maps into the layer data struct as well so they are per device/instance and then single map look-up with get both layer data and dispatch tables.
|
|
All instance dispatch calls are made via instance_dispatch_table in layer data struct.
All device dispatch calls are made via device_dispatch_table in the layer data struct.
This saves map look-ups as a single call can be made to get the per device/instance layer data, including the dispatch table.
|
|
Don't checkout HEAD or rolling back one commit will delete files.
|
|
Also remove unused R32 variable and file now that
we can get latest glslang from git.
|
|
|
|
Now Generic layer is better example of a validation layer
|
|
|
|
Memory allocated with _aligned_malloc on WIN32 should be released with _aligned_free.
If icd/common/icd-instance is ever used on WIN32 it will now use _aligned_free.
loader_aligned_heap_alloc and loader_aligned_alloc would require additional
matching loader_aligned*_free functions to be correct for WIN32.
But both functions are never used. Just remove those functions for now.
|
|
|
|
|
|
Image layer gets validation for image aspect settings laid out in the spec.
|
|
closedir was using plain free instead of loader_tls_heap_free.
|
|
Windows hates %zu. Changed to %lu and cast size_t to unsigned long.
|
|
|
|
|
|
|
|
This is the new way to get the tools for private SPIR-V rev32
|
|
This is the new way to get SPIR-V rev32 source.
|
|
|
|
|
|
Make sure that counts from dynamically set viewport and/or scissors match the PSO counts.
Added tests to verify these cases.
|
|
Make sure that viewportCount and scissorCount match
If viewport is not dynamic, make sure viewport state is supplied and if viewportCount is non-zero, that viewport data is non-NULL.
If scissor is not dynamic, make sure scissor state is supplied and if scissorCount is non-zero, that scissor data is non-NULL.
Added tests to hit these new cases.
|
|
Loader trampoline code may see wrapped objects. Don't do value comparisons
of dispatchable objects but instead compare dispatch tables to find objects.
PhysicalDevice objects where may have multiple gpus with same instance dispatch
will be fixed in a later patch.
|
|
Corrected validation layer error code.
|
|
vkEnumerateInstanceExtensionProperties was using freed memory.
Avoid free of NULL pointers.
|
|
README.md was woefully out of date so this is a big improvement, but still more work to be done. May want to merge this doc with details doc in the future as they cover similar ground.
|
|
|
|
screens
|
|
|
|
Need loader entrypoints for debug_report extension including the utility
functions. Don't call down the instance chain GPA for this extension.
Remove instance extensions decoding when GPA instance == NULL as don't want
to return extension entrypoints unless they are enabled.
This meant the WSI swapchain instance GPA was no longer used so remove it.
|
|
Updated DrawState layer and validation tests to check that all draw commands
are correctly called inside or outside (or either) of an active render pass.
|
|
calls
Track which dynamic states are set via PSO and merge that with dynamic state set by CmdSet* cmds.
Updated viewport not set test to pass when scissor is flagged as missing. Currently scissor and viewport set together so scissor error masks viewport error.
|
|
If the update DescriptorType does not match the layout DescriptorType, DrawState would previously bail automatically. This update flags the error and will only bail if the callback return code is VK_TRUE, like with all other validation errors.
|
|
Make reseting an unsignaled fence a warning.
See merge request !38
|
|
|
|
|
|
Also change GetInstanceProcAddr to return the first entry down the chain rather
than global (trampoline entrys) all the time when a non-null instance is passed.
|
|
For dynamic states flagged in PSO, consider them set at draw time.
Clarify various dynamic state error messages to make them more consistent with updated dynamic state API.
Add test for scissor not bound.
|