aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-14Updated MoltenVK tagRichard S. Wright Jr
Now at latest known good release
2022-04-14docs: Replace references to DevSim with ProfilesCharles Giessen
Updated the docs to better reflect the behavior of vulkaninfo and remove references to DevSim.
2022-04-14Guard chromium-specific configs in BUILD.gnBrian Osman
Skia is going to start using these GN files, but does not have chromium's //build. To get them to build, guard those references using `build_with_chromium`. A similar mechanism (with the same argument) is used throughout other third party dependencies.
2022-04-13mock_icd: Remove fallthroughs in switchesCharles Giessen
They cause unecessary warnings in some compilers and are not necessary for the code to function. Replaced with if statements.
2022-04-11cube,vulkaninfo: Add portability_enumeration if presentCharles Giessen
Make vulkaninfo and vkcube/vkcubepp enable the portability enumeration bit if it is available.
2022-04-08Show surface information on GGP platformMd Abdullah Al Fahim
2022-04-06Factor out typemap_helper header in BUILD rules for reusability in Dawn ↵Loko Kung
without depending on entire icd lib.
2022-04-05build: Update to header 1.3.211Mike Schuchardt
- Update known-good - Generate source
2022-04-01build: Update to header 1.3.210Mike Schuchardt
- Update known-good - Generate source
2022-03-31cubepp: Fix wayland regressionCharles Giessen
2022-03-30cubepp: Fix regression in VK_KHR_displayCharles Giessen
2022-03-23build: Update to header 1.3.209Mike Schuchardt
- Update known-good - Generate source
2022-03-22vulkaninfo: Make default json filename uniqueCharles Giessen
Use the device name and driver version in the default filename for profile schema vulkaninfo outputs. Example output would be: "VP_VULKANINFO_Driver_Name_100_3_4.json"
2022-03-22vulkaninfo: Replace devsim with Profile json outputCharles Giessen
Make vulkaninfo capable of printing Vulkan Profiles with the json output. This replaces the current DevSim output and folds the portability schema output into the regular JSON output. Changes include: * Printing to file by default if json output is chosen * Cleaning up codegen for extension structs * Fixing up the help message * Consolidating the portability schema output into just json
2022-03-21cubepp: Add debug utils messengerCharles Giessen
2022-03-21cubepp: Use uint32_t and Demo&Charles Giessen
The width and height parameters don't need to be ints, use uint32_t for consistency. Demo& is more idiomatic C++ than Demo*.
2022-03-21vkcubepp: Address feedback from code-reviewCharles Giessen
2022-03-21cubepp: Copy cubes swapchain format selectionCharles Giessen
The differing logic led to vkcube choosing a different swapchain image format to vkcubepp.
2022-03-21cubepp: Cleanup usage of C++ and vulkan.hppCharles Giessen
Many changes to better utilize C++ and vulkan.hpp's features. Includes: * range-for loop usage where appropriate * References instead of pointers * using std::vector and std::array * Using C++11's default struct values * Making use of vulkan.hpp functions which return vectors * Passing objects by reference to vulkan.hpp instead of by pointer * Rename in application title to vkcubepp
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: Add install target for vkcube-waylandTony-LunarG
2022-02-18build: Update to header 1.3.206Mike Schuchardt
- Update known-good - Generate source
2022-02-09Make device selection output constistentJeremy Hayes
Make vkcube print a string for device type, which is consistent with vkcubepp.
2022-02-09vulkaninfo: Enable portability extension for device groupsMike Schuchardt
Expand previous change to include device group creation. Also added some VK_ENABLE_BETA_EXTENSIONS guards around the portability identifiers.
2022-02-08vulkaninfo: Enable portability subset extension if presentCharles Giessen
If this extension is present, it must be enabled when creating a VkDevice.
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: Remove set width in json functionsCharles Giessen
Set width does nothing inside json printers, removing it since it isn't necessary.
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: Remove redundant parameter in GgpuDumpQueuePropsCharles Giessen
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: Use gpu version only for AppGpuCharles Giessen
The api version of the GPU should solely be based on the GPU version reported by VkPhysicalDeviceProperties. The need to guard against the instance version should be explicit where necessary and not implicitely pulled into the version of the GPU.
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: Refactor printer to use stack for dataCharles Giessen
The output printer kept track of variables that should of been per object or array in a single variable for the entire output. This commit refactors the code to store data in a new StackNode struct such that pushing and poping the stack is how to save and restore the top node's properties, such as the indent, min_width, and if it is an array or object. It allows behavior such as a parent object ignoring the width output but its children respecting it.
2022-02-02vulkaninfo: Simplify WSI macro definesCharles Giessen
Create a single macro define which is used everywhere rather than have 5 different places with the same giant macro if block.
2022-02-02vulkaninfo: Use better casting where possibleCharles Giessen
Use static_cast instead of reinterpret_cast or C style casts. This allows better type checking and more idiomatic C++.
2022-02-02vulkaninfo: Fix spelling mistakesCharles Giessen
2022-02-02vulkaninfo: Use filename in json output descCharles Giessen
Query the current file name so it can be used when printing out the description for the json formats. This is relevant because the windows SDK alters the name of vulkaninfo to vulkaninoSDK and we want this to be present in the output.
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.