1
Vote

GenerateInputLayout for invalid shader ID should immediately fail

description

When a shader fails compilation or the source file isn't found, its shader ID is 0xffffffff. If this value is passed to GenerateInputLayout, it tries to create an input layout to a shader that doesn't exist. This should be handled in a more transparent way than it currently is.

comments