Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


finding what directX version you GPU can use


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
3 replies to this topic

#1 the dodger uk   Members   -  Reputation: 148

Like
0Likes
Like

Posted 18 January 2013 - 01:09 PM

i need to know if  my GPU can run directx10 or 11 through code.

 

i have a project written in dx11 , and so  the shaders are dx11

 

but i am running it on a dx10 machine at the moment  , so i need to convert the sahders to dx10

 

 

i want the  project to  detect what version of dx it can run in the GPU though code 

 

any ideas



Sponsor:

#2 ATEFred   Members   -  Reputation: 1107

Like
2Likes
Like

Posted 18 January 2013 - 01:17 PM

You can detect the supported feature level of your GPU (9/10/11) when you create the device. Just don't specify a specific feature level (pass NULL for the feature level array parameter) and check the pFeatureLevel value the method will output. For more details, look at the docs for the D3D11CreateDevice function.  



#3 MJP   Moderators   -  Reputation: 11619

Like
2Likes
Like

Posted 18 January 2013 - 01:36 PM

There's no reason to use DX10, any GPU that supports DX10 can be targeted with DX11. Like ATEFred mentioned you can check the feature level of the device to see what features are supported.



#4 kubera   Members   -  Reputation: 946

Like
0Likes
Like

Posted 20 January 2013 - 06:30 AM

This method can not validate the GPU against the 11.1 feature level.

Please consider reading the thread below:

http://xboxforums.create.msdn.com/forums/p/99471/592501.aspx#592501






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