awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
microsoft avatar

microsoft/DirectXShaderCompiler

0
View on GitHub↗

DirectXShaderCompiler

DirectXShaderCompiler is an HLSL shader compiler that transforms High-Level Shader Language source code into intermediate language formats executable by GPUs. It functions as a shader bytecode validator to verify the correctness and hardware compatibility of compiled representations and as a software shader rasterizer for rendering when physical graphics hardware is unavailable.

The project includes a translation tool that converts HLSL shader code into the SPIR-V binary intermediate representation for use with cross-platform graphics APIs. It also provides capabilities for legacy shader migration by translating older shader bytecode formats into modern versions.

The toolset covers a broad range of capabilities, including cross-platform shader development and Vulkan SPIR-V integration.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Shader Cross-Compilation Pipelines - Transforms High-Level Shader Language source code into intermediate formats for execution by graphics drivers.
  • Cross-Platform Shader Compilers - Transforms unified shader code into platform-specific binaries to ensure visual consistency across different hardware.
  • Multi-API Shader Compilations - Generates GPU kernel code for multiple graphics APIs from a single HLSL shader source.
  • SPIR-V Translation Tools - Translates HLSL shader constructs directly into the cross-platform SPIR-V binary format.
  • SPIR-V Translators - Translates HLSL shader code into SPIR-V binary intermediate representation for use with cross-platform graphics APIs.
  • Software Rasterizers - Provides a software-based rasterizer to render shaders when physical graphics hardware is unavailable or unsupported.
  • Bytecode Migration - Translates older shader bytecode formats into modern versions for compatibility with new graphics drivers.
  • Common Intermediate Languages - Generates platform-independent instruction sets as a portable representation before native GPU compilation.
  • Intermediate Representations - Employs multiple internal data structures to decouple language parsing from final hardware target generation.
  • LLVM-Based Compilers - Utilizes the LLVM toolchain as a backend to generate optimized machine-level intermediate bytecode.
  • Shader Bytecode Versioning - Translates older shader bytecode formats into modern versions to maintain compatibility with current drivers.
  • Static Bytecode Validations - Performs static analysis on compiled binary shaders to ensure they meet hardware specification requirements.
  • Shader Validation - Verifies that compiled shader intermediate representations are correct and compatible with the target hardware.
  • Graphics API Guides - Compiler infrastructure for DirectX shader development.
3,493 stars·830 forks·C++·other·25 views

Star history

Star history chart for microsoft/directxshadercompilerStar history chart for microsoft/directxshadercompiler

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does microsoft/directxshadercompiler do?

DirectXShaderCompiler is an HLSL shader compiler that transforms High-Level Shader Language source code into intermediate language formats executable by GPUs. It functions as a shader bytecode validator to verify the correctness and hardware compatibility of compiled representations and as a software shader rasterizer for rendering when physical graphics hardware is unavailable.

What are the main features of microsoft/directxshadercompiler?

The main features of microsoft/directxshadercompiler are: Shader Cross-Compilation Pipelines, Cross-Platform Shader Compilers, Multi-API Shader Compilations, SPIR-V Translation Tools, SPIR-V Translators, Software Rasterizers, Bytecode Migration, Common Intermediate Languages.

Which projects share features with microsoft/directxshadercompiler?

Projects with overlapping indexed features include: embarkstudios/rust-gpu — Rust-GPU is a compiler and toolchain that translates Rust source code into SPIR-V bytecode for execution on graphics… gfx-rs/wgpu — This project is a cross-platform graphics and compute framework that provides a unified, hardware-agnostic abstraction… shader-slang/slang — Slang is a shader compiler framework that combines a modular shading language with automatic differentiation,… confettifx/the-forge — The Forge is a low-level toolkit for building high-performance graphics engines and applications across desktop,… bkaradzic/bgfx — bgfx is a cross-platform, graphics rendering abstraction layer designed for high-performance applications. It provides… gfx-rs/gfx — gfx is a hardware-agnostic graphics API abstraction that translates a unified set of graphics and compute commands…

Projects sharing features with DirectXShaderCompiler

These projects share indexed features with DirectXShaderCompiler. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • embarkstudios/rust-gpuEmbarkStudios avatar

    EmbarkStudios/rust-gpu

    7,572View on GitHub↗

    Rust-GPU is a compiler and toolchain that translates Rust source code into SPIR-V bytecode for execution on graphics and compute hardware. It provides a development environment for writing parallel compute kernels and graphics shaders using a custom LLVM backend that maps high-level language constructs to GPU-compatible memory layouts and instructions. The project enables cross-platform shader development, allowing the same Rust code to run across different GPU hardware and graphics APIs via the SPIR-V intermediate representation. It specifically supports the creation of general-purpose compu

    Rustgpu-programmingrustshaders
    View on GitHub↗7,572
  • gfx-rs/wgpugfx-rs avatar

    gfx-rs/wgpu

    17,382View on GitHub↗

    This project is a cross-platform graphics and compute framework that provides a unified, hardware-agnostic abstraction layer for rendering and parallel processing. It enables developers to build high-performance applications that execute consistently across diverse operating systems and hardware backends, including Vulkan, Metal, and DirectX. By mapping high-level graphics commands to native APIs, it serves as a portable foundation for both real-time 3D rendering and general-purpose GPU computing. The framework distinguishes itself through a robust architecture that supports both native deskt

    Rustd3d12gpuhacktoberfest
    View on GitHub↗17,382
  • confettifx/the-forgeConfettiFX avatar

    ConfettiFX/The-Forge

    5,575View on GitHub↗

    The Forge is a low-level toolkit for building high-performance graphics engines and applications across desktop, mobile, and console platforms. It provides a cross-platform engine framework and a dedicated shader compiler that translates a single source into target-specific languages for various graphics APIs and hardware. The project includes a GPU memory and resource manager that utilizes unified root signatures for resource binding, alongside a ray tracing rendering pipeline that implements hardware-accelerated ray and path tracing queries. State management is handled through a high-perfor

    C++
    View on GitHub↗5,575
  • shader-slang/slangshader-slang avatar

    shader-slang/slang

    5,039View on GitHub↗

    Slang is a shader compiler framework that combines a modular shading language with automatic differentiation, multi-target code generation, and an intrinsic mapping and extension system. At its core, Slang provides a differentiable shader compiler that automatically generates forward and backward derivative propagation for functions with control flow, enabling gradient-based optimization in graphics. The framework also includes a fully featured shader language with modules, generics, interfaces, and separate compilation, all designed for building reusable shader libraries. From a single source

    C++cudad3d12glsl
    View on GitHub↗5,039
  • Compare all 30 related projects→