aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2017-08-08layers: Fix CmdPushDescriptorSet object trackerTony Barbour
Ignore the dstSet field of VkWriteDescriptorSet as indicated by the spec Change-Id: I28ca6ea3059f5528bdf369954e1621ef670e0d54
2017-08-02layers: Fix incorrect VUID for negative viewport htMark Lobodzinski
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
2017-08-01header: Update to version 1.0.57 of the vulkan hdrMark Lobodzinski
- 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
2017-07-27scripts: Exclude disable extension enumsMark Lobodzinski
Including these enums hosed up the private builds. Change-Id: I74fcb628171dfd70e7bce03e7ede35d4d22a75b5
2017-07-26scripts: Generate PV calls to ranged_enum_array fcnMark Lobodzinski
Change-Id: I106fe73c2199d1b4d8aa090bd22bb79884637d58
2017-07-26scripts: Generate calls to new enum PV functionMark Lobodzinski
Change-Id: I9692f1b2101d6cc1eef3bf55582dbf7980c4e8d2
2017-07-26scripts: Generate param_validation valid enum listsMark Lobodzinski
Change-Id: I0dd6bf95bf54baa9a71f41a482bc52527944aea8
2017-07-25scripts: Add PDevFeature index print helperMark Lobodzinski
In the Enum string helper header, tack on a routine to convert an index into a VkPhysicalDeviceFeatures structure into its corresponding feature string. Change-Id: I8fbfb6fcbfa63361a851ffc93ffd832696050d51
2017-07-25scripts: Switch codegen to use structextendsMike Schuchardt
Replace all usages of the deprecated validextensionstructs member attribute with the registry.validextensionstructs dict. Internally the registry builds this extension dictionary using the new structextends type attribute. Change-Id: I072ff707bfdfa1f576266291e4196837da526287
2017-07-24header: Update to version 1.0.56 of the Vulkan hdrMark Lobodzinski
- updated vulkan.h - updated vk.xml - updated Win/Lin .json files - updated vk_validation_error_database.h - updated vk_validation_error_messages.h - updated vulkan.hpp Change-Id: Ibf64c8a1760743b3118794b0ef5f6d34b108bbbc
2017-07-24build: Switch to generated object_tracker.cppMark Lobodzinski
- updated desktop/android build - removed layers/object_tracker.cpp - updated doc validator script for new location - updated error database for 124 new checks - added gen'd VU to GetSwapchainImages Change-Id: If1b218dfcf62b203a8df96a0f12cbeb8bdcaf826
2017-07-24scripts: Create object_tracker generatorMark Lobodzinski
Change-Id: Ia97d2141a54263a9f034958f416661146dd953e2
2017-07-24scripts: Add OT generator to main scriptMark Lobodzinski
Change-Id: I9419cdfdc39d33f5cc9f769c7498fde0230b144b
2017-07-24scripts: Update vuid_mapping scriptMark Lobodzinski
Change-Id: I704df0840801734ca35d5137a9d79d5a202b4fb9
2017-07-18layers: Reorganize ObjectTracker for future codegenMark Lobodzinski
Moved to-be-generated source to object_tracker.cpp, manually- written and helper functions to object_tracker_utils.cpp (new file), and reworked header. Updated doc validator to search new file. Change-Id: I0fd3bcc4f6d123db07c7f8e2633e6fe16833e231
2017-07-17header: Update to version 1.0.55 of the Vulkan hdrMark Lobodzinski
- updated vulkan.h - updated generator.py - updated reg.py - updated vk.xml - updated Win/Lin json files - fixed and updated vulkan.hpp - updated validation error messages and database - applied validextensionstruct fixes from 1.0.54 LVL vk.xml file - fixed parameter_validation DebugMarker prototypes - fixed unique_objects DebugMarker prototypes - fixed NV_FILL_RECTANGLE in error DB - updated error database with new covered VUs Change-Id: I4eec816a6dc9756105a357beab6af4abb303994d
2017-07-13layers: Update PV codegen for Windows warningMike Schuchardt
Code gen declarations of allowed_structs in nested scopes could cause warnings in Windows. Modified codegen to append the type name to allowed_structs (eg allowed_structs_VkGraphicsPipelineCreateInfo) to avoid name collisions. Change-Id: I40bd57ff34dcd1df01d3606c79dacbe06b00f464
2017-07-13header: Update to 1.0.54 Vulkan releaseMark Young
Update the headers and xml file with the latest spec changes for Vulkan 1.0.54. Also, make corresponding loader and layer changes to support the new extensions. Change-Id: I11273c5e3e828743f904e4f0b4b2f2c3a7804df0
2017-07-04layers: GH1922, Fix out-of-tree buildsMark Lobodzinski
Change-Id: I82bd4d1285a7ec69c7b8209937235f538375773a
2017-07-03layers: Add VUIDS to allocator checksMark Lobodzinski
Change-Id: If4c37b631de1564dc56bcb1aa69e356538618acb
2017-07-03layers: Add VUs to more PV struct-type_array checksMark Lobodzinski
Change-Id: I9aa1ea41550d24113117d40617689688b96227db
2017-07-03layers: Output VUIDS for PV required_pointer checksMark Lobodzinski
Change-Id: I5b1a9901fdd75b35455fadd749b6ccb31236d23a
2017-07-03layers: Add missing parms to vuid_mapping scriptMark Lobodzinski
Change-Id: I81e0366e7e2cb2054d8b0f706863e932ef4b8318
2017-07-03layers: Wire up zerobitmask PV VUIDsMark Lobodzinski
Change-Id: Ib9ca0c6b57c4c8faceb9e502c6008624efe8ad23
2017-07-03layers: Wire up ranged-enum PV VUIDsMark Lobodzinski
Change-Id: I334357b239a6f2ad28fad226306897606814095a
2017-07-03layers: Wire in VUIDS for count/array implicit checksMark Lobodzinski
Change-Id: I7957ffe9696f86d1a4cc402b612884e6bd2aa590
2017-07-03scripts: Update vuid_mapping for missing variablesMark Lobodzinski
Change-Id: I762509eb848351db7cd5fffbddbac94f8f8aaf0b
2017-07-03header: Update to version 1.0.53 of the vulkan hdrMark Lobodzinski
- updated vulkan.h - updated reg.py - updated vk.xml - updated vk_validation_error_database.txt - updated vk_validation_error_messages.h - updated vuid_mapping.py - updated vulkan.hpp - fixed error database vuid parser issue - updated error DB with new VUIDS Change-Id: I4744f4278981cf808b1b3c9fcf9cf6f5793f1338
2017-06-28layers: Add VUIDs for some -parameter implicit checksMark Lobodzinski
Modified generator script and updated the VUID database. Change-Id: I78da826981521170f1fa620ca0b91be0d4624cc7
2017-06-28scripts: Add missing funcs/structs to mapping tableMark Lobodzinski
Change-Id: I124e31e436ec193a6bf55348654c6a99e6daeadc
2017-06-28layers: Plumb in PV implicit requiredbits vuidsMark Lobodzinski
Change-Id: I6a9296d7f7bd73bf90855b32c522ab9d2b8bb04a
2017-06-28scripts: Add missing variable names to vuid_mappingMark Lobodzinski
Change-Id: Ib6fb0e6d9bb7d2a75bb0bd751a2ec75a161569ea
2017-06-28layers: Add VUID parameter to pNext validationMark Lobodzinski
In parameter_validation, plumbed VUID value through to validation routine, added VUIDs for manual PV functions, updated generator to compute correct VUID. Change-Id: Ida15c874ba63826902fe93869cecac87415e0259
2017-06-28scripts: Update vuid_mapping for missing structsMark Lobodzinski
Change-Id: I7f3850738de4ac7bf5dc0bc58285267c3e6044ae
2017-06-27scripts: Updated validation_stats error outputMark Lobodzinski
Change-Id: I41f592c8fa7a9180d5bd07446d965fa9eb287558
2017-06-27layers: Add sType VUIDs to Parameter ValidationMark Lobodzinski
- Updated validation check to accept VUID - Modified PV codegen to calculate VUIDs for sType checks - Modified PV codegen to verify VUIDs are valid enums before using - Updated error database for 65 new VUIDs covered Change-Id: Ia964822d5a12db0da9c8b425e0ccb72d1bd550a8
2017-06-27scripts: Add parameter_validation.h to doc validatorMark Lobodzinski
As the python script doesn't know where the generated source ends up, added a search of the build, dbuild, and release layers dirs. This generated file contains LOTS of VUIDs. Change-Id: I767ae2c3af11a0686ee629edb9964b294b5f7e08
2017-06-27scripts: Remove noisy print from vuid_mapping.pyMark Lobodzinski
This script is now used in all builds and was bogging things down. Change-Id: Ifd8c7d4c5328ce093e1dd9a111536936e1320ca0
2017-06-27scripts: Remove unnecessary library from vuid scriptMark Lobodzinski
BeautifulSoup4 caused build farm issues. Seems that this lib is not necessary. Change-Id: I2463fbc1bc8f8f7ceec86bfbc823f21b5bb64c37
2017-06-27scripts: Update vuid_mapping.py with new APIsMark Lobodzinski
Change-Id: I67ae851149973455f5a2f7c156f5f2d87f0dd51e
2017-06-23scripts: Move layer scripts into scripts directoryMark Lobodzinski
Simplifies sharing code among python modules, keeps everything together. - Moved python scripts out of layers dir into scripts dir - Updated relative paths for input/output files in layers dir - Updated doc validation tests to use correct paths Change-Id: I57e6ad6f551d4fb652583315fe3dccb23b187db1
2017-06-22loader: Modify VK_EXT_debug_marker scriptsMark Young
There's a discussion of whether or not to make the pointers in VK_EXT_debug_marker const. If that happens, the current loader would break. Fix the loader so that it would work with constant pointers. Change-Id: I105c22d9e6228a8ab68b1bca69514ec227f988ea
2017-06-16scripts:Include string.h in ext helperTobin Ehlis
vk_extension_helper.h uses strcmp so add include of string.h to make sure this dependency is correctly met.
2017-06-12scripts:Add includes to extension helperTobin Ehlis
Generated extension helper has dependencies on vulkan.h and utility (for std::pair) that weren't declared.
2017-06-09layers: Unique objects GPA handling updatesMark Lobodzinski
Change-Id: Id14c4b5ecb96eed9091ee13aceeb1701adb1f511
2017-06-09scripts:Add header protection to dispatch helperTobin Ehlis
2017-06-09layers: Make PV GPA handling more consistentMark Lobodzinski
Change-Id: I28d4642ca924928b9a76d6ddeb3a4e9ef106710b
2017-06-09layers: Simplify threadchecker GPA handlingMark Lobodzinski
Change-Id: I11cdc2f6524926714d22abd08fba0a670a3a4a97
2017-06-06layers: Unify extension enable trackingMark Lobodzinski
Switch parameter validation code-generated extension dependency checks to use the existing data in vk_extension_helper.h. Change-Id: I6e3c83f68430c1d3de915e05a84944782b4a55a2
2017-06-06scripts: Add codegen for vk_extension_helper.hMark Lobodzinski
This file replaces device_extensions.h and will help to unify extension enable handling across the validation layers. Change-Id: I00eb187423e5d912bae64c0e026f34496be185de