Skip to main content
Explore shadercompiler topics for XBOX game development.

Porting shaders from fxc to dxc

This topic should be used as a reference point when porting your existing high-level shader language (HLSL) shaders over from D3DCompiler…

Using dxc.exe and the dxcompiler .dll

DXC supports a command-line interface (dxc.exe) and a .dll interface (dxcompiler.dll, dxcompiler.lib, dxcapi.h, and d3d12shader.h).

Using defines on XBOX

On XBOX One and XBOX Series X|S, special defines are used to control the compiler in ways specific to the platform.

Dxc HLSL extensions

a id=“rootsig”/a

Dxc compiler intrinsics

The following intrinsics are supported by DXC for XBOX and/or XBOX Series X|S.

Shader compiler

The DirectX Shader Compiler (DXCompiler or DXC) is a new shader compiler for Windows and XBOX.

See also

Last modified on August 20, 2026