mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-11 10:16:09 +00:00
Print GPU info in D3D11VA renderer
This commit is contained in:
@@ -1073,6 +1073,12 @@ bool D3D11VARenderer::checkDecoderSupport(IDXGIAdapter* adapter)
|
||||
return false;
|
||||
}
|
||||
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Detected GPU: %S (%x:%x)",
|
||||
adapterDesc.Description,
|
||||
adapterDesc.VendorId,
|
||||
adapterDesc.DeviceId);
|
||||
|
||||
if (DXUtil::isFormatHybridDecodedByHardware(m_DecoderParams.videoFormat, adapterDesc.VendorId, adapterDesc.DeviceId)) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"GPU decoding for format %x is blocked due to hardware limitations",
|
||||
|
||||
Reference in New Issue
Block a user