mediafoundation: get device vendor id, device id, and driver version

Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35219>
This commit is contained in:
Pohsiang (John) Hsu
2025-05-20 17:13:02 -07:00
committed by Marge Bot
parent 5ee854c4eb
commit 22d84522ed
7 changed files with 90 additions and 209 deletions
@@ -925,7 +925,7 @@ CDX12EncHMFT::SetValue( const GUID *Api, VARIANT *Value )
else if( *Api == CODECAPI_AVLowLatencyMode )
{
// TODO: remove this code path when we clarify whether this is supported on AMD.
if( m_EncoderCapabilities.m_deviceVendor == "AMD" )
if( m_deviceVendor == "AMD" )
{
debug_printf( "[dx12 hmft 0x%p] Device vendor is AMD, ignore LowLatency Settings\n", this );
m_bLowLatency = TRUE;