    Skip to content

      Navigation Menu

            Sign in Appearance settings
                * Platform
                        + AI CODE CREATION
                            o GitHub Copilot Write better code with AI
                            o GitHub Copilot app Direct agents from issue to merge
                            o MCP Registry Integrate external tools
                        + DEVELOPER WORKFLOWS
                            o Actions Automate any workflow
                            o Codespaces Instant dev environments
                            o Issues Plan and track work
                            o Code Review Manage code changes
                            o Code Quality Enforce quality at merge
                        + APPLICATION SECURITY
                            o GitHub Advanced Security Find and fix vulnerabilities
                            o Code security Secure your code as you build
                            o Secret protection Stop leaks before they start
                        + EXPLORE
                            o Why GitHub
                            o Documentation
                            o Blog
                            o Changelog
                            o Marketplace
                      View all features
                * Solutions
                        + BY COMPANY SIZE
                            o Enterprises
                            o Small and medium teams
                            o Startups
                            o Nonprofits
                        + BY USE CASE
                            o App Modernization
                            o DevSecOps
                            o DevOps
                            o CI/CD
                            o View all use cases
                        + BY INDUSTRY
                            o Healthcare
                            o Financial services
                            o Manufacturing
                            o Government
                            o View all industries
                      View all solutions
                * Resources
                        + EXPLORE BY TOPIC
                            o AI
                            o Software Development
                            o DevOps
                            o Security
                            o View all topics
                        + EXPLORE BY TYPE
                            o Customer stories
                            o Events & webinars
                            o Ebooks & reports
                            o Business insights
                            o GitHub Skills
                        + SUPPORT & SERVICES
                            o Documentation
                            o Customer support
                            o Community forum
                            o Trust center
                            o Partners
                      View all resources
                * Open Source
                        + COMMUNITY
                            o GitHub Sponsors Fund open source developers
                        + PROGRAMS
                            o Security Lab
                            o Maintainer Community
                            o Accelerator
                            o GitHub Stars
                            o Archive Program
                        + REPOSITORIES
                            o Topics
                            o Trending
                            o Collections
                * Enterprise
                        + ENTERPRISE SOLUTIONS
                            o Enterprise platform AI-powered developer platform
                        + AVAILABLE ADD-ONS
                            o GitHub Advanced Security Enterprise-grade security features
                            o Copilot for Business Enterprise-grade AI features
                            o Premium Support Enterprise-grade 24/7 support
              * Pricing
                Type / to search
                Sign in
              Sign up Appearance settings
      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Uh oh!

              There was an error while loading. Please reload this page.

        This repository was archived by the owner on Oct 31, 2025. It is now read-only.
              EmbarkStudios / rust-gpu Public archive
              * Notifications You must be signed in to change notification settings
              * Fork 247
                * Star 7.6k
          * Code
          * Issues 87
          * Pull requests 21
          * Discussions
          * Actions
          * Projects
          * Security and quality 0
          * Insights
          Additional navigation options
                  * Code
                  * Issues
                  * Pull requests
                  * Discussions
                  * Actions
                  * Projects
                  * Security and quality
                  * Insights
                                              main
                                          Branches Tags
                                            Go to file
                                        Code
                                          Open more actions menu

                                        Folders and files

                                          Name                         Name                           Last commit message    Last commit date
                                            Latest commit            
                                                                     
                                                History              
                                                                     
                                                1,282 Commits        
                                                  1,282 Commits      
                                                  .cargo                       .cargo                                                        
                                                  .github                      .github                                                       
                                                  crates                       crates                                                        
                                                  docs                         docs                                                          
                                                  examples                     examples                                                      
                                                  tests                        tests                                                         
                                                  .gitattributes               .gitattributes                                                
                                                  .gitignore                   .gitignore                                                    
                                                  CHANGELOG.md                 CHANGELOG.md                                                  
                                                  CODE_OF_CONDUCT.md           CODE_OF_CONDUCT.md                                            
                                                  CONTRIBUTING.md              CONTRIBUTING.md                                               
                                                  Cargo.lock                   Cargo.lock                                                    
                                                  Cargo.toml                   Cargo.toml                                                    
                                                  LICENSE-APACHE               LICENSE-APACHE                                                
                                                  LICENSE-MIT                  LICENSE-MIT                                                   
                                                  README.md                    README.md                                                     
                                                  android.nix                  android.nix                                                   
                                                  clippy.toml                  clippy.toml                                                   
                                                  default.nix                  default.nix                                                   
                                                  deny.toml                    deny.toml                                                     
                                                  rust-toolchain.toml          rust-toolchain.toml                                           
                                                  rustfmt.toml                 rustfmt.toml                                                  
                                            View all files           
                                          

                                              Repository files navigation

                                                * 
                                                * README
                                                * Code of conduct
                                                * Contributing
                                                * Apache-2.0 license
                                                * MIT license
                                                * Security
                                                More items

                                                  This project has moved home!

                                                Active development continues in its new home, under the Rust-GPU org!

                                              This repository was the nursery of rust-gpu during its inception and while it was still under the stewardship of Embark Studios. It has now moved into community ownership under the Rust-GPU GitHub organization.

                                                  🐉 rust-gpu

                                                Rust as a first-class language and ecosystem for GPU graphics & compute shaders

                                                How rust-gpu began

                                              Historically in games GPU programming has been done through writing either HLSL, or to a lesser extent GLSL. These are simple programming languages that have evolved along with rendering APIs over the years. However, as game engines have evolved, these languages have failed to provide mechanisms for dealing with large codebases, and have generally stayed behind the curve compared to other programming languages.

                                              In part this is because it's a niche language for a niche market, and in part this has been because the industry as a whole has sunk quite a lot of time and effort into the status quo. While over-all better alternatives to both languages exist, none of them are in a place to replace HLSL or GLSL. Either because they are vendor locked, or because they don't support the traditional graphics pipeline. Examples of this include CUDA and OpenCL. And while attempts have been made to create language in this space, none of them have gained any notable traction in the gamedev community.

                                              Our hope with this project is that we push the industry forward by bringing an existing, low-level, safe, and high performance language to the GPU; namely Rust. And with it come some additional benefits that can't be overlooked: a package/module system that's one of the industry's best, built in safety against race-conditions or out of bounds memory access, a wide range of tools and utilities to improve programmer workflows, and many others!

                                                Backwards compatibility, breaking changes and deprecation

                                              Right now because the project is in an early state of development, we might introduce temporary changes as stop-gap measures, or implement features or APIs that might not work exactly in a way we end up liking. Therefore it is expected that some (if not most) of the user facing code will change and evolve over time. At the moment this means that we make no guarantees about backwards compatibility and have no formal deprecation model in place. Effectively meaning that currently we only support building from source with the latest main branch in our repository. We appreciate our early adopters and would ask them to evolve their code along with ours.

                                              Please read our Contributor Guide for more information on how to get started.

                                                License

                                              Licensed under either of

                                                * Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
                                                * MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

                                              at your option.

                                        About

                                        🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

                                          shader.rs

                                        Topics

                                          gpu-programmingrustshaders

                                        Resources

                                          Readme
                                          Apache-2.0, MIT licenses found

                                        Code of conduct

                                          Code of conduct

                                        Contributing

                                          Contributing

                                        Security policy

                                          Security policy
                                          Activity
                                          Custom properties

                                        Stars

                                          7.6k stars

                                        Watchers

                                          2 watching

                                        Forks

                                          247 forks
                                          Report repository

                                        Releases

                                        Contributors

                                        Languages

    Footer

        © 2026 GitHub, Inc.

      Footer navigation

        * Terms
        * Privacy
        * Security
        * Status
        * Community
        * Docs
        * Contact
        * Manage cookies
        * Do not share my personal information
      You can’t perform that action at this time.