Posted By: BoH_Havoc
get exact pixelshader version (ps2.0, 2.a, 2.b) and r32f support - 03/18/10 13:51
Hi,
I'm trying to get the shader capabilities of a gfx card through D3DCAPS9 but i can't get it to work. What i need is the exact pixelshader version the gfx card supports (ps 2.0, ps 2.a, ps 2.b or ps 3.0) and if the card supports r16f and/or r32f textures as well as MRTs (2 or 4).
Is there anyone who already did this and can give me some help?
Oh and using a dll is not an option. I need it lite-c only.
Any help appreciated
I'm trying to get the shader capabilities of a gfx card through D3DCAPS9 but i can't get it to work. What i need is the exact pixelshader version the gfx card supports (ps 2.0, ps 2.a, ps 2.b or ps 3.0) and if the card supports r16f and/or r32f textures as well as MRTs (2 or 4).
Is there anyone who already did this and can give me some help?
Oh and using a dll is not an option. I need it lite-c only.
Any help appreciated