dxil-reader 0.12.0

DXIL reader: decodes Direct3D Shader Model 6 programs (LLVM bitcode in a DXBC container) to modules, with resource, signature and RDAT reflection records
Documentation
1
2
3
4
5
6
7
8
// dxc: -T vs_6_0 -E main -Fo precise.vs.dxil
cbuffer C : register(b0) { float4 a; float4 b; float4 c; };
float4 main(float4 p : POSITION) : SV_Position {
    precise float4 x = p * a + b;
    float4 y = x * c + p.wzyx;
    precise float z = y.x * y.y + y.z;
    return float4(x.xy, z, y.w);
}