mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Print GPU info in D3D11VA renderer
This commit is contained in:
@@ -1073,6 +1073,12 @@ bool D3D11VARenderer::checkDecoderSupport(IDXGIAdapter* adapter)
|
|||||||
return false;
|
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)) {
|
if (DXUtil::isFormatHybridDecodedByHardware(m_DecoderParams.videoFormat, adapterDesc.VendorId, adapterDesc.DeviceId)) {
|
||||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"GPU decoding for format %x is blocked due to hardware limitations",
|
"GPU decoding for format %x is blocked due to hardware limitations",
|
||||||
|
|||||||
Reference in New Issue
Block a user