aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-02-18vkcubepp: Support FuchsiaYilong Li
This change was originally in Fuchsia's Vulkan-Tools fork (https://fxrev.dev/441056). It adds Fuchsia OS (https://fuchsia.dev) support to vkcubepp. Fuchsia has two WSI platforms available: It can render directly to display frame buffer (fuchsia_display), or use Fuchsia's Scenic compositor (fuchsia_scenic). All Fuchsia-specific code is under VK_USE_PLATFORM_FUCHSIA ifdef build guards and is only compiled for Fuchsia targets. This change also adds a BUILD.gn file used for Fuchsia in-tree builds. Test: vkcube-on-fb and vkcube-on-scenic on Fuchsia Bug: https://fxbug.dev/378964821 Change-Id: Id4627bf209b4fc9400ce7f6847324cad2060c31c
2025-02-18vkcubepp: Remove implicit castsYilong Li
1. std::tolower() returns an `int` value. Implicit converting an `int` to a `char` may trigger compiler warnings (-Wconversion on gcc and clang). This change adds an explicit cast to suppress the implicit conversion warnings. 2. Previously we used `assert(!"....")` to show error messages. This does an implicit conversion from `const char*` to `bool` which triggers compiler warnings (-Wconversion). This change replaces it with `assert(false && "...")` which doesn't trigger the warning. Bug: https://fxbug.dev/378964821 Change-Id: I51be6858db558568619d0d2e6bc01a544d3459e4
2025-02-18vulkaninfo: Support FuchsiaYilong Li
This change adds Fuchsia-specific build files and metadata for vulkaninfo so that it builds on Fuchsia. Test: vulkaninfo on Fuchsia Bug: https://fxbug.dev/378964821 Change-Id: I069b808394995db94b109c15d18dd6797a97c534
2025-02-05cmake: Update minimum to 3.22.1Juan Ramos
2025-01-30build: Update to header 1.4.307Mike Schuchardt
2025-01-24build: Update to header 1.4.306Mike Schuchardt
2025-01-23icd: Add VkPhysicalDeviceMaintenance3Propertiesspencer-lunarg
2025-01-22vulkaninfo: Correct typo targetted -> targetedPeter0x44
2025-01-21cube: Correctly apply sRGB OETF/EOTFKaren Webb
2025-01-17build: Update to header 1.4.305Mike Schuchardt
2025-01-06vulkaninfo: Add video profiles supportDaniel Rakos
2025-01-06build: Update Volk to vulkan-sdk-1.4.304Charles Giessen
2024-12-20build: Update to header 1.4.304Mike Schuchardt
2024-12-20cubepp: Remove deprecated constructor usageMike Schuchardt
Switch pfnUserCallback from PFN_vkDebugUtilsMessengerCallbackEXT to vk::PFN_DebugUtilsMessengerCallbackEXT
2024-12-20cube: Don't use MoltenVK include dir on macOSMike Schuchardt
It may contain a different/incompatible vulkan.h/vulkan.hpp than the known good version.
2024-12-06vulkaninfo: Fix initializing vectors of structsziga-lunarg
2024-12-03build: Update to header 1.4.303Mike Schuchardt
2024-12-03cube: Fix macOSMike Schuchardt
Set demo.caMetalLayer before attempting to create the surface
2024-11-27cube: Check return value of vkGetPhysicalDeviceSurfaceSupportKHRCharles Giessen
2024-11-27vkcubepp: Check if gpu support the surfaceWater Chika
2024-11-27vkcube: Check if gpu support the surfaceWater Chika
Fix bug on checking and refine logic of selection.
2024-11-27vkcube: Check if gpu support the surfaceWater Chika
2024-11-27cube: Link to Vulkan-Loader on macOSCharles Giessen
This was accidentally undone during the changes to cube to handle runtime WSI selection. By not linking, vkcube does not work unless the SDK is installed globally (ie, moltenvk is available globally).
2024-11-25icd: Add support for AV1 encode and QP mapsDaniel Rakos
2024-11-21build: Update to header 1.3.302Mike Schuchardt
2024-11-21vulkaninfo: Call enumerate functions with scratch bufferCharles Giessen
This change makes calls using GetVectorInit() to start with an already created buffer of size 64, allowing for the Vulkan implementation to immediately fill in the buffer, rather than having to call the enumerate function twice. This change is primarily motivated to reduce the spam VK_LOADER_DEBUG=all produces when run with vulkaninfo.
2024-11-12Removed runtime dirRichard S. Wright Jr.
2024-11-12NSIS installer is deprecated and no longer usedRichard S. Wright Jr.
2024-11-05scripts: Make generate_source.py look harder for vk.xmlJeremy Gebben
Allow the registry path argument to also be the base directory containing the Vulkan-Headers repo (eg. ./external) to save redundant typing.
2024-11-04ci: Build dependency for Github ActionsSpencer Fricke
2024-11-04build: Update to header 1.3.301Mike Schuchardt
2024-10-28scripts: Fix user self-hosting dependency in update_deps.pyMáté Ferenc Nagy-Egri
The documentation states that users can override where to take a dependency from via variables like VULKAN_HEADERS_INSTALL_DIR, however the helper.cmake written by the scripts/CMakeLists.txt FORCE updates the cache variable to the location inside known_good.json, practically overwriting the user-provided path given on the CLI using -D, also going into the cache.
2024-10-28scripts: Handle remote URL change in update_deps.pyMáté Ferenc Nagy-Egri
Without going through an intricate dance with git to change the remote URL of a repository, it's simplest to just nuke the cloned folder, as we have to do a clean clone anyway.
2024-10-25build: Update to header 1.3.300Mike Schuchardt
2024-10-23vulkaninfo: On X11 use default visualRhys Parry
If the visual passed to XCreateWindow is not the default one, it can cause a BadMatch error. Usually the first one returned does work, but in certain cases we need to search through all the visuals to find one that matches the default visual. This was seen on an xrdp session on Rocky 9.
2024-10-18build: Update to header 1.3.299Mike Schuchardt
2024-10-15ci: Bump python version to 3.10Charles Giessen
The docs lists 3.10 as a minimum required but only used 3.7 in github actions.
2024-10-15ci: Bump ubuntu versions usedCharles Giessen
2024-10-15cube: Support runtime selection of WSI platformCharles Giessen
By changing the selection of a WSI platform from a build time choice to a runtime choice, this allows the removal of vkcube-wayland as a separate binary. Use `--wsi <platform>` to choose the WSI platform that vkcube will render with. The chosen platform must be one that vkcube was compiled with support for, so directfb will be unavailable without changing the build parameters to enable it. These changes have been made to both vkcube and vkcubepp. This includes enabling VK_KHR_display where applicable, which is supported on linux and windows at the current time.
2024-10-15Enable Address Sanitizer in Linux CICharles Giessen
2024-10-11vkcube: Remove unused command line optionCharles Giessen
The --validate-checks-disabled flag was unused, so will be removed.
2024-10-11build: Update to header 1.3.298Mike Schuchardt
2024-10-07build: Update to header 1.3.297Mike Schuchardt
2024-10-07Update known_good.jsonRichard S. Wright Jr.
Updated MoltenVK to latest known good
2024-09-30build: Update volk tagziga-lunarg
2024-09-27vulkaninfo: Move variable declaration closer to useCharles Giessen
2024-09-27vulkaninfo: Correctly query per-surface queue supportCharles Giessen
The previous implementation did not differentiate when a single queue supported a specific surface. It will now print 'true' if all surfaces support presentation with a queue, 'false' if none, and otherwise prints each surface type's support if they aren't uniform in value. This makes the info regarding which queue supports presentation on a surface much easier to validate the correctness of.
2024-09-27vulkaninfo: Only iterate 2-call idiom when neededCharles Giessen
Previous implementation would always run the function 3 times no matter what.
2024-09-26build: Update to header 1.3.296Mike Schuchardt
2024-09-26Fix twocall_chain_vectors mechanismMáté Ferenc Nagy-Egri
Instead of unconditionally querying properties twice, only call the query again if the given output struct has array members. Also fix the case where if there are no output structs with array properties (VulkanSC), then don't end up with unresolved external symbols.