I've noticed it is possible to successfully compile a shader into object code (array of DWORDs) and still have CreateVertexShader() fail with INVALID_PARAMETER if the original shader had invalid numbers of instructions, samplers, constants, etc.
What does the shader you are submitting look like?
Show differencesHistory of post edits
#1Steve_Segreto
Posted 27 November 2012 - 04:12 PM
I've noticed it is possible to compile a shader into the object code (array of DWORDs) and then have CreateVertexShader() fail with INVALID_PARAMETER if the original shader had invalid numbers of instructions, samplers, constants, etc.
What does the shader you are submitting look like?
What does the shader you are submitting look like?