aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
2017-06-06scripts: Add generator options for extension helperMark Lobodzinski
Change-Id: Ice9f1361c56de3cc342dd40a589580f4565bbc9e
2017-06-05header: Update to 1.0.51 Vulkan versionMark Lobodzinski
- updated include/vulkan/vulkan.h - updated scripts/vk.xml - updated layers json files - updated tests json files - built and included new vulkan.hpp file Change-Id: I4f1d5609c8377047165e2ba14e89cba9877436db
2017-06-02loader: Add emulation for EXT inst extensionsLenny Komow
Change-Id: I481ff8a2ae0ec5a82773fddd2b59c750126adc11
2017-05-31Layers: Implement PV per-API ext dependency checksMark Lobodzinski
As each API is used, PV will now us a code-generated check to verify that all of the required extensions for this particular API call have been enabled via CreateInstance or CreateDevice. Change-Id: I1c11d0b8322edf005b2b197a415c92a82e0cb810
2017-05-31layers: Pass layer data into PV validation functionsMark Lobodzinski
Previously just passed in report data, but need access to more stuff. Change-Id: I2af7b2ae73d3e2ecd3409f32e8f1a42e5e736d8c
2017-05-31Layers: Add code-gen'd calls to val extsMark Lobodzinski
Modified PV code gen to insert and make calls to validate extension dependencies. Change-Id: I90103b16d36fb868b32df796b1dae7741dfcba34
2017-05-31layers: PV code gen for FlagBits enum parametersMike Schuchardt
Extend validate_flags to work in instances where a single Vk*FlagBits enum value is valid instead of a bitmask with multiple values. Change-Id: Ib8d34551923f7ecb2549500dfde674fa1094ac8b
2017-05-31loader: Emulate surface capabilities 2Lenny Komow
Add loader emulation for VK_KHR_get_surface_capabilities2 commands Change-Id: I1de99d1bc94d6ec1191601e75b79c5c32fa81fdc
2017-05-30layers: Add VkObjectType conversionMark Young
Add conversion from VulkanObjectType internal enum to the VkObjectType core enumeration. Change-Id: I17158722faffaf088e07219a5bf596ee02d2338e
2017-05-23loader: Fix extension surface paramsLenny Komow
Change-Id: I310d6d356b5c9377ff8285ee123def989e95b142