aboutsummaryrefslogtreecommitdiff
path: root/scripts/lvl_genvk.py
AgeCommit message (Collapse)Author
2017-11-03layers: Refactored pNext chain walks to templateJohn Zulauf
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
2017-10-30icd: Adding generated mock icdTobin Ehlis
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.
2017-08-16layers: Re-architect parameter validation layerMark Lobodzinski
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
2017-07-24scripts: Add OT generator to main scriptMark Lobodzinski
Change-Id: I9419cdfdc39d33f5cc9f769c7498fde0230b144b
2017-06-06scripts: Add generator options for extension helperMark Lobodzinski
Change-Id: Ice9f1361c56de3cc342dd40a589580f4565bbc9e
2017-04-05scripts: Add object_type header file gen interfaceMark Lobodzinski
Change-Id: I2e4a9be203f13daccc5674d0b8f66729046af46c
2017-03-01vulkan: update to header 1.0.42Mark Young
Updated all necessary files to 1.0.42. This includes the various headers as well as the loader, and the parameter validation, object tracking, and threading layers. Additionally, bump all layer JSON files to 1.0.42. Also, in this change: - Enable loader extension automation so that the loader now generates all extension entry-points automatically during build to reduce likelihood of missing a critical piece on header update. - Enable layer dispatch table extension automation for the same reason. - Fixes from Mark Lobodzinski and Tony Barbour to resolve crash in loader when working with Intel's Windows driver due to GetInstanceProcAddr getting called on inappropriate command names. Change-Id: Ic18d3fac2e145c386c0192031deb5089c91a00d8
2017-02-14header: Update to Vulkan 1.0.40Mark Lobodzinski
fixed: - generators for latex math changes updated: - include/vulkan/vk_platform.h - include/vulkan/vulkan.h - scripts/generator.py - scripts/lvl_genvk.py - scripts/reg.py - scripts/vk.xml - include/vulkan/vulkan.hpp - layers/tests json files - loader SOVERSION Change-Id: Id7d6f9dee73888877f2e7528f5701871f54ece79
2017-01-11scripts: Update copyright notice dates for 2017Mark Lobodzinski
Change-Id: I6adc6a8ac07f2ac11814a6f8cd06b7d5b0c49797
2017-01-11scripts: Add generator options for safestruct filesMark Lobodzinski
Change-Id: Iffd19369976ac15ad54251e15a7f49e061a807e8
2017-01-10scripts: Add struct_size options for source, headerMark Lobodzinski
Added struct processing guts for building the struct_size_helper header and source files. Change-Id: I8172b921b670b47b8fd66499de6d76ddb3ef934d
2017-01-10scripts: Pass parameters to helper file generatorMark Lobodzinski
The helper file generator will be used to output multiple helper files. Added passing of parameter and test call for this feature to the generator options block. Change-Id: I1e417ff50628f395c589282ed6f96f0340758f23
2016-12-28scripts: Update lvl_genvk.py w/new helper generatorMark Lobodzinski
Change-Id: Ib3afef2e275d2f7b4906d0ca95022aeb4fd2e674
2016-12-19header: Update to Vulkan version 1.0.38Mark Lobodzinski
- header: Updated vulkan.h - scripts: Updated generator.py - scripts: Updated vk.xml - scripts: Merged recent genvk.py changes into lvl_genvk.py - layers: Updated json files - loader: Updated SOVERSION to 38 - header: Updated vulkan.hpp Change-Id: Id0f83c248169bd8b1e03a14c90a5f9b1661cfcc7
2016-12-12header: Update to Vulkan version 1.0.37Mark Lobodzinski
- header: Updated vulkan.h - scripts: Updated generator.py - scripts: Updated vk.xml - scripts: Merged recent genvk.py changes into lvl_genvk.py - layers: Updated json files - loader: Updated SOVERSION to 37 - header: Rebuilt and updated vulkan.hpp - layers: Updated thread_checker for new functions - scripts: Fix up vk_helper.py overzealous count detection Change-Id: Ia10f5fc759166a09999f01e68bbcadb30ddf67f7
2016-12-08scripts: Add dispatch table generator to lvl_genvk.pyMark Lobodzinski
Change-Id: I539b8248ef8fb151de702c7d5e1773d149ce5313
2016-11-21build: Move XML codegen scripts into scripts dirMark Lobodzinski
- Update android-generate.bat and android-generate.sh - Updated layer CMakeLists.txt files for new path Change-Id: I1b1c9dbc9e944c90e95542fcfdda1d2e804517f3