Determine Fragment Shader Version

Hi,

is there a way to determine the (directx) pixel shader version? I mean something like ps_3_0? My application requires pixel shader 3 - if pixel shader 3 is unsupported I want to fall back to a (basic) fixed function pipeline rendering. any ideas or code to implement this detection?

Thanks in advance!

http://opengl.org/wiki/Shading_languages:_How_to_detect_shader_model%3F

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.