Glsl transpiler, interpreter?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • naga

    Universal shader translation in Rust

  • Not sure about on the CPU, but naga is a shading language transpiler you can write custom front/backends for.

  • rust-gpu

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

  • rust-gpu is a project to give the Rust compiler a SPIR-V backend. naga could then convert that output to GLSL.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • wgpu

    Cross-platform, safe, pure-rust graphics api.

  • Myself, I've been thinking about going a different direction: writing the code twice but also writing unit tests that test the GPU implementation. In wgpu it is easy to access the GPU without also creating a window, so at some point I'm going to try writing hybrid unit tests.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts