Unrecognizable bytecode using DXC compiler

Started by
1 comment, last by Flone 3 years, 2 months ago

Hello wonderful people! I'm using D3D12 and trying to switch from FXC to DXC (from shader model 5.1 to 6.0). All works fine, and shaders are compiled without error but when I use CreateGraphicsPipelineState() I get some errors saying:

Input Signature in bytecode could not be parsed.  Data may be corrupt or in an unrecognizable format.

Vertex Shader is corrupt or in an unrecognized format.

Pixel Shader is corrupt or in an unrecognized format.

INVALIDSHADERBYTECODE

Is there something I also need to change in the code (except for shader compilation)?

Advertisement

It turned out that the problem was that dxil.dll was not found. Fixed it.

This topic is closed to new replies.

Advertisement