aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-02vulkaninfo: Add Device & driver UUID to summaryCharles Giessen
The Device and Driver UUID is identifying information that is useful to have at a glance. Adding it to the summary would help anyone needing to determine what their device & driver is without searching the entire vulkaninfo output first.
2022-02-02vulkaninfo: Return non-zero from failureCharles Giessen
If vulkaninfo fails for whatever reason, including vulkan API calls, vulkaninfo should return 1 so that CI systems can detect if something is amiss. Previously, while vulkaninfo would recover from a failure (finishing any json/html files that were being printed) it would print 0, which is counter intuitive.
2022-02-02vulkaninfo: Prevent WinCRT debug popupsCharles Giessen
Add the necessary winCRT calls to prevent debug popups from occuring when vulkaninfo crashes. This is necessary to prevent hangs in CI, where these popups can and do occur.
2022-02-02vulkan tools: Fix image usage error reported by validation layersziga-lunarg
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-02-02build: Add build target for vkcube-waylandTony-LunarG
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-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