| Age | Commit message (Collapse) | Author |
|
Uninitialized descriptor slots are not filled this could cause
null pointer dereferences.
|
|
Validation was handling TEXEL_BUFFER descriptorTypes incorrectly.
Removing for now.
|
|
For Windows, after vulkaninfo allocates a console, it tries to resize the
console and change the title text. Failure of either operation was
treated as console icreation failure, which led to vulkaninfo printing
to the console and then closing the console immediately. Now treating
AllocConsole() failure as console creation failure and ignoring resize and
title text change failures. With this change, resize failure will not
stop the app from pausing after printing info to the console.
|
|
|
|
|
|
Verify that required parameters are not NULL and that structures with
sType fields have the correct VkStructureType values. Messages are
logged for the following conditions:
- A pointer is NULL and is not marked as optional in the XML
- An array is NULL and is not marked as optional in the XML, unless
its count is 0
- An array count is 0 and is not marked as optional in the XML
- A structre's sType value does not match the value specified
in the XML
|
|
Generate param checker code to verify that required pointer/array
parameters are not NULL and that structures with sType fields
have the correct VkStructureType value. The checks are generated
from the Vulkan XML API registry based on the optional parameter
tag and sType comments.
|
|
|
|
Handle default case in switch statement for descriptor types.
|
|
|
|
The threading validation layer has been basically
re-written, so updating the vendor name accordingly
|
|
Android queries information about layers and extensions
from the layers via the Enumerate*Properties calls so
need them to function correctly. This patch adds missing
functions.
---------------------------
|
|
Android does not use json files to store layer and
extension information and needs to query it directly
from the layer.
|
|
|
|
|
|
|
|
|
|
VkWriteDescriptorSet may have non-null ptrs that we don't care about.
Add a special case for this struct in safe_struct codegen that will only
check the array ptrs that we care about based on the descriptorType.
Also update safe_struct codegen so that all ptrs in structs are initially
set as NULL, and then only updated if src struct ptr is non-NULL.
Update unique_objects to base "if" guards around ptrs to be based off of
the shadowed safe_struct ptrs for any ptrs below the first level input
params. This is because safe_struct initialization will have already copied
down any ptrs so if there are any additional guards in safe_struct
shadowing, such as for VkWriteDescriptorSet, this allows unique_objects.cpp
to make use of only valid info and not have to replicate special cases.
|
|
This makes sure this file always has tail call optimizations occuring
|
|
Update build instructions to reference new repository names in GitHub
Update all references to the new public GitHub repository names, and
also switches from SSH access to the repositories to HTTPS access.
Update glslang_revision to reference new GitHub repo
|
|
|
|
|
|
|
|
|
|
in SDK
|
|
|
|
|
|
|
|
|
|
Wrapped long lines to make it easier to edit in text based editor.
Also hoping that editing diffs could be smaller since a line is not
a whole paragraph.
|
|
|
|
|
|
Fixes vulkaninfo when only RT is installed and there are no layers
installed.
|
|
|
|
Also fix memory corruption issue with the original std_validation patch.
|
|
Adds a validation layer grouping VK_LAYER_LUNARG_standard_validation, which
is the set of validation layers in a fixed order.
This only adds support for enumerating the meta layer and enabling it explicitly
from the app. Environment variable enablement of this layer is not yet added.
|
|
Mostly formatting and typos.
|
|
|
|
We install the 2013 VC redistributables, but we first read the registry to
determine if they were already installed. That registry read returns an
error if they aren't already present. So, we clear the error after reading
the registry. We also added the 32-bit 2013 VC redistributables to the
64-bit OS install, just to be safe.
|
|
|
|
This replaces a hard-code to C:\windows instead of looking at the
proper windows drive letter <SYSTEMDRIVE and SYSTEMROOT>.
|
|
|
|
Removed vk_ext_debug_report.h (contents moved into vulkan.h)
Renamed debug report message enums
|
|
|
|
Verify that pQueuePriorities is set before using it.
|
|
|
|
|
|
- Eliminates bogus false conflicts between resources in a module, where the resources share a descriptor slot but
no entrypoint refers to both.
- Eliminates false positives from shader vs descriptor set layout validation, where we would previously be upset
about the layout not including a descriptor which was declared in the module but not used by the entrypoint.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
With emphasis on finding all descriptor-based resources referenced in the static call tree of an entrypoint
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|