aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2021-06-16vulkaninfo: Dont print None in vkconfig outputCharles Giessen
vkconfig prints arrays as it finds them, even if there is only a "None" element in it. This commit prevents this element from being printed, removing confusing results where there is a `count = 1` but contains "None". Change-Id: I1ef8c63458728a9fd3dc531dc9983f309c851034
2021-06-14build: Update to header 1.2.181Mike Schuchardt
- Update known-good - Generate source (no change) Change-Id: Ibfdf958ca32779f7635c324af3ed4146186b27c9
2021-06-11vulkaninfo: Improve formatting of surface capsCharles Giessen
VkSurfaceCapabilities has the width & height way out to the right while the rest of the structure doesn't. This makes it look inconsistent. This PR also changes the layout of the flag and flagbit printers to return earlier if possible. Change-Id: I1b478838b3c95e33354d3daf13040e891454324e
2021-06-07build: Update to header 1.2.180Mike Schuchardt
- Update known-good - Generate source Change-Id: I41d51ecab3257530ad733fe977f92d9c482543e6
2021-05-24build: Update to header 1.2.179Mike Schuchardt
- Update known-good - Generate source Change-Id: Ib8666fe063852297f746dbea1b8b34346000b13d
2021-05-19vulkaninfo: Update License and Refactor AppGpuCharles Giessen
* Simplify AppQueuefamilyProperties * Create and store AppQueueFamilyProperties in AppGpu instead of creating them on the fly * Make all uses of 2 struct's use the original struct where appropriate * This means the printers will use props.limits instead of props2.limits * Remove unused functions * Remove unused variables * Add sparseBinding to enabled features (previously there were none) * make_vulkan_version function introduced Change-Id: I872dd060dbf709b5b39610775fb88718ff8b19a5
2021-05-11icd:Consider DS when setting format bitsTobin Ehlis
When setting device format properties, don't set color attachment- related bits for DS formats and don't set DS attachment bit for color formats. Fixes #445
2021-05-11build: Update to header 1.2.178Mike Schuchardt
- Update known-good - Generate source Change-Id: Iecb34b6221526dc5c6153c736fce894488989066
2021-05-11Update known_good.jsonRichard S. Wright Jr
Updated to the latest MoltenVK tag.
2021-04-29build: Update to header 1.2.177Mike Schuchardt
- Update known-good - Generate source Change-Id: I8f49422f152ad353658cb753f24564b76591d415
2021-04-29scripts: Switch from mkpath to makedirsMike Schuchardt
distutils.dir_util.mkpath will not re-create a directory if it has been removed with shutil.rmtree because it caches the filesystem under the hood. This was causing the clone retry to fail on the second iteration every time. Switch to using os.makedirs for equivalent functionality without the cache.
2021-04-20build: Update to header 1.2.176Mike Schuchardt
- Update known-good - Generate source - Fix scripts/generate_vulkan_wrapper.py - Handle new version macros in vulkan_core.h - Recognize beta/provisional platform guard - Skip extensions without commands Change-Id: Ie1518aaa6fbf6ca996023fbd82f299a48759215e
2021-03-29build: Update to header 1.2.174Mike Schuchardt
- Update known-good - Generate source (no changes) Change-Id: Idb543c5c0b078db219c6cf60dc03f4d46460e808
2021-03-23build: Update known-good files for 1.2.173 headerMike Schuchardt
- Update known-good files - Generate source code Change-Id: I70583ff146c19cd275c6271e4f4f3ce1b93b4d0d
2021-03-10build: Update known-good files for 1.2.172 headerMike Schuchardt
Changes: - Update `known_good.json` Change-Id: I080c0ff260ed5c43ca0228b7d88bf4232628360c
2021-03-02build: Update known-good files for 1.2.171 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: Id1d05f65733d366d729b7f9016a3613e7a795ec9
2021-03-02scripts: Update copyright in `common_codegen.py`Shannon McPherson
Change-Id: I485d3f9a893cb9f869d11fb487f986c42db9b88d
2021-02-16build: Update known-good files for 1.2.170 headerMike Schuchardt
- Update `known_good.json` - Generate new source files
2021-02-09build: Update known-good files for 1.2.169 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I5eaeea833fb6f3921c64308edeee6e33440eebea
2021-01-13build: Update known-good files for 1.2.166 headerShannon McPherson
Changes: - Updated `known_good.json` Change-Id: Id323bc01fcd97672ef31c73021e683d56a5f2cd5
2020-12-28build: Update known-good files for 1.2.165 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I83402ae9bf0495e1105d124feedfa2ced92a9647
2020-11-24build: Update known-good files for 1.2.162 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files - Updated `generate_vulkan_wrapper.py` and generated new `vulkan_wrapper.cpp` and `vulkan_wrapper.h` Change-Id: Idbce5923b21947d2121ed66159c7bd96ae7d0c8a
2020-11-20scripts: Remove assert for nested array typesMike Schuchardt
Multi-dimensional are already in the specification and don't cause any issues for vulkaninfo
2020-11-18build: Update known-good files for 1.2.161 headerShannon McPherson
Changes: - Updated `known_good.json` Change-Id: I7cd06612c06213138173fb2b26f558313aa4b975
2020-11-11build: Update known-good files for 1.2.160 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I6a07892e429a0b81c82ac26bed465caa04d7fb01
2020-11-04build: Update known-good files for 1.2.159 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I944e4a38d50935b9078ea9c11cbd467c5e621f53
2020-11-02mockicd: Remove VK_KHR_portability_subsetNathaniel Cesario
Don't report VK_KHR_portability_subset as being supported. Change-Id: I84fa925cee23d3a28ca2726972cb9820c03c619c
2020-10-29build: Update known-good files for 1.2.158 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I2f782250bff8bedda4991c45278adf1bf2ae0261
2020-10-15build: Update known-good files for 1.2.157 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I14bda6d91e80d48602697f64fdc8bdf4651580e9
2020-10-06build: Update known-good files for 1.2.156 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I0186805bc6848e1f7912ede85ea8045be82beaec
2020-09-29build: Fix linux/windows build in single directoryNathaniel Cesario
Allows a single worktree to be used by multiple platforms for builds. Change-Id: I5078eaee6f62757ebb431fdc22405cab77d2356e
2020-09-29Update known_good.json for MoltenVKrichard-lunarg
2020-09-22build: Update known-good files for 1.2.154 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I80afb66d2c1153fe06a1bb6098d0c33c27d40d25
2020-09-10build: Update known-good files for 1.2.153 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I8899510f2c954d91a39241c88ae8371f4f973384
2020-09-07build: Update known-good files for 1.2.152 headerShannon McPherson
Changes: - Updated `known_good.json` Change-Id: Ia5b8ab0d3d0e0d822fac1aa34d600d8ef0e26699
2020-08-24Bump mock ICD surface max extents.Jamie Madill
This allows for rotated width/height and also other non-standard surface dimensions. Fixes #436 Change-Id: I3d800c075f11a8d439e329c359ea73a7c33c1073
2020-08-17build: Update known-good files for 1.2.151 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I499ac301dc89aadb9881700a0b6ce83cb4b82ec4
2020-08-07build: Update MoltenVK version in known-good.jsonJeremy Kniager
Increased MoltenVK version in known-good.json from: v.1.0.43 -> v1.0.44 Change-Id: I910ee0a939623b87ec9df23227014192f088af32
2020-07-20build: Update known-good files for 1.2.148 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I5a2769c0f2634e460260c281eebb4a947c2e50d9
2020-07-15scripts: fix update_deps retry cloneBob Ellison
There was a subtle bug in the original change; "git fetch" would retry correctly, but "git clone" failed because the destination directory was missing (after having been removed, to ensure a clean clone operation). The test case that was used (hundreds of times) happened to provoke an error on the "git fetch" path; I was unaware that the "git clone" failure path had never been exercised.
2020-07-14build: Update known-good files for 1.2.147 headerShannon McPherson
Changes: - Updated `known_good.json` - Generated new source files Change-Id: I51ec7fd4b512ba9fc5955ef4eb229838bf5c3951
2020-07-13scripts: udpate_deps retry on clone or fetch failureBob Ellison
Duplicate change from commit b636386a7824eb4e6a0d99962e1491ac68d3a295 on KhronosGroup/Vulkan-ValidationLayers, to keep update_deps.py in sync across all repos. Original commit message is: We see spurious failures to connect to github when trying to run update_deps.py (up to 7% of runs, depending on the machine). This is an annoyance when running by hand, but a headache and a serious resource waste when running in automation (as a single broken "git clone" or "git fetch" can cause the whole run to fail). These changes allow update_deps.py to automatically retry "git fetch" and "git clone" operations on failure. These changes will be duplicated in follow-on PRs to the other repositories that include "update_deps.py", to keep them all in sync. These are KhronosGroup/Vulkan-Tools, KhronosGroup/Vulkan-Loader, LunarG/VulkanSamples, and LunarG/VulkanTools. I'm also including a "technical debt" update here, because VulkanTools/scripts/update_deps.py had diverged from the other "update_deps.py" versions, to add a way to avoid building a dependency if that dependency is not supported on the current build platform. This should be harmless to the other repositories (though potentially useful in the future). The original commit was aaabc9df034f1fdf9a976a6293d0983b079143ee with description: In update deps, this will check that a dependency is actually supported on the platform being built. This is needed because the loader is a dependency on all platforms other than Windows.
2020-07-06build: Update known-good files for 1.2.146 headerShannon McPherson
Changes: - Updated `known_good.json` - Added directfb to platform dictionary in `common_codegen.py` - Generated new source files Change-Id: I8dcc87d22036b2df068da0c5220a5e1158bbe07c
2020-06-29build: Update MoltenVK version in known-good.jsonJeremy Kniager
Updated MoltenVK version in known-good.json from v1.0.41 to v.1.0.43 Change-Id: Iff1af627abcc544c58577a200312ea2ca819e557
2020-06-24build: Update known-good files for 1.2.145 headerShannon McPherson
Changes: - Updated known-good files - Propogate genvk changes to `lvl_genvky.py` - Generated new source files Change-Id: I0391d9804c229e077e28fc3af8fe1da1dd806a2e
2020-06-22scripts: Use named params for generator optionsShannon McPherson
When calling in the vulkan header python generator the options have changed in 1.2.142 which causes the options passed by the tools to be off by one. This ends up setting the emitExtensions to the value of the sortProcedure and eventually causes the script to fail. This CL updates the tools to used named parameters for the generator so that the addition of the genpath does not throw off the parameter positioning. Change-Id: I580d5f07ec3ff9e523dbf738561c2e53cfd42796
2020-06-22vulkaninfo: fix ordering issues in generated codeCharles Giessen
Previously the codegen would reorder structs as it pleased This commit fixed several instances of bad ordering or lack thereof. Change-Id: Ieda89c64f7400b807407c2fd26660fea10e2bb59
2020-06-05icd: Cleanup supported VK API versionTobin Ehlis
Use a single constant, kSupportedVulkanAPIVersion, everwhere that supported API version is referenced. Current value is VK_API_VERSION_1_1.
2020-06-04icd:Correctly Support Vulkan 1.1Tobin Ehlis
Mock ICD supports Vulkan 1.1 but was only returning 1.0. Fixing this.
2020-05-26scripts: Add default arg for kvt_genvk directoryCharles Giessen
Change-Id: I5b932dc1743e78830467dac4783ac3731accb9e0