When validation is disabled (via /Vd on the dxc command line) the output is a plain llvm bitcode module instead of a dxil container. I would expect the output to be a dxil container with unsigned dxil inside.
λ dxc t.hlsl /Fo t.fxc /Tps_5_0
λ file t.fxc
t.fxc: data
λ Powershell -Command "Get-Content t.fxc -Encoding Byte -TotalCount 4 | Format-Hex"
Path:
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 44 58 42 43 DXBC
λ dxc /Vd t.hlsl /Fo t2.fxc /Tps_5_0
λ file t2.fxc
t2.fxc: LLVM IR bitcode
λ Powershell -Command "Get-Content t2.fxc -Encoding Byte -TotalCount 4 | Format-Hex"
Path:
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 42 43 C0 DE BCÀÞ
When validation is disabled (via /Vd on the dxc command line) the output is a plain llvm bitcode module instead of a dxil container. I would expect the output to be a dxil container with unsigned dxil inside.