Jump to content

  • Log In with Google      Sign In   
  • Create Account

D3DX10ReflectShader on non-SP1 Vista


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 DaBono   Members   -  Reputation: 982

Like
0Likes
Like

Posted 26 October 2008 - 01:34 AM

I'm making my first steps on using shader reflection in DX10. Now the docs say that I must use D3DX10ReflectShader, which will give me a pointer to a ID3D10ShaderReflection1. The 1 at the end leads me to believe it's a DirectX 10.1-structure, as does the remark in the documentation: 'This requires Windows Vista Service Pack 1'. So what happens when I use D3DX10ReflectShader on a Vista that does not have SP1? Can I simply cast the returned pointer to a ID3D10ShaderReflection, thereby maintaining DX 10.0 compatibility?

Sponsor:

#2 Jalibr   Members   -  Reputation: 283

Like
0Likes
Like

Posted 26 October 2008 - 12:18 PM

All of the reflection code is hosted in d3dcompiler.dll, so there shouldn't be any requirements on Vista SP1.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS