Thanks to visit codestin.com
Credit goes to github.com

Skip to content

YYadorigi/HLSL-Decompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLSL Decompiler

This project translates DXBC (SM 5.x or lower), DXIL (SM 6.x), and SPIR-V codes into the original HLSL shaders commonly used in Unreal Engine 5 projects.

Building

Dependencies

Requires CMake 3.10+ and C++17 support

Build

cmake -B build -S .
cmake --build build --config Release

RenderDoc Plugin Integration

DXBC -> HLSL

Field Value
Name DXBC Decompiler
Tool Type Custom Tool
Executable Absolute path of HLSLDecompiler.bat, typically ./build/Release/HLSLDecompiler.bat
Command Line {input_file} -dxbc
Input/Output DXBC/HLSL

DXIL -> HLSL

Field Value
Name DXIL Decompiler
Tool Type Custom Tool
Executable Absolute path of HLSLDecompiler.bat, typically ./build/Release/HLSLDecompiler.bat
Command Line {input_file} -dxil
Input/Output DXIL/HLSL

SPIR-V -> HLSL

Field Value
Name SPIR-V Decompiler
Tool Type Custom Tool
Executable Absolute path of HLSLDecompiler.bat, typically ./build/Release/HLSLDecompiler.bat
Command Line {input_file} -spirv
Input/Output SPIR-V/HLSL

About

Convert DXBC/DXIL/SPIR-V to HLSL for Use in RenderDoc Plugins

Resources

Stars

Watchers

Forks

Packages

No packages published