Skip to content

sinnwrig/mach-dxcompiler

 
 

Repository files navigation

mach-dxcompiler

The DirectX shader compiler, built better.

See 'Building the DirectX shader compiler better than Microsoft?' for details/background information.

Experimental

This is an experimental project according to our stability guarantees:

When a project has an experimental warning, it means all bets are off. You should carefully read the warning to understand why the project is experimental, and assume the worst.

Tracking issue: hexops/mach#1094

Features

  • Statically linked dxcompiler library and dxc executables.
  • Zero dependency on proprietary dxil.dll code-signing blob (see: Mach Siegbert Vogt DXCSA)
  • Built using build.zig instead of 10k+ LOC CMake build system.
  • Prebuilt binaries provided for many OS/arch.
  • Binaries for macOS and aarch64 Linux (first ever in history), among others.
  • Simple C API bundled into library as an alternative to the traditional COM API.

Documentation

machengine.org/pkg/mach-dxcompiler

Join the community

Join the Mach community on Discord to discuss this project, ask questions, get help, etc.

Issues

Issues are tracked in the main Mach repository.

About

DXC built using Zig

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 79.5%
  • C 12.6%
  • Zig 5.1%
  • NASL 2.2%
  • CMake 0.6%
  • Pawn 0.0%