mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d9] Do not enable support for DF formats on Nvidia
This commit is contained in:
parent
0c2efda804
commit
20185a5309
@ -515,7 +515,9 @@
|
||||
|
||||
# Support DF formats
|
||||
#
|
||||
# Support the vendor extension DF floating point depth formats
|
||||
# Support the vendor extension DF floating point depth formats on AMD and Intel.
|
||||
# Note that this config is ignored and disabled by default on Nvidia, or when
|
||||
# spoofing a Nvidia GPU, as it does not support these formats natively.
|
||||
#
|
||||
# Supported values:
|
||||
# - True/False
|
||||
|
@ -438,7 +438,11 @@ namespace dxvk {
|
||||
D3D9VkFormatTable::D3D9VkFormatTable(
|
||||
const Rc<DxvkAdapter>& adapter,
|
||||
const D3D9Options& options) {
|
||||
m_dfSupport = options.supportDFFormats;
|
||||
|
||||
const auto& props = adapter->deviceProperties();
|
||||
uint32_t vendorId = options.customVendorId == -1 ? props.vendorID : uint32_t(options.customVendorId);
|
||||
|
||||
m_dfSupport = options.supportDFFormats && DxvkGpuVendor(vendorId) != DxvkGpuVendor::Nvidia;
|
||||
m_x4r4g4b4Support = options.supportX4R4G4B4;
|
||||
m_d32supportFinal = options.supportD32;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user