aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-01-24vulkaninfo: remove duplicate flags/bitmasksCharles Giessen
Tooling info added flags for different purposes, however they let the debug utils, debug report and debug marker extensions use the same bitpos values for the same flags. The autogen didn't consider this possibly, and would output the flags multiple times. Changes to be committed: modified: scripts/vulkaninfo_generator.py modified: vulkaninfo/generated/vulkaninfo.hpp Change-Id: I7c7a648d9051f8ce2876083dfb0d2ddc2eb7ca95
2020-01-16build: Update glslang commit ID in known_good.jsonJeremy Kniager
Update glslang commit ID from: `ebf634bcaa3e46ca8a912ed05b87281c731b2391` to `4fc7a33910fb8e40b970d160e1b38ab3f67fe0f3` Change-Id: I1f73173a80a29e4c0e852eb0ad56cd52d1deae1e
2020-01-16vulkaninfo: Support VK_EXT_tooling_infoCharles Giessen
Added support for the VK_EXT_tooling_info. Files modified: modified: scripts/vulkaninfo_generator.py modified: vulkaninfo/generated/vulkaninfo.hpp modified: vulkaninfo/vulkaninfo.cpp modified: vulkaninfo/vulkaninfo.h Change-Id: I9fc4e239b37fdff9ecdba4bf947a0b5d57d06745
2020-01-15vulkaninfo: handle previous driver versionsCharles Giessen
Previously vulkaninfo assumed it would be run on a device with a matching version. Now the autogeneration detects the vulkan version and only reports extensions and versions supported by the device. It will also output the correct name according to the version. Much of the autogen script was modified. Vendor abbreviations were pulled into the autogen, dumping enums now adds the width so it is aligned, using the built in order of types to eliminate needing forward definitions, and dead code removal. Files modified: scripts/vulkaninfo_generator.py vulkaninfo/generated/vulkaninfo.hpp vulkaninfo/vulkaninfo.cpp Change-Id: Id05d909ead1950f1b80f6e44b6c163b3c2fed09a
2020-01-15build: Update known good for 1.2.131 Vulkan Header and LoaderCharles Giessen
Reverts gitlab specific changes to known good back to their github counterparts. Updates the tagged commits for the respective repos to v1.2.131. Files Modified: -scripts/known_good.json -vulkaninfo/generated/vulkaninfo.hpp -icd/generated/mock_icd.cpp -icd/generated/mock_icd.h -icd/generated/vk_typemap_helper.h Change-Id: I870980a9676797231678c7986fdb09c354fc7b77
2020-01-15scripts: Tweak extension detectionMike Schuchardt
Use tag name instead of feature name Change-Id: I4b14b7eb30fe53920a630f8b21a816fbf57c4488
2019-12-13build: Update glslang version in known_good.jsonJeremy Kniager
Change-Id: I5b4995f62c61c8f7a1492df6c2d20c8bf9887079
2019-12-11build: Update to verson 1.1.130 of the Vulkan HeadersMark Lobodzinski
- update desktop and Android known-good json files - regenerated prebuilt sources Change-Id: Id2bc14068a66714709f7c503f7866738d90f54d8
2019-12-11vulkaninfo: reduced spurious warnings for msvcCharles Giessen
This commit removes several spurious wanings msvc would display, like implicit conversions for VkBool32 to bool and several signed/unsigned comparisons. Change-Id: Id485c044575105ec52fd49f9f0c5881674841a8e
2019-11-20build: Update known good for 1.1.128 Vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `build-android/vulkan-headers_revision_android` - `icd/generated/mock_icd.cpp` - `icd/generated/mock_icd.h` - `icd/generated/vk_typemap_helper.h` - `scripts/known_good.json` - `vulkaninfo/generated/vulkaninfo.hpp` Change-Id: I03c9daed1137f5ee2ac0a553970de55ad592dc69
2019-11-19vulkaninfo: check that extensions aren't disabledCharles Giessen
Previous versions of vulkainfo's autogen code didn't check if enums and bitmasks from extensions were disabled, possibly letting them leak into the generated code. This commit checks and skips any fields which aren't supported. File changed: scripts/vulkaninfo_generator.py Change-Id: I0e6fd9872d9377a17797cfcf6c2fbcee649e3657
2019-11-06build: Update known good for 1.1.127 Vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `icd/generated/mock_icd.cpp` - `icd/generated/mock_icd.h` - `icd/generated/vk_typemap_helper.h` - `vulkaninfo/generated/vulkaninfo.hpp` Change-Id: Iac0b0d48ee0efc5d8e2d0db0a17b71bcb5e69388
2019-11-06build: Update MoltenVK version to v1.0.38Jeremy Kniager
Change-Id: Idca07170a7ff2f7a6cf163ef9ab814cffc9ae5ea
2019-10-28build: Update known-good commits for SDK 126Shannon McPherson
Change-Id: I261460fc7612a828cd4d9848a9bcf43c2f2dba41
2019-10-25build: Update known good for 1.1.126 Vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `build-android/vulkan-headers_revision_android` - `icd/generated/mock_icd.cpp` - `icd/generated/mock_icd.cpp` - `scripts/known_good.json` Change-Id: I1ef8b689d76c76822b2dab8ef7fd138bb46f7314
2019-10-15build: Update known good for 1.1.124 Vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `build-android/vulkan-headers_revision_android` - `icd/generated/mock_icd.cpp` - `icd/generated/mock_icd.h` - `icd/generated/vk_typemap_helper.h` - `scripts/known_good.json` - `vulkaninfo/generated/vulkaninfo.hpp` Change-Id: Ib6c35389471d8cbdaa60608f76e563ad50271a53
2019-10-15vulkaninfo: Present Surfaces now wont show duplicatesCharles Giessen
If a machine has multiple surface types that work with the same gpu and have the same properties, vulkainfo will now list them in a short array instead of duplicating the entire surfaces information. To do this required being able to compare vulkan objects, necesitating the autogeneration of comparators for vulkan structs. This patch also refactors some of the device creation code to better reflect the actual data dependencies of the various vulkan objects. files modified - vulkaninfo/vulkaninfo.cpp - vulkaninfo/vulkaninfo.h - scripts/vulkaninfo_generator.py - vulkaninfo/generated/vulkaninfo.hpp Change-Id: Ifda51eacc3883982a6e2f7f60439827eb355c204
2019-10-07vulkaninfo: fix extra newlinesCharles Giessen
A slight oversight in the output meant there were extra newlines in pNext chain traversal. This makes sure only one newline is printer per item in the chain. files modified: - vulkaninfo/generated/vulkaninfo.hpp - scripts/vulkaninfo_generator.py Change-Id: I3b3cac55c3e90d0b3f59e70fab9c4f56473c6dd6
2019-10-04vulkaninfo: Major RefactorCharles Giessen
Rewrote vulkan info to use C++ and include autogen capabilities Properties and Features are now populated based on the xml spec Improved readability and robustness by seperating vulkan info gathering, formatting, and printing into seperate files Files Added: - scripts/generate_vulkaninfo.py - vulkaninfo/vulkaninfo.h - vulkaninfo/vulkaninfo.cpp - vulkaninfo/outputprinter.h - vulkaninfo/generated/vulkaninfo.hpp - vulkaninfo/generated/.clang-format Files Modified: - scripts/kvt_genvk.py - vulkaninfo/CMakeLists.txt - vulkaninfo/macOS/vulkaninfo.cmake Files Removed: - vulkaninfo/vulkaninfo.c Change-Id: I8042a6a7949595b75f03d1f3ba48e221d2cc0e8a
2019-09-19build: Update MoltenVK version in known_good.jsonJeremy Kniager
Updated MoltenVK version from: v1.0.36 -> v1.0.37
2019-09-17build: Update known good for 1.1.123 vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `build-android/vulkan-headers_revision_android` - `icd/generated/mock_icd.cpp` - `icd/generated/mock_icd.h` - `icd/generated/vk_typemap_helper.h` - `scripts/known_good.json` Change-Id: Ic634680499c375fd29ee3d0816fee33aafa3d44f
2019-09-12icd: Fix power operator in VkPhysicalDeviceLimitsMike Schuchardt
Two bugs here: - ^ (xor) was being used as a power operator - maxPerStageResources and maxDescriptorSet* limits were mistaking footnote notation in the spec for power notation
2019-09-05build: Update glslang version in known-good.jsonJeremy Kniager
Change-Id: If9b5814aa0b2f03ae71f23f2fbb1d152995a681b
2019-09-04build: Fix known-good MoltenVK buildingJeremy Kniager
MoltenVK seems to have trouble building on the current version of Vulkan-Headers. Since Vulkan-Headers doesn't take very long to build and changes often, this fix removes the reuse of the Vulkan-Headers repo, whose version is provided by Vulkan-Tools known-good.json, in the MoltenVK build. It instead uses the version of Vulkan-Headers provided by the MoltenVK known-good when building MoltenVK. **Note:** Vulkan-Tools and other required repos are still built with the version of Vulkan-Headers provided by Vulkan-Tools known-good.json. Change-Id: I1b11122cf0c6ba488acd53a35e4755f00e48376c
2019-08-27build: Update known good for 1.1.121 vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `build-android/vulkan-headers_revision_android` - `icd/generated/mock_icd.cpp` - `icd/generated/mock_icd.h` - `icd/generated/vk_typemap_helper.h` - `scripts/known_good.json` Change-Id: Id5022fa1d82ae090cd5d50e7937274e93587163e
2019-08-20build: Update known good for 1.1.120 vulkan headerShannon McPherson
Changes: - Updated known good files - Generated new files using `generate_source.py` Updated: - `build-android/vulkan-headers_revision_android - `icd/generated/mock_icd.h` - `scripts/known_good.json` Change-Id: Ia83e6bc8acd0c54d23e97e9c645d0062014f4840
2019-08-13build: Update known-good for 1.1.119 headerShannon McPherson
Updated known-good and generated source code for this repository. Modified: - `build-android/vulkan-headers_revision_android` - `icd/generated/mock_icd.cpp` - `icd/generated/mock_icd.h` - `icd/generated/vk_typemap_helper.h` - `scripts/known_good.json` Change-Id: I10fded5bb6c35a7fc38acdbc23d097ae762f5112
2019-08-08build: Remove Windows loader build dependencyLenny Komow
On Windows, the loader now has a dependency on the Windows Driver Kit. In order to avoid adding that dependency here, this change includes loader .lib files for building on Windows. Change-Id: I3119caccf7e4e9ba0666a9ba29413137696775ec
2019-07-26build: Update MoltenVK version in known-good.jsonJeremy Kniager
Updated MoltenVK version in known-good.json from v1.0.35 -> v1.0.36 Change-Id: I1b3762d2234ee7da2acc45f081f56aa6e7cfd504
2019-07-24scripts: Port codegen script from VVLMike Schuchardt
2019-07-24scripts: Fix mock_icd_generator syntax warningsMike Schuchardt
2019-07-22build: Update glslang commit ID in known-goodJeremy Kniager
Change-Id: I7d1031909f91dc14471d41e33bf50bafffaa7c58
2019-07-22scripts: Add required depth/stencil resolve propsMike Schuchardt
Spec mandates that at least VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR be supported for supportedDepthResolveModes and supportedStencilResolveModes
2019-07-17build: Update known-good files for 1.1.114 headerShannon McPherson
Change-Id: I8dcbd49e7ccc07f0c891d9c303e1dc0d8445f9e8
2019-07-02build: Fix LunarXchange Issue 862Jeremy Kniager
Modified MoltenVK build arguments for MacOS from `MVK_LOGGING_ENABLED=0` to `MVK_CONFIG_LOG_LEVEL=1`. This allows users to set the logging information they want when an application is run using MoltenVK. By default, only errors are logged. Change-Id: I471fa28e68b5dc68b10ae17858475981158b2a86
2019-07-01build: Update known-good files for 1.1.113 headerShannon McPherson
Change-Id: I3151722ccb8f3c5d918db8ffd701661a33dcf3b6
2019-06-25build: Update known-good files for 1.1.112 headerShannon McPherson
Change-Id: Ibf447e4f562d49bda5ab60b1bdf4ebf71678a6ae
2019-06-17build: Update MoltenVK in known_good.jsonJeremy Kniager
Updated MoltenVK version in known_good.json from 1.0.34v -> 1.0.35v Change-Id: I3c574d22ab98fcf0e3bd0c718a1a3f5a69287b42
2019-06-10build: Update known-good files glslang commit IDJeremy Kniager
Change-Id: I5ef3ac82301d42cbdb616da4c995cf6dc53c6708
2019-05-29build: Update known-good files for 1.1.108 headerShannon McPherson
Change-Id: Ifc19c0e0fcb36f9a5009a73979eb20069e9db463
2019-05-13update_deps: make --clean-repo switch work in all casesBob Ellison
--clean-repo right now will raise an exception if the repository directory was not present. This makes it work in all cases.
2019-05-13scripts: Temporary workaround for python2Mike Schuchardt
Temporarily patch abc module with ABC helper class until upstream conventions.py script stops using it.
2019-05-03scripts: Update known good for 107 header updateShannon McPherson
Updated: - `build-android/vulkan-headers_revision_android` - `scripts/known_good.json` Change-Id: Ibf9d23645407e78805b8b8192a35338452baaf18
2019-04-23known_good: Update MoltenVK known_good version IDJeremy Kniager
Updated the MoltenVK version in known_good.json to "v1.0.34" Change-Id: I81bfec2e80f724815c4e9576386d00a96b784a48
2019-04-09scripts: Update known good for 106 header updateShannon McPherson
Changes: - Integrate upstream script changes: We have to plumb-through the new conventions object to continue using the makeCParamDecl utility function - Add GGP to available platforms - Define `VULKAN_HPP_TYPESAFE_CONVERSION` in `cube.cpp` to avoid build errors concerning explicit/implicit casting in `vulkan.hpp` - Update known-good files Updated: - `build-android/vulkan-headers_revision_android` - `cube/cube.cpp` - `scripts/common_codegen.py` - `scripts/known_good.json` - `scripts/kvt_genvk.py` - `scripts/mock_icd_generator.py` - `scripts/vulkan_tools_helper_file_generator.py` Change-Id: Ie9deb9f088d666195bcb987e30974f274d33fc85
2019-03-21deps: allow a --generator switch to update_deps.pyBob Ellison
This allows you to use any CMake generator available on your system to configure the dependent repositories, allowing you to match the same generator being used by the project build. update_deps.py: - Take a parameter to specify a CMake generator, and pass it to CMake if present - Allow the user to reduce the count of parallel make jobs that can happen at one time - remove an unnecessary semicolon
2019-03-06build: Correct Metal platform nameShannon McPherson
In `common_codegen.py` the Metal platform was defined without the "_EXT" suffix Change-Id: Ib36778735c09ae54d0e4a9bb0d7aa2fcec26b985
2019-03-05build: Update known-good for 1.1.102 headerShannon McPherson
Additionally, updated copyright dates and added Metal to the platform list Updated: - `build-android/vulkan-headers_revision_android` - `scripts/common_codegen.py` - `scripts/known_good.json` Change-Id: I161f2dfaf8fafd25be50e09b8c6e7da13d9ad9b3
2019-02-26build: Update glslang known-good for 101 SDKShannon McPherson
Change-Id: Ib28abfe172079ad60ea5bfcbbb922990e302b135
2019-02-20build: Update known-good to 1.1.101 headerShannon McPherson
Change-Id: Ifedc7998fbf520f48748b646307071c07c58e627