HLSLCrossCompiler

https://github.com/James-Jones/HLSLCrossCompiler


This tool is used to cross compile HLSL bytecode to GLSL or GLSL ES. It provides functions to decode the reflection information embedded in HLSL bytecode. Both offline and online compilation are supported.

Supported Bytecode Formats

  • cs_4_0 cs_4_1 cs_5_0
  • ds_5_0
  • hs_5_0
  • gs_4_0 gs_4_1 gs_5_0
  • ps_4_0 ps_4_0_level_9_1 ps_4_0_level_9_3 ps_4_0_level_9_0 ps_4_1 ps_5_0
  • vs_4_0_level_9_3 vs_4_0_level_9_0 vs_4_1 vs_5_0

Supported Target Languages

  • GLSL ES 100
  • GLSL ES 300
  • GLSL ES 310
  • GLSL 120
  • GLSL 130
  • GLSL 140
  • GLSL 150
  • GLSL 330
  • GLSL 400
  • GLSL 410
  • GLSL 420
  • GLSL 430
  • GLSL 440