# Get video chipset manufacturer in Direct3D

I'd need to know if the video chipset Direct3D runs on is from Nvidia, AMD or Intel.

Is there a way to do that?

• This question scares me... are you trying to do some sort of branching on this, or even worse, a card database? – Lars Viklund Jul 4 '12 at 12:04
• @Lars I'm using some vendor-specific extensions so I might use this as a first guess of which one to try. So yes, branching, what's wrong with this? – Laurent Couvidou Jul 4 '12 at 12:12
• Fair enough. Usually when this kind of question appears, it's someone that hardcodes a mapping from name to capabilities that is instantly obsolete as soon as it's compiled. Such lists were the bane of software like Cedega, which exposes a fairly different set of capabilities. – Lars Viklund Jul 4 '12 at 14:54

Ha, found it with more googling.

D3D9: call IDirect3D9::GetAdapterIdentifier and check the VendorId of the provided D3DADAPTER_IDENTIFIER9 structure.

D3D11: call IDXGIAdapter::GetDesc and check the VendorId of the provided DXGI_ADAPTER_DESC structure.