Skip to content

Commit f743c23

Browse files
committed
Fix PixelShaderMinPrecision bitfield comparison
1 parent e9d7796 commit f743c23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/streaming/video/ffmpeg-renderers/d3d11va.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ bool D3D11VARenderer::createDeviceByAdapterIndex(int adapterIndex, bool* adapter
407407
separateDevices = adapterDesc.VendorId == 0x8086 || // Intel
408408
(adapterDesc.VendorId == 0x10DE && HIWORD(umdVersion.HighPart) >= 30) || // NVIDIA WDDM 3.0+ (PCI ID)
409409
adapterDesc.VendorId == 'ADVN' || // NVIDIA (WoA)
410-
(adapterDesc.VendorId == 0x1002 && minPrecSupport.PixelShaderMinPrecision == D3D11_SHADER_MIN_PRECISION_16_BIT); // AMD Vega+
410+
(adapterDesc.VendorId == 0x1002 && (minPrecSupport.PixelShaderMinPrecision & D3D11_SHADER_MIN_PRECISION_16_BIT)); // AMD Vega+
411411
}
412412
}
413413

0 commit comments

Comments
 (0)