diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-08-19 21:53:52 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-08-20 13:54:50 +0300 |
commit | 49b7ce025d6d1e3adb70c28b276a9b7378f57a9f (patch) | |
tree | 491ea0a03af29accc05a1d26c579434d192027c1 /indra/llwindow/lldxhardware.h | |
parent | 19a74195dda9cfb20466f5f7b09fe1caf84813a6 (diff) |
SL-7934 Driver version from wrong GPU
Diffstat (limited to 'indra/llwindow/lldxhardware.h')
-rw-r--r-- | indra/llwindow/lldxhardware.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llwindow/lldxhardware.h b/indra/llwindow/lldxhardware.h index 1cb687e3b6..9cec3e2f1b 100644 --- a/indra/llwindow/lldxhardware.h +++ b/indra/llwindow/lldxhardware.h @@ -88,7 +88,15 @@ public: // vram_only TRUE does a "light" probe. BOOL getInfo(BOOL vram_only); - std::string getDriverVersionWMI(); + // WMI can return multiple GPU drivers + // specify which one to output + typedef enum { + GPU_INTEL, + GPU_NVIDIA, + GPU_AMD, + GPU_ANY + } EGPUVendor; + std::string getDriverVersionWMI(EGPUVendor vendor); S32 getVRAM() const { return mVRAM; } |