aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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)
2021-08-10build: Update to header 1.2.188Mike Schuchardt
- Update known-good - Generate source
2021-08-10scripts: Use altlen instead of parsing latexmathMike Schuchardt
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.
2021-08-03build: Update to header 1.2.187Mike Schuchardt
- Update known-good - Generate source
2021-07-28build: Update to header 1.2.186Mike Schuchardt
- Update known-good - Generate source (no change) Change-Id: I529e0a7175f18f50ae717c4caae27ef066b80839
2021-07-21ci: Add verification step for generated sourceMike Schuchardt
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
2021-07-21mockicd: Commit missing generated filesMike Schuchardt
These changes should have gone in with the 1.2.185 header update Change-Id: Ifeded577343a3ee6cf0ca5d14c420bc5d97b28fc
2021-07-21build: Update to header 1.2.185Mike Schuchardt
- Update known-good - Re-enable code generation for VK_HUAWEI_subpass_shading - Generate source Change-Id: Ibb8d8898c9cdbb655c8162e76b68fa465fe8f912
2021-07-13vulkaninfo: correct copyright dateBob Ellison
The copyright date declared in vulkaninfo/vulkaninfo.rc ends in 2020.
2021-07-07vulkaninfo/cube: added support for FreeBSDEleni Maria Stea
Made some changes for Vulkan-Tools to compile on FreeBSD.
2021-07-06build: Update to header 1.2.184Mike Schuchardt
- Update known-good - Generate source Change-Id: I6f8219e31038b0efe1e141147292d041655dd640
2021-07-06docs: Fix cube wsi selection variableTony-LunarG
Change-Id: I0b4d5502d98b5602013c6d56cf9cd4ee4d55db9e
2021-07-01known_good.json updated for latest MoltenVK tagrichard-lunarg
2021-06-30build: Update to header 1.2.183Mike Schuchardt
- Update known-good - Generate source Change-Id: Idd87f69c520cd4ef34a1b9d205f79f7c1c7d9e05
2021-06-30windows: updated copyright noticesBob Ellison
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".
2021-06-30vulkaninfo: Fix device version checkXiaolei Yu
am 72c2d5f0b0e59bf429144d2e60d8fd6ce1710887
2021-06-28vulkaninfo: Fix image format query argumentsCharles Giessen
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
2021-06-23vkcube: Remove unused variable from Wayland buildTony-LunarG
Change-Id: Iedc4929547cd58063481e0cf19dda6ba38846a16
2021-06-21build: Update to header 1.2.182Mike Schuchardt
- 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
2021-06-17cube: Handle occlusion where currentExtent == 0xFFFFFFFFJoshua Ashton
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.
2021-06-17cube: Don't constantly call vkAllocateCommandBuffers and ↵Joshua Ashton
vkBeginCommandBuffer when minimised Before this, vkcube would leak these crash when minimised for long periods of time.
2021-06-17vkcube: Remove unused variableTony-LunarG
Change-Id: I8064d5e97700cb1a233b61d37aba92ca5f752560
2021-06-16vulkaninfo: Dont print None in vkconfig outputCharles Giessen
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
2021-06-16vkcube: Fix alpha enum typeTony-LunarG
Change-Id: Id85e0228aeb834de37586fa5d8d334ddc1c7371e
2021-06-15vkcube: fix crash on exit from double deleterichard-lunarg
2021-06-14build: Update to header 1.2.181Mike Schuchardt
- Update known-good - Generate source (no change) Change-Id: Ibfdf958ca32779f7635c324af3ed4146186b27c9
2021-06-14build: Add Werror and warning flags to buildsJeremy Kniager
Added the Werror, Wall, and Wextra flags to builds in CMake. Change-Id: I58ff7c7d175b512906141b0e691f42b8eb4bf68f
2021-06-14cube: Port Wayland impl from wl-shell to xdg-shellManuel Stoeckl
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
2021-06-11vulkaninfo: Improve formatting of surface capsCharles Giessen
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
2021-06-11vulkaninfo: Use autogen supportedSurfaceCountersCharles Giessen
Change-Id: I65056198dfe1c9a10c9f04f09f9bdb11d4ff903e
2021-06-11vulkaninfo: Fix compiler warningsCharles Giessen
Fixes the implicit conversion of int to size_t and hidden declarations. Change-Id: I98a3eeb76acfc4dffa0c6a06bb6e72931e4e16d6
2021-06-11vkcube: Fix compilier warningsTony-LunarG
Change-Id: I199d4064f0e034cb747a87844c250203fcf22157
2021-06-07build: Update to header 1.2.180Mike Schuchardt
- Update known-good - Generate source Change-Id: I41d51ecab3257530ad733fe977f92d9c482543e6
2021-06-07vkcube: Resize on SUBOPTIMAL if necessaryTony-LunarG
Change-Id: I6421c661880695ba359969fb5e8752e2140167f5
2021-06-03vkcube: Fix disturbed rotation after many iterationsArman Uguray
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.
2021-05-31Trigger demo quit from applicationWillTerminateJake Turner
Allows for a clean shutdown of the rendering thread (CVDisplayLink) whilst the main thread is exiting
2021-05-28tests: Run update on Linux before testsJeremy Kniager
Change-Id: I523972dd44236659764e12d00ebf2ccb2568d5a6
2021-05-24build: Update to header 1.2.179Mike Schuchardt
- Update known-good - Generate source Change-Id: Ib8666fe063852297f746dbea1b8b34346000b13d
2021-05-19vulkaninfo: Update License and Refactor AppGpuCharles Giessen
* 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
2021-05-19vulkaninfo: Remove redundant platform guardsCharles Giessen
Change-Id: Id53c7c1cbee21f7113a8e82f64711915119d1d54
2021-05-19vulkaninfo: Tidy up codeCharles Giessen
* Initialize many variables * Add const where appropriate * Use any_of instead of a raw for loop Change-Id: I7d0c1ff8c1798d7ff589b4d6a641dba32966a5e8
2021-05-19vulkaninfo: use trivial_optional type instead of pairCharles Giessen
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
2021-05-17vulkaninfo: Add check for printing memory budgetJeremy Kniager
Added check for the `VK_EXT_memory_budget` before printing memory usage and memory budget under VkPhysicalDeviceMemoryProperties. Change-Id: I98bd22ede919087700950e67a206303026540d3a