What kind of compilers are used for shader compilation, and is the field as rich in development and innovations as say gcc or llvm?

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • llvm-project

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

  • Yes, many of the optimizations are rather similar, to the point that both gcc and llvm actually are used to generate GPU code in some driver stacks - see https://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/AMDGPU for example. Even on driver stacks that don't use llvm to actually generate code, parts are often used in the shader compiler path - eg on MacOS a modified llvm and clang is used to implement the metal shader language and generate an IR that is the consumed by the driver backend, which may then use llvm or something else for code generation. I think cuda also uses a modified clang.

  • DirectXShaderCompiler

    This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.

  • Arguably one of the most popular shader compiler is Microsoft's own DirectX Shader Compiler, which is based off Clang. Their older FXC compiler was proprietary and as far as I know not based on any common framework.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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

  • Shader Compilation

    2 projects | /r/GraphicsProgramming | 24 Jun 2023
  • Apple's Game Porting Toolkit seems to have a D3DMetal.framework with full implementations of DirectX 12 to 9 on Metal

    1 project | /r/macgaming | 6 Jun 2023
  • Start project on Metal, port to DX11?

    3 projects | /r/GraphicsProgramming | 27 Apr 2023
  • Using WebGPU as a graphics API for native C++ applications

    1 project | /r/cpp | 20 Apr 2023
  • What amazing things do you guys do with LLVM?

    1 project | /r/LLVM | 19 Apr 2023