aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-26Add support for building on ChromeOSAlexis Hetu
2022-01-13cmake/FindWaylandProtocols: fix wayland protocol path generation for cross ↵SupervisedThinking
compile
2022-01-13build: Add dependency on wayland-protocolsTony-LunarG
2022-01-04build: Update to header 1.2.203Mike Schuchardt
- Update known-good - Generate source
2021-12-12Fix error messages upon failure to connect to window systems.C Stout
Change-Id: I650958a8b2607eb3402eb6531909881d4a2ccc0f
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-01ci: Use windows-latest in github actionsCharles Giessen
2021-12-01build: Update to header 1.2.201Mike Schuchardt
- Update known-good - Generate source
2021-12-01vkcube/vkcubepp: Add option to force validation errorsMark Young
During tests, it's hard to determine if the --validation option is actually working properly. So add an option (--force_errors) to intentionally force a few validation error messages to make sure that validation is working properly.
2021-11-29vulkaninfo: Rename trivially_optional to vulkaninfo_optionalCharles Giessen
Expand the scope of the type to allow non trivial types. This helped make the implementation of parsing command line arguments much cleaner.
2021-11-29vulkaninfo: Fixup argument parsing for --outputCharles Giessen
There were a few edge cases which weren't well handled. Examples include providing a filename and using the vkconfig_output but would ignore the file name; the filename not being picked up for none file outputs like json and text. Ammended the wait_for_console_destroy() to only run when not printing to a file.
2021-11-29vulkaninfo: Error check --outputCharles Giessen
Make sure the following argument is a filename and not another argument. Also: Add `--text` as it makes sense to have it as an explicit flag even if it is the default. Move --summary to the top, since its the most useful thing to know at a glance.
2021-11-29vulkaninfo: Allow specifying file outputCharles Giessen
Use `-o <filename>` or `--output <filename>` to specify the filename of which vulkaninfo will write to in the current directory.
2021-11-29vulkaninfo: Refactor main functionCharles Giessen
The main funciton was a chonky 300+ lines of code, this commit pulls out some of the sections into their own functions to make it easier to read. It also simplifies the logic in many places by doing so.
2021-11-29vulkaninfo: Remove unecessary surface macro guardsCharles Giessen
Many of the macro guards in vulkaninfo are unecessary due to not directly touching the contents of the surfaces outside of already guarded functions. Thus, there is little point in having guards for stuff that is always able to compile.
2021-11-29vulkaninfo: Fix formattingCharles Giessen
2021-11-29vulkaninfo: Refactor Win32 function loadingCharles Giessen
The only reason there were global booleans to decide which output to use was due to the macro WAIT_FOR_CONSOLE_DESTROY. This commit restructures how the win32 function loading operates so that such globals are no longer necessary. It introduces an OutputCategory enum to declare which output format to use.
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-16vulkaninfo: Make printing ToolProperties optionalCharles Giessen
This field has caused numerous crashes and has generally been more trouble than its worth to have as a default output. Now, a new command line argument is needed to get vulkaninfo to print tooling info.
2021-11-16vulkaninfo: Use DebugReport callbackCharles Giessen
Add a debug callback to vkCreateInstance to debug instance failures, since there are occassionally errors introduced which yield validation messages that are currently being missed.
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-08vkcube: Reorder setting of pipeline stage flagsEleni Maria Stea
Pipeline stage flags should be set before assigned to pWaitDstStageMask in VkSubmitInfo.
2021-10-05build: Update to header 1.2.195Mike Schuchardt
- Update known-good - Generate source
2021-09-28vulkaninfo: Generate vulkaninfo.rc fileCharles Giessen
Previously whenever a SDK was being built, it would have to manually find and replace the vulkaninfo.rc file with the appropriate values. This commit makes it simpler by providing a CMake build argument which allows setting the version to use from the command line.
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-24ci: Add android build to github actionsMike Schuchardt
Change-Id: I1ef9815548f7483ddc712c76210cf938e70c3eae
2021-09-24build: Remove unused components from android buildMike Schuchardt
When Vulkan-Tools split off from Vulkan-LoaderAndValidationLayers it inherited the android build scripts, most of which are not relevant to the projects left in this repo. Also update BUILD.md with latest android toolchain and remove references to the validation layers. Change-Id: If982829fc20e14156c52a8f364ef7294733f62cd
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-07vulkaninfo: Fix error message when gpus.size()==0Vladimir Panteleev
Avoid an amusing and slightly misleading error message: "The selected gpu (0) is not a valid GPU index. The available GPUs are in the range of 0 to 18446744073709551615."
2021-09-03Update known good to the latest MoltenVK tagRichard S. Wright Jr
2021-08-31cubepp: Fix gitlab 828.Jeremy Hayes
Expect and deny negative window dimensions.
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)