Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


How to get driver version in DX11


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

#1 jerrycao_1985   Members   -  Reputation: 140

Like
0Likes
Like

Posted 20 March 2013 - 08:50 PM

hi all

 

I can't find the proper interface for me to retrieve the version of dx driver using dx11.

I know how to get that in dx9 , but it seems that there is no such a field in dx11.

 

I would be really appreciated if anyone helps.

 

Thanks



Sponsor:

#2 Yourself   Crossbones+   -  Reputation: 1193

Like
0Likes
Like

Posted 21 March 2013 - 02:01 AM

Info about the GPU hardware can be retrieved using DXGI.

something like this:

IDXGIFactory *Factory; 
CreateDXGIFactory(__uuidof(IDXGIFactory), (void**)&Factory);
UINT AdapterIndex = 0; 
IDXGIAdapter* adapter = NULL; 
while (Factory->EnumAdapters(AdapterIndex, &adapter) != DXGI_ERROR_NOT_FOUND) 
{ 
	if (adapter) 
	{ 
		DXGI_ADAPTER_DESC desc; 
		adapter->GetDesc(&desc); 
	}
	++AdapterIndex;
}

Edited by Yourself, 21 March 2013 - 02:38 AM.


#3 jerrycao_1985   Members   -  Reputation: 140

Like
0Likes
Like

Posted 21 March 2013 - 11:58 PM

I used the exact same method for the information.

 

But here is the definition for the structure, there is no DriverVersion at all.

typedef struct DXGI_ADAPTER_DESC
    {
    WCHAR Description[ 128 ];
    UINT VendorId;
    UINT DeviceId;
    UINT SubSysId;
    UINT Revision;
    SIZE_T DedicatedVideoMemory;
    SIZE_T DedicatedSystemMemory;
    SIZE_T SharedSystemMemory;
    LUID AdapterLuid;
    } 	DXGI_ADAPTER_DESC;

Edited by jerrycao_1985, 21 March 2013 - 11:58 PM.


#4 NightCreature83   Crossbones+   -  Reputation: 3036

Like
0Likes
Like

Posted 22 March 2013 - 08:32 AM

Why do you need a driver version, ever since DX10 there are no more caps bits to check and if the device returns it supports a particular feature level it has to implement all of the intended functionality of that feature level.

 

You can ofcourse interogate windows which version is running but D3D will not give you anything more then a feature level in D3D11.


Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, Mad Max

#5 NiteLordz   Members   -  Reputation: 467

Like
0Likes
Like

Posted 22 March 2013 - 09:56 AM

I have run into situations where I have had to query the driver due to known driver issues. This is doing windows 8 applications and running feature level 11. Intel has/had an issue when our application launched that had blending issues.

So it is necessary, just not as often as previously
Code makes the man

#6 jerrycao_1985   Members   -  Reputation: 140

Like
0Likes
Like

Posted 23 March 2013 - 09:18 PM

Why do you need a driver version, ever since DX10 there are no more caps bits to check and if the device returns it supports a particular feature level it has to implement all of the intended functionality of that feature level.

 

You can ofcourse interogate windows which version is running but D3D will not give you anything more then a feature level in D3D11.

I think that is exactly what I want.

If there is no driver version query , there must be a reason , it's acceptable to me too.

 

Thanks






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