{"id":18782097,"url":"https://github.com/gpuopen-librariesandsdks/vulkan-samples","last_synced_at":"2026-03-08T21:02:19.567Z","repository":{"id":184478423,"uuid":"671880889","full_name":"GPUOpen-LibrariesAndSDKs/Vulkan-Samples","owner":"GPUOpen-LibrariesAndSDKs","description":"based on Khronos Vulkan-Samples","archived":false,"fork":false,"pushed_at":"2024-10-17T19:55:40.000Z","size":49239,"stargazers_count":38,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-20T12:40:38.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/KhronosGroup/Vulkan-Samples","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GPUOpen-LibrariesAndSDKs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-28T11:02:18.000Z","updated_at":"2025-04-09T07:11:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"c67d29e6-ae2b-4cf9-acfd-0f54b3c18718","html_url":"https://github.com/GPUOpen-LibrariesAndSDKs/Vulkan-Samples","commit_stats":null,"previous_names":["gpuopen-librariesandsdks/vulkan-samples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GPUOpen-LibrariesAndSDKs/Vulkan-Samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FVulkan-Samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FVulkan-Samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FVulkan-Samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FVulkan-Samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GPUOpen-LibrariesAndSDKs","download_url":"https://codeload.github.com/GPUOpen-LibrariesAndSDKs/Vulkan-Samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FVulkan-Samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30273292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:34:49.988Z","updated_at":"2026-03-08T21:02:19.559Z","avatar_url":"https://github.com/GPUOpen-LibrariesAndSDKs.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n- Copyright (c) 2019-2023, Arm Limited and Contributors\n-\n- SPDX-License-Identifier: Apache-2.0\n-\n- Licensed under the Apache License, Version 2.0 the \"License\";\n- you may not use this file except in compliance with the License.\n- You may obtain a copy of the License at\n-\n-     http://www.apache.org/licenses/LICENSE-2.0\n-\n- Unless required by applicable law or agreed to in writing, software\n- distributed under the License is distributed on an \"AS IS\" BASIS,\n- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- See the License for the specific language governing permissions and\n- limitations under the License.\n-\n--\u003e\n\n# Vulkan GPU Work Graphs sample \u003c!-- omit in toc --\u003e\n\nThis branch adds a sample application for `VK_AMDX_shader_enqueue` extension that provides\naccess to GPU Work Graphs feature on Radeon\u0026trade; RX 7000 series graphics cards.\n\nTo build the sample, follow the standard build instructions.\n\nTo run the compute sample, execute with the arguments `sample gpu_dispatch`.\nSee more details and command line options in the [readme](./samples/extensions/gpu_dispatch/README.md).\n\nTo run the mesh draw sample, execute with the arguments `sample gpu_draw_dispatch`.\nSee more details and command line options in the [readme](./samples/extensions/gpu_draw_dispatch/README.md).\n\nNavigate to the following paths to learn more:\n- Source code\n  - [samples/extensions/gpu_dispatch](./samples/extensions/gpu_dispatch)\n  - [samples/extensions/gpu_draw_dispatch](./samples/extensions/gpu_draw_dispatch)\n- Shaders\n  - [shaders/gpu_dispatch](./shaders/gpu_dispatch)\n  - [shaders/gpu_draw_dispatch](./shaders/gpu_draw_dispatch)\n\n# Vulkan Dense Geometry Format sample \u003c!-- omit in toc --\u003e\n\nThis branch adds a sample application for the `VK_AMDX_dense_geometry_format` extension that enables\nthe use of pre-compressed Dense Geometry Format data to build acceleration structures.\n\nTo build the sample, follow the standard build instructions.\n\nTo run sample, execute with the arguments `sample dense_geometry_format`.\n\nNavigate to the following path to learn more:\n- Source code\n  - [samples/extensions/dense_geometry_format](./samples/extensions/dense_geometry_format)\n\n# Vulkan Samples \u003c!-- omit in toc --\u003e\n\n![Vulkan Samples banner](banner.jpg)\n\n## Contents \u003c!-- omit in toc --\u003e\n\n- [Renaming Default Branch](#renaming-default-branch)\n- [Introduction](#introduction)\n  - [Goals](#goals)\n- [Samples](#samples)\n- [General information](#general-information)\n- [Setup](#setup)\n- [Build](#build)\n  - [Supported Platforms](#supported-platforms)\n- [Usage](#usage)\n- [Tests](#tests)\n- [License](#license)\n  - [Trademarks](#trademarks)\n- [Contributions](#contributions)\n- [Related resources](#related-resources)\n\n## Renaming Default Branch\n\nWe have recently transitioned the repository to use the `main` branch by default. All remote git usage is handled automatically. To update your local repository to use main please use the following commands\n\n\u003e git branch -m master main\n\u003e git fetch origin\n\u003e git branch -u origin/main main\n\u003e git remote set-head origin -a\n\n## Introduction\n\nThe Vulkan Samples is collection of resources to help you develop optimized Vulkan applications.\n\nIf you are new to Vulkan the [API samples](samples/api) are the right place to start.\nAdditionally you may find the following links useful:\n - [Vulkan Guide](https://github.com/KhronosGroup/Vulkan-Guide)\n - [Get Started in Vulkan](https://vulkan-tutorial.com/)\n\n [Performance samples](samples/performance) show the recommended best practice together with real-time profiling information.\n They are more advanced but also contain a detailed tutorial with more in-detail explanations.\n\n### Goals\n- Create a collection of resources that demonstrate best-practice recommendations in Vulkan\n- Create tutorials that explain the implementation of best-practices and include performance analysis guides\n- Create a framework that can be used as reference material and also as a sandbox for advanced experimentation with Vulkan\n\n## Samples\n- [Listing of all samples available in this repository ](./samples/README.md)\n\n## General information\n- **Project Basics**\n  - [Controls](./docs/misc.md#controls)\n  - [Debug window](./docs/misc.md#debug-window)\n  - [Create a Sample](./docs/create_sample.md)\n- **Vulkan Essentials**\n  - [How does Vulkan compare to OpenGL ES? What should you expect when targeting Vulkan?](./samples/vulkan_basics.md)\n- **Misc**\n  - [Driver version](./docs/misc.md#driver-version)\n  - [Memory limits](./docs/memory_limits.md)\n\n## Setup\n\nPrerequisites: [git](https://git-scm.com/downloads) with [git large file storage (git-lfs)](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage).\n\nClone the repo with submodules using the following command:\n\n```\ngit clone --recurse-submodules https://github.com/KhronosGroup/Vulkan-Samples.git\ncd Vulkan-Samples\n```\n\nFollow build instructions for your platform below.\n\n## Build\n\n### Supported Platforms\n- Windows - [Build Guide](./docs/build.md#windows \"Windows Build Guide\")\n- Linux - [Build Guide](./docs/build.md#linux \"Linux Build Guide\")\n- macOS - [Build Guide](./docs/build.md#macos \"macOS Build Guide\")\n- Android - [Build Guide](./docs/build.md#android \"Android Build Guide\")\n\n## Usage\n\nThe following shows some example command line usage on how to configure and run the Vulkan Samples.\n\n```\n# For the entire usage use\nvulkan_samples --help\n\n# For subcommand usage use\nvulkan_samples \u003csub_command\u003e --help\n\n# Run Swapchain Images sample\nvulkan_samples sample swapchain_images\n\n# Run AFBC sample in benchmark mode for 5000 frames\nvulkan_samples sample afbc --benchmark --stop-after-frame 5000\n\n# Run bonza test offscreen\nvulkan_samples test bonza --headless\n\n# Run all the performance samples for 10 seconds in each configuration\nvulkan_samples batch --category performance --duration 10\n\n# Run Swapchain Images sample on an Android device\nadb shell am start-activity -n com.khronos.vulkan_samples/com.khronos.vulkan_samples.SampleLauncherActivity -e sample swapchain_images\n```\n\n## Tests\n\n- System Test - [Usage Guide](docs/testing.md#system-test \"System Test Guide\")\n- Generate Sample - [Usage Guide](docs/testing.md#generate-sample-test \"Generate Sample Test Guide\")\n\n\n## License\n\nSee [LICENSE](LICENSE).\n\nThis project has some third-party dependencies, each of which may have independent licensing:\n\n- [astc-encoder](https://github.com/ARM-software/astc-encoder): ASTC Evaluation Codec\n- [CTPL](https://github.com/vit-vit/CTPL): Thread Pool Library\n- [docopt](https://github.com/docopt/docopt.cpp): A C++11 port of the Python argument parsing library\n- [glfw](https://github.com/glfw/glfw): A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input\n- [glm](https://github.com/g-truc/glm): OpenGL Mathematics\n- [glslang](https://github.com/KhronosGroup/glslang): Shader front end and validator\n- [dear imgui](https://github.com/ocornut/imgui): Immediate Mode Graphical User Interface\n- [HWCPipe](https://github.com/ARM-software/HWCPipe): Interface to mobile Hardware Counters\n- [KTX-Software](https://github.com/KhronosGroup/KTX-Software): Khronos Texture Library and Tools\n- [spdlog](https://github.com/gabime/spdlog): Fast C++ logging library\n- [SPIRV-Cross](https://github.com/KhronosGroup/SPIRV-Cross): Parses and converts SPIR-V to other shader languages\n- [stb](https://github.com/nothings/stb): Single-file public domain (or MIT licensed) libraries\n- [tinygltf](https://github.com/syoyo/tinygltf): Header only C++11 glTF 2.0 file parser\n- [nlohmann json](https://github.com/nlohmann/json): C++ JSON Library (included by [tinygltf](https://github.com/syoyo/tinygltf))\n- [vma](https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator): Vulkan Memory Allocator\n- [volk](https://github.com/zeux/volk): Meta loader for Vulkan API\n- [vulkan](https://github.com/KhronosGroup/Vulkan-Docs): Sources for the formal documentation of the Vulkan API\n\nThis project uses assets from [vulkan-samples-assets](https://github.com/KhronosGroup/Vulkan-Samples-Assets). Each one has its own license.\n\n### Trademarks\n\nVulkan is a registered trademark of the Khronos Group Inc.\n\n## Contributions\n\nDonated to Khronos by Arm, with further contributions by Sascha Willems and Adam Sawicki. See [CONTRIBUTORS](CONTRIBUTORS.md) for the full contributor list.\n\nAlso see [CONTRIBUTING](CONTRIBUTING.md) for contribution guidelines.\n\n## Related resources\n\n- [Mali GPU Best Practices](https://developer.arm.com/documentation/101897/latest/): A document with recommendations for efficient API usage\n- [PerfDoc](https://github.com/ARM-software/perfdoc): A Vulkan layer which aims to validate applications against Mali GPU Best Practices\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpuopen-librariesandsdks%2Fvulkan-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpuopen-librariesandsdks%2Fvulkan-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpuopen-librariesandsdks%2Fvulkan-samples/lists"}