aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2022-03-15build: Update to header 1.3.208Mike Schuchardt
- Update known-good - Generate source
2022-03-08build: Update to header 1.3.207Mike Schuchardt
- Update known-good - Generate source
2022-02-28Update known_good.jsonRichard S. Wright Jr
Updated MoltenVK to 1.1.8
2022-02-18build: Update to header 1.3.206Mike Schuchardt
- Update known-good - Generate source
2022-02-07build: Update to header 1.3.205Mike Schuchardt
- Update known-good - Generate source
2022-02-07Updated MoltenVK known good tag to 1.1.7Richard S. Wright Jr
2022-02-02vulkaninfo: remove redundant str() in scriptCharles Giessen
2022-02-02vulkaninfo: Use """ where appropriate in scriptCharles Giessen
2022-02-02vulkaninfo: Use single quote in generation scriptCharles Giessen
2022-02-02vulkaninfo: Use constants in pythong scriptCharles Giessen
2022-02-02vulkaninfo: Update generated copyrightCharles Giessen
2022-02-02vulkaninfo: Support structs from multiple extensionsCharles Giessen
VkPhysicalDeviceIDProperties can come from 1.1 but also from support for multiple extensions. This makes the autogen properly check that one of the required extensions is supported.
2022-02-02vulkaninfo: Make chain iterators optionalCharles Giessen
Some of the pNext chains didn't make use of the generic chain printers. Since they aren't being used in code, it is good to disable the generation of those printers.
2022-02-02vulkaninfo: bitmask printers check for 0 valueCharles Giessen
Only generate the early exit if there doesn't exist an bitmask which has a value of 0. For example, VK_RESOLVE_MODE_NONE has a value of 0, but it would never be printed without this special case.
2022-02-02vulkaninfo: Use enum names in switchesCharles Giessen
Replace numeric values with the textual version, this makes it easier to read the code and verify that it is correct.
2022-02-02vulkaninfo: Put value in unknown flag stringsCharles Giessen
This makes unknown flags put the value of the flag bits in the returned string so that if an error does occur, users can see which value(s) were returned.
2022-02-02vulkaninfo: Chain printers use correct versionCharles Giessen
Previously the version used was up to the caller of the chain printer function to provide, but this was unnecessary as the printer should always use the version of the type (instance or gpu) of printer in question. If both are specified, it uses the gpu version since that implies physical_device functions.
2022-02-02vulkaninfo: min_key_width now set in the object stackCharles Giessen
Previously if a key-value pair wanted to be printed with padding, so the output would be aligned, it would have to pass in the width into each and every printer statement. This commit makes the min_key_width value set per object (in the object_stack) so it can be set after the object is started and re-used over and over. This simplifies the code gen and useability of the Printer class.
2022-02-02vulkaninfo: Support QueueProperties pNext chainCharles Giessen
Make the autogen and vulkaninfo source code support printing of the pNext chain in VkQueueProperties2KHR. Several structs were added to this chain recently and are helpful information to be printed. This required special casing the output so that it only prints the elements that are 'valid' and modifying the chain printer to unset the next header flag.
2022-02-02vulkaninfo: Generate pNext chain properlyCharles Giessen
Generate a structure that contains all the structures in the pNext chain as members rather than relying on malloc to allocate memory for them.
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)