Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualSteve_Segreto

Posted 27 November 2012 - 04:12 PM

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?

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

PARTNERS