| Age | Commit message (Collapse) | Author |
|
- Update known-good
- Generate source
|
|
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.
|
|
- Update known-good
- Generate source
|
|
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."
|
|
|
|
Expect and deny negative window dimensions.
|
|
- Update known-good
- Generate source
|
|
- Update known-good
- Generate source (no change)
|
|
- Update known-good
- Generate source
|
|
KhronosGroup/Vulkan-ValidationLayers switched to this method a while ago
and this syncs the KhronosGroup/Vulkan-Tools version of
helper_file_generator.py to match.
|
|
- Update known-good
- Generate source
|
|
- Update known-good
- Generate source (no change)
Change-Id: I529e0a7175f18f50ae717c4caae27ef066b80839
|
|
This check ensures that the committed generated source files match the
output of the committed generators. We used to have this check on
TravisCI, but it must have gotten lost in the transition to GitHub
Actions.
Change-Id: If6a27994b3bfe8dbd09a962d90cc0c528489bd93
|
|
These changes should have gone in with the 1.2.185 header update
Change-Id: Ifeded577343a3ee6cf0ca5d14c420bc5d97b28fc
|
|
- Update known-good
- Re-enable code generation for VK_HUAWEI_subpass_shading
- Generate source
Change-Id: Ibb8d8898c9cdbb655c8162e76b68fa465fe8f912
|
|
The copyright date declared in vulkaninfo/vulkaninfo.rc
ends in 2020.
|
|
Made some changes for Vulkan-Tools to compile on FreeBSD.
|
|
- Update known-good
- Generate source
Change-Id: I6f8219e31038b0efe1e141147292d041655dd640
|
|
Change-Id: I0b4d5502d98b5602013c6d56cf9cd4ee4d55db9e
|
|
|
|
- Update known-good
- Generate source
Change-Id: Idd87f69c520cd4ef34a1b9d205f79f7c1c7d9e05
|
|
Updated the master copyright (for Khronos, Valve, and LunarG) to 2021.
Also identified that the four files containing the MIT copyrights were
last updated by LunarG in 2017, so updated those copyrights (again for
Khronos, Valve, and LunarG) accordingly.
I also corrected the spelling of "open-source".
|
|
am 72c2d5f0b0e59bf429144d2e60d8fd6ce1710887
|
|
The VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT and
VK_IMAGE_CREATE_SPARSE_BINDING_BIT were swapped, causing erroneous output
and validation messages.
Change-Id: Iff61c379f66aedb14e27e7f422516e1469274248
|
|
Change-Id: Iedc4929547cd58063481e0cf19dda6ba38846a16
|
|
- Update known-good
- Add support for printing `int64_t` in `scripts/vulkaninfo_generator.py`
- Disable codegen for VK_HUAWEI_subpass_shading
KhronosGroup/Vulkan-Docs#1564
- Generate source
Change-Id: I4417e99ed37da510bfaf94d676e22ac3fb088d5d
|
|
The Vulkan spec states that: "On some platforms, it is normal that maxImageExtent may become (0, 0), for example when the window is minimized. In such a case, it is not possible to create a swapchain due to the Valid Usage requirements."
Yet vkcube previously only handled this path for platforms where currentExtent != 0xFFFFFFFF.
|
|
vkBeginCommandBuffer when minimised
Before this, vkcube would leak these crash when minimised for long periods of time.
|
|
Change-Id: I8064d5e97700cb1a233b61d37aba92ca5f752560
|
|
vkconfig prints arrays as it finds them, even if there is only a "None"
element in it. This commit prevents this element from being printed,
removing confusing results where there is a `count = 1` but contains "None".
Change-Id: I1ef8c63458728a9fd3dc531dc9983f309c851034
|
|
Change-Id: Id85e0228aeb834de37586fa5d8d334ddc1c7371e
|
|
|
|
- Update known-good
- Generate source (no change)
Change-Id: Ibfdf958ca32779f7635c324af3ed4146186b27c9
|
|
Added the Werror, Wall, and Wextra flags to builds in CMake.
Change-Id: I58ff7c7d175b512906141b0e691f42b8eb4bf68f
|
|
This change ports vkcube in both C and C++ versions to use the stable
xdg-shell protocol for Wayland compositors. The original wl-shell
protocol has been deprecated and is being removed from major compositor
libraries; wlroots has already dropped support.
New cmake modules have been added to look for Wayland-Protocols
(containing XML descriptions of all common protocols) and
`wayland-scanner`, the tool used to convert the XML files to a usable C
interface.
The change also adds support for the xdg-decoration protocol, which for
some compositors is provided and needed to let them know that they
should draw a titlebar, borders with resize controls, and other standard
features.
Change-Id: I39bedda93a7c5d0aeeb59c68023552723b413567
|
|
VkSurfaceCapabilities has the width & height way out to the right
while the rest of the structure doesn't. This makes it look inconsistent.
This PR also changes the layout of the flag and flagbit printers to return
earlier if possible.
Change-Id: I1b478838b3c95e33354d3daf13040e891454324e
|
|
Change-Id: I65056198dfe1c9a10c9f04f09f9bdb11d4ff903e
|
|
Fixes the implicit conversion of int to size_t and hidden declarations.
Change-Id: I98a3eeb76acfc4dffa0c6a06bb6e72931e4e16d6
|
|
Change-Id: I199d4064f0e034cb747a87844c250203fcf22157
|
|
- Update known-good
- Generate source
Change-Id: I41d51ecab3257530ad733fe977f92d9c482543e6
|
|
Change-Id: I6421c661880695ba359969fb5e8752e2140167f5
|
|
vkcube computes the model matrix for the cube by repeatedly multiplying
a rotation matrix with it. After a sufficient number of iterations the
matrix becomes disturbed (likely due to numerical errors) and stops
being orthogonal and the cube vertices start scaling increasingly on the
XY plane.
* Orthonormalize the model matrix after each multiplication to prevent
the scaling.
* Use mat4x4_rotate_Y() instead of mat4x4_rotate() as it is less
verbose.
* Remove unused duplicate vkcube_vs_uniform struct.
|
|
Allows for a clean shutdown of the rendering thread (CVDisplayLink) whilst the main thread is exiting
|
|
Change-Id: I523972dd44236659764e12d00ebf2ccb2568d5a6
|
|
- Update known-good
- Generate source
Change-Id: Ib8666fe063852297f746dbea1b8b34346000b13d
|
|
* Simplify AppQueuefamilyProperties
* Create and store AppQueueFamilyProperties in AppGpu instead of creating them
on the fly
* Make all uses of 2 struct's use the original struct where appropriate
* This means the printers will use props.limits instead of props2.limits
* Remove unused functions
* Remove unused variables
* Add sparseBinding to enabled features (previously there were none)
* make_vulkan_version function introduced
Change-Id: I872dd060dbf709b5b39610775fb88718ff8b19a5
|
|
Change-Id: Id53c7c1cbee21f7113a8e82f64711915119d1d54
|
|
* Initialize many variables
* Add const where appropriate
* Use any_of instead of a raw for loop
Change-Id: I7d0c1ff8c1798d7ff589b4d6a641dba32966a5e8
|
|
Replace the ad-hoc pair with a bool and a type with a proper class that
makes the interface clear. The `util::trivial_optional<T>`
type requires T to be trivially copyable and constructable, but otherwise
follows the conventions of C++17's <optional>.
Change-Id: I5b3b981be0af2ecd4b05380a5d030b9ecc0be1d0
|
|
Added check for the `VK_EXT_memory_budget` before printing memory usage
and memory budget under VkPhysicalDeviceMemoryProperties.
Change-Id: I98bd22ede919087700950e67a206303026540d3a
|