Skip to main content
GameDev.net gamedev.net
🔒 Locked

Unrecognizable bytecode using DXC compiler

Started by Flone Mar 3, 2021 at 6:27 PM 1 replies 6.9k views
Original Post
Flone
Flone

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)?

Flone
Flone

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.