PDA

View Full Version : Determine Fragment Shader Version



Flash2000
05-05-2009, 05:16 AM
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!

martinsm
05-05-2009, 08:08 AM
http://opengl.org/wiki/Shading_languages:_How_to_detect_shader_model%3F