libobs-d3d11: Log device PCI IDs

This will help identify devices sharing the same names (eg "Intel HD
Graphics") for potentially adding to the blacklists should they have
issues.
master
Richard Stanway 2020-03-23 20:54:38 +01:00
parent 1dc2c6a3be
commit 54c5ac250f
1 changed files with 2 additions and 0 deletions

View File

@ -945,6 +945,8 @@ static inline void LogD3DAdapters()
desc.DedicatedVideoMemory);
blog(LOG_INFO, "\t Shared VRAM: %u",
desc.SharedSystemMemory);
blog(LOG_INFO, "\t PCI ID: %x:%x", desc.VendorId,
desc.DeviceId);
/* driver version */
LARGE_INTEGER umd;