Shadertoys Ported to Rust GPU

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. encase

    Provides a mechanism to lay out data into GPU buffers according to WGSL's memory layout rules

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. ShaderConductor

    Discontinued ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages

    I think this is the way forward for shading languages.

    I'm writing a simple renderer with an OpenGL, Metal and Vulkan backend. I avoid using any shader transpiler such as Microsoft's ShaderConductor [0], as this adds a huge dependency to the project. As a hacky solution I'm simply maintaining a copy for each shading language (Metal Shading Language, GLSL, etc.). For a focused non-gaming project that seems easier.

    However, having a compiler that compiles a subset of the programming language I'm using for a project (such as Rust or C++) to the individual shading languages, sounds amazing, and would make shader writing when not using a game engine more joyful.

    [0] https://github.com/microsoft/ShaderConductor

  4. wesl-spec

    A portable and modular superset of WGSL

    Not sure why you think WGSL is owned by the Rust community--it's clearly owned by the W3C. (That's part of why it moves so slowly.) WESL [1] is the community-owned set of extensions to WGSL that, while incomplete, promises to move it much closer to Rust.

    [1]: https://github.com/wgsl-tooling-wg/wesl-spec

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

  • Ask HN: Resources for GPU Compilers?

    6 projects | news.ycombinator.com | 2 Sep 2024
  • Question about installing GLSL linter

    1 project | /r/opengl | 20 May 2023
  • Higher level language transpiling to GLSL?

    1 project | /r/shaders | 12 Jul 2022
  • Need guidance on SPIRV reflection

    2 projects | /r/vulkan | 20 May 2022
  • What happened to dev-util/glslang?

    1 project | /r/Gentoo | 31 Jan 2022