aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2022-02-02vulkaninfo: Fix padding for integer dot productCharles Giessen
The 1.3 update forgot to rename VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES_KHR to VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES as this is the non-aliased name. Without it, the fix wouldn't be applied.
2022-01-26mockicd: Fix queue destruction for multiple devicesnyorain
2022-01-26Fix DestroyCommandPool command buffer leaknyorain
2022-01-26Fix FreeCommandBuffers leaknyorain
2022-01-26vulkaninfo: Update to 1.3Charles Giessen
Only changes are making the autogen print all required structs, and moving from using the EXT version of tool properties to the core version.
2022-01-26build: Update to header 1.3.204Mike Schuchardt
- Update known-good - Generate source
2022-01-04build: Update to header 1.2.203Mike Schuchardt
- Update known-good - Generate source
2021-12-12scripts: Fix codegen to support VK_KHR_format_feature_flags2Lionel Landwerlin
If the implementation reports that it supports this feature, it should fill out VkFormatProperties3KHR properly.
2021-12-01build: Update to header 1.2.201Mike Schuchardt
- Update known-good - Generate source
2021-11-29build: Update to header 1.2.200Mike Schuchardt
- Update known-good - Generate source
2021-11-29scripts: initialize properties for VK_EXT_fragment_density_map2janharaldfredriksen-arm
2021-11-17Update known_good.jsonRichard S. Wright Jr
Updated MoltenVK to 1.1.6 release
2021-11-16build: Update to header 1.2.199Mike Schuchardt
- Update known-good - Generate source
2021-11-15vulkaninfo: Prevent drivers writing out of boundsCharles Giessen
The structure VkPhysicalDeviceShaderIntegerDotProdcutFeaturesKHR contains only a single feature boolean flag. However, before the final version was published to the public, it had many boolean flag values. Pre-release drivers often contain support for unpublished extensions, such as VK_KHR_shader_integer_dot_product. Because the final version was much smaller than the pre-release version, several drivers try to write to members that do not exist in the final version, which cause out of bounds writes to the features struct that vulkaninfo passes into the driver. By increasing the size of the features struct allocation manually, we can prevent potential crashes from OOBs writes from drivers.
2021-11-09build: Update to header 1.2.198Mike Schuchardt
- Update known-good - Generate source (no change)
2021-11-03build: Update to header 1.2.197Mike Schuchardt
- Update known-good - Generate source
2021-10-14build: Update to header 1.2.196Mike Schuchardt
- Update known-good - Generate source
2021-10-05build: Update to header 1.2.195Mike Schuchardt
- Update known-good - Generate source
2021-09-28build: Update to header 1.2.194Mike Schuchardt
- Update known-good - Generate source
2021-09-28scripts: Fix codegen with hard-coded enum indicesMike Schuchardt
Currently some of the generators use a fixed child index to locate extension enums, which will break if comment blocks are added near the top of an extension definition. This change makes the enum lookup more robust by searching for the expected enum name instead of using a hard-coded offset.
2021-09-28build: Update update_depsCharles Giessen
Bring forward the update_deps script in this repo to match VVL
2021-09-22scripts: Use f-strings in vulkaninfo generatorCharles Giessen
f-strings are a python feature which allow more natural formatting of text, making the code easier to read and work with.
2021-09-22vulkaninf: Support 64 bit flagsCharles Giessen
64 bit flags use the bitvalues field instead of the requires field in the XML to specify the flagbits name. Thus the autogen needed to account for that. In addition, if a flag was promoted to core, the autogen didn't use the core version, this commit also fixes that.
2021-09-21build: Update to header 1.2.193Mike Schuchardt
- Update known-good - Generate source
2021-09-15build: Update to header 1.2.192Mike Schuchardt
- Update known-good - Generate source
2021-09-15scripts: Ignore compatibility constants in wrapperMike Schuchardt
When the working group changes the name of a constant: VK_KHR_MAINTENANCE1_SPEC_VERSION -> VK_KHR_MAINTENANCE_1_SPEC_VERSION they will still #define the original name to maintain backward compatibility with existing code that uses it: #define VK_KHR_MAINTENANCE_1_SPEC_VERSION 2 #define VK_KHR_MAINTENANCE_1_EXTENSION_NAME "VK_KHR_maintenance1" #define VK_KHR_MAINTENANCE1_SPEC_VERSION VK_KHR_MAINTENANCE_1_SPEC_VERSION #define VK_KHR_MAINTENANCE1_EXTENSION_NAME VK_KHR_MAINTENANCE_1_EXTENSION_NAME In this case, we need to ignore the non-numeric _SPEC_VERSION and unquoted _EXTENSION_NAME constants because they don't define a separate extension.
2021-09-09build: Update to header 1.2.191Mike Schuchardt
- Update known-good - Generate source
2021-09-03Update known good to the latest MoltenVK tagRichard S. Wright Jr
2021-08-30build: Update to header 1.2.190Mike Schuchardt
- Update known-good - Generate source
2021-08-17build: Update to header 1.2.189Mike Schuchardt
- Update known-good - Generate source (no change)
2021-08-10build: Update to header 1.2.188Mike Schuchardt
- Update known-good - Generate source
2021-08-10scripts: Use altlen instead of parsing latexmathMike Schuchardt
KhronosGroup/Vulkan-ValidationLayers switched to this method a while ago and this syncs the KhronosGroup/Vulkan-Tools version of helper_file_generator.py to match.
2021-08-03build: Update to header 1.2.187Mike Schuchardt
- Update known-good - Generate source
2021-07-28build: Update to header 1.2.186Mike Schuchardt
- Update known-good - Generate source (no change) Change-Id: I529e0a7175f18f50ae717c4caae27ef066b80839
2021-07-21build: Update to header 1.2.185Mike Schuchardt
- Update known-good - Re-enable code generation for VK_HUAWEI_subpass_shading - Generate source Change-Id: Ibb8d8898c9cdbb655c8162e76b68fa465fe8f912
2021-07-06build: Update to header 1.2.184Mike Schuchardt
- Update known-good - Generate source Change-Id: I6f8219e31038b0efe1e141147292d041655dd640
2021-07-01known_good.json updated for latest MoltenVK tagrichard-lunarg
2021-06-30build: Update to header 1.2.183Mike Schuchardt
- Update known-good - Generate source Change-Id: Idd87f69c520cd4ef34a1b9d205f79f7c1c7d9e05
2021-06-21build: Update to header 1.2.182Mike Schuchardt
- Update known-good - Add support for printing `int64_t` in `scripts/vulkaninfo_generator.py` - Disable codegen for VK_HUAWEI_subpass_shading KhronosGroup/Vulkan-Docs#1564 - Generate source Change-Id: I4417e99ed37da510bfaf94d676e22ac3fb088d5d
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.