| Age | Commit message (Collapse) | Author |
|
Remove all usages of constexpr to restore compatibility with Visual Studio
2013. Also make a handful of other minor edits where the VS2013
compiler was reporting errors.
Change-Id: I3c426bea460a4a902ab306b01deb1d76d60f5fa2
|
|
|
|
- No more SPIRV-Tools revision file. Instead, the
revision-parsing script just runs "git rev-parse HEAD"
in the spirv-tools repository to extract the commit ID.
- Invoke the revision-parsing script from the .sh Android scripts,
in addition to the .bat scripts.
|
|
|
|
- update vulkan.h
- update Lin/Win json file versions
- update vk.xml
- update vuid_mapping.py
- update vk_validation_error_messages.h
- update vk_validation_error_database.txt
- update vulkan.hpp
- fixed error in vk.xml, unofficially
Change-Id: Ia719bc069cb776c5b174f41667d591b43aaaf4d7
|
|
No longer need to check spirv-tools or spirv-headers as they are now
part of glslang.
Change-Id: Ib3594d064d33a94d6443426e02a617c96b243893
|
|
Bump hard-coded mapped memory allocation size for WHOLE_SIZE from 4k to
64k. One validation test (InvalidMemoryMapping) was mapping 64k of
memory that was leading to segF as the 4k buffer was overwritten when
shadowed.
|
|
Image/buffer memory requirement memoryTypeBits are still just hard-
coded in mock icd, but expand to support more bits for more simulated
memory types. This helps the mock work in conjunction with the devsim
layer so that if a simulated device has more than 5 memory types, the
mock icd won't cause an error.
|
|
'Unknown' type was at the end of a couple of the lists, causing
incorrect IDs to be emitted.
Change-Id: I55cae6ecaff47977dca78e2f73468980f9450bda
|
|
In some cases, the generator would return the special error for
validation failed for functions that return a VkBool32. Fix this, and
also some cases of initializing a VkBool32 with VkResult.
Change-Id: Icc071e647f293848d62a922d492ed41dfc5a4be1
|
|
This is an easy compatiblity change, which uses a workaround to import
a version of 'open' that can support unicode across Python versions.
Affects the object tracker and parameter validation generators.
Change-Id: Ie958dc64168db9e06b36321b4b6ad2336f995ea3
|
|
Currently the scripts would abort with an error message, but not an OS
error code. Adding an error code allows build systems to correctly
detect the script failure as a failed build step.
Change-Id: I142a6215a3c02e6a880bfce0c3aba2c3c8fc4ff1
|
|
Buffer min offset alignments were set to the max value. Reduce them to
16 to simplify testing of offsets that are a multiple of the min
alignment.
|
|
|
|
The while loops for the walking the pNext chains were implemented by
repeated code. These were refactored into a common template. Added
autogenerated 'traits' objects for the pNext linked structs.
Delete cut and paste duplicate pNext chain walk.
Change-Id: I46457bb5432219c74f9356e5230c70e4a9ef16df
|
|
Lock to protect threaded access to queue_map and mapped_memory_map.
|
|
Commented out a couple of debug output statements.
Killed a bunch of comments and code that were carried over from
original script but that are no longer relevant.
|
|
|
|
Modifying hard-coded minImageTransferGranularity for the queue from
{0,0,0}, which has special restrictions, to {1,1,1} which is more
lenient and removes some unexpected errors, allowing six more tests to
pass.
|
|
If an image is linear, return max mips, layers, and sample count of 1.
|
|
Mock ICD doesn't need to implement validation cache extension. Add
simple list of excluded exceptions so we can kill any cases that we
don't want in mock ICD. Initially only excludes validation cache.
|
|
Initial check-in for mock icd which is being built to allow validation
testing without the need for an actual Vulkan device.
ICD is currently building and passing 324/332 tests. It creates ptr
handles for dispatchable objects and unique id handles for
non-dispatchable objects. It currently has some hard-coded values for
various Get* device-query functions in order to allow forward progress.
The long-term intention is to allow the device configuration to be set
by the test itself.
See the ICD README.md file for more info.
|
|
- update vulkan.h
- update vk.xml
- update Win/Lin json file versions
- update vk_validation_error_messages.h
- update vk_validation_error_database.txt
- update vulkan.hpp
Change-Id: Ib20f1955df85a31069c9ffc69c3260973b2c6633
|
|
- updated vulkan.h
- updated vk.xml
- updated Win/Lin json files
- updated vk_validation_error_messages.h
- updated vk_validation_error_database.txt
- updated vulkan.hpp
- updated vuid_mapping.py
- updated cube.cpp for vulkan-hpp changes
Change-Id: I79971c3b54feb1fdad5ea2257e4b1b4c6f9e3c3b
|
|
Change-Id: I3f55bd5ee0296fc962bb2ee624391e793f8f9fe4
|
|
Unknown structures will return a 0 size instead of failing, in order for
them to be ignored properly.
|
|
Change-Id: I12494a129ef8be68170dddf4efe6762f4051b116
|
|
- updated vulkan.h
- updated vk.xml
- updated Win/Lin .json files
- updated vuid_mapping.py
- updated vk_validation_error_database.txt
- updated vk_validation _error_messages.h
- updated vulkan.hpp
Change-Id: I82eb3db55d301af3a11ffbb12411cc2df7c31807
|
|
Change-Id: I0a76a6d9766041a9f70053e7385517c0b1d7022c
|
|
Forward and backward double-quotes are now changed to standard
double-quote chars, and escaped as they are output in the DB.
Change-Id: Icbdc23262c8da0dd2441b028997a3f30d69d6834
|
|
Script was intolerant of unicode characters that now show up in the
spec.
Change-Id: I125f12139eec395ffc8ae61e92de1428fa2ac0c6
|
|
|
|
Change-Id: I4b1f0289dace648153b6efdbfea0d83d37b28e60
|
|
This caused segfaults on Intel Skylake, NexusPlayer, and
Samsung Galaxy S8 (Mali).
This reverts commit 367d276ffe5c0748ff9d8e2b3551d4a00c9fc3c2.
|
|
Some VkGraphicsPipelineCreateInfo pointers must be ignored under some
conditions, but were not in the layers.
Add relevant tests.
Fix tests found broken (using depth or color without attachment in
subpass)
Change-Id: I3e2a3f61a52c72ce3a11483ff8b031189f4c61c9
|
|
This script compares tracked revisions against those under external
and deletes them if they differ.
|
|
Change-Id: I118be4455c68800e27fd9b8293699037449f1413
|
|
Allocate and copy the entire shader program instead of just the first 4
bytes.
Change-Id: I24dd136d59952f9e8b690bf4fe1702106482a3be
|
|
Modify parameter validation codegen to handle multiple require blocks in
an extension, each with additional extension dependencies.
Change-Id: I336569ca19808f3dca342eb65fd076599c4fb329
|
|
Parameter_validation's hammer for excluding some pdev-ish checks was
too large. This adds extension dependency checks for about 50 more
APIs.
Change-Id: Icb44cdb36c8c0384781e04e207ceb18d9f67ff0c
|
|
- updated vulkan.h
- updated vk.xml
- updated Win/Lin json files
- rebuilt and updated vulkan.hpp
- updated vk_validation_error_database.txt
- updated vk_validation_error_messages.h
- added new code-generated VUIDs (16) to error database
- modified object tracker for VUID corner-case
- updated vulkaninfo.c for STYPE name change
Change-Id: I0870e8bc4e84867e05bd466c13c7428b9b7365ac
|
|
|
|
Simplifies steps necessary for new custom functions.
Change-Id: Ib2d80346ebc42011dce74fdd8cee62adb4b3432c
|
|
Changed the codegen to autogenerate validation functions for any new
APIs without user intervention. Manual updates are only necessary to
extend PV functionality.
- parameter_validation.h is now checked into the layers directory
- parameter_validation.cpp is now generated
- parameter_validation_utils.cpp is new and contains any custom
(non-generated) or housekeeping functions.
- parameter_validation_utils.h is deprecated
- updated database for new VUID coverage
Change-Id: Ib9261894386145573ba9e8906ba4ad4e9fecbdfd
|
|
- updated vulkan.h
- updated vk.xml
- updated cgenerator.py
- updated Win/Lin json files
- updated vulkan.hpp
- updated vk_validation_error_messages.h
- updated vk_validation_error_database.h
Change-Id: I8c525b6a2bd69914440c6d7984a67446b27e6c23
|
|
Ignore the dstSet field of VkWriteDescriptorSet as indicated
by the spec
Change-Id: I28ca6ea3059f5528bdf369954e1621ef670e0d54
|
|
Layers used the wrong VUID for the checks for negative viewport
height if the extensions were not enabled.
Fixed existing test, added a new test, and updated the database,
and removed special case from validation_stats script.
Change-Id: Ia165e6245990a4fabb3745102b345a7b4f1b0202
|
|
- updated vulkan.h
- updated vk.xml
- updated cgenerator.py
- updated Win/Lin json files
- updated and fixed vk_validation_error_database.h
- updated vk_validation_error_messages.h
- updated vulkan.hpp
Change-Id: Idebc490660833daac43d234db44131e9bf2b910b
|
|
Including these enums hosed up the private builds.
Change-Id: I74fcb628171dfd70e7bce03e7ede35d4d22a75b5
|
|
Change-Id: I106fe73c2199d1b4d8aa090bd22bb79884637d58
|