Print GPU info in D3D11VA renderer
This commit is contained in:
parent
93ee51cabb
commit
93c02fb43a
1 changed files with 6 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue