| Age | Commit message (Collapse) | Author |
|
Now at latest known good release
|
|
Updated the docs to better reflect the behavior of vulkaninfo and
remove references to DevSim.
|
|
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.
|
|
They cause unecessary warnings in some compilers and are not necessary for the
code to function. Replaced with if statements.
|
|
Make vulkaninfo and vkcube/vkcubepp enable the portability enumeration bit if it is
available.
|
|
|
|
without depending on entire icd lib.
|
|
- Update known-good
- Generate source
|
|
- Update known-good
- Generate source
|
|
|
|
|
|
- Update known-good
- Generate source
|
|
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"
|
|
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
|
|
|
|
The width and height parameters don't need to be ints, use uint32_t for consistency.
Demo& is more idiomatic C++ than Demo*.
|
|
|
|
The differing logic led to vkcube choosing a different swapchain image format
to vkcubepp.
|
|
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
|
|
- Update known-good
- Generate source
|
|
- Update known-good
- Generate source
|
|
Updated MoltenVK to 1.1.8
|
|
|
|
- Update known-good
- Generate source
|
|
Make vkcube print a string for device type, which is consistent with
vkcubepp.
|
|
Expand previous change to include device group creation. Also added some
VK_ENABLE_BETA_EXTENSIONS guards around the portability identifiers.
|
|
If this extension is present, it must be enabled when creating a VkDevice.
|
|
- Update known-good
- Generate source
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
Set width does nothing inside json printers, removing it since it isn't necessary.
|
|
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.
|
|
Replace numeric values with the textual version, this makes it easier to read
the code and verify that it is correct.
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Create a single macro define which is used everywhere rather than have 5
different places with the same giant macro if block.
|
|
Use static_cast instead of reinterpret_cast or C style casts. This allows
better type checking and more idiomatic C++.
|
|
|
|
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.
|
|
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.
|