Skip to content

octoon/DirectXShaderCompiler-conan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectX Shader Compiler - Conan Recipe

This repository contains a Conan 2.x recipe for the DirectX Shader Compiler (DXC).

About

DirectX Shader Compiler is based on LLVM/Clang and is the official compiler for HLSL (High-Level Shader Language) to DXIL (DirectX Intermediate Language).

Features

  • Compiles HLSL shaders to DXIL
  • Optional SPIR-V code generation support
  • Cross-platform support (Windows, Linux)

Usage

Building the package

conan create . --build=missing

Options

  • enable_spirv: Enable SPIR-V code generation (default: False)
  • build_dxilconv: Include DXBC to DXIL converter and tools (default: True)

Using in your project

Add to your conanfile.txt or conanfile.py:

[requires]
directx-shader-compiler/1.8.2403

[tool_requires]
directx-shader-compiler/1.8.2403

Building from local source

This recipe uses the local DirectXShaderCompiler directory as the source.

conan create . --name=directx-shader-compiler --version=local --build=missing

License

The DirectX Shader Compiler is licensed under the University of Illinois/NCSA Open Source License. See the LICENSE.TXT file in the DirectXShaderCompiler directory for details.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published