Sign in to follow this  

[DX10] Possible to call CreateInputLayout() without shader?

Recommended Posts

Hi, Can't seem to find an answer to this in the docs; I want to create an input layout up front, but I dont have any shaders compiled at the time to pass to the function so that it can validate. Is there any way to call CreateInputLayout() without needing a shader for it to validate against? I tried passing in 0 for both "pShaderBytecodeWithInputSignature" and "BytecodeLength" but it just fails and doesnt give me an input layout.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this