From c3ae180c1abe36b28d4b176b528edea7ff84db16 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 19 Jan 2019 17:38:38 +0100 Subject: [PATCH] [d3d11] Remove d3d11.fakeStreamOutput option Only relevant on old drivers which do not support the extension. Assumed to be enabled by default if Transform Feedback is not supported. --- src/d3d11/d3d11_device.cpp | 4 ++-- src/d3d11/d3d11_options.cpp | 1 - src/d3d11/d3d11_options.h | 8 -------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index d0a4521d..d78bde3e 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -613,8 +613,8 @@ namespace dxvk { if (!m_dxvkDevice->features().extTransformFeedback.transformFeedback) { Logger::err( "D3D11: CreateGeometryShaderWithStreamOutput:" - "\n Transform feedback not supoorted by device"); - return m_d3d11Options.fakeStreamOutSupport ? S_OK : E_NOTIMPL; + "\n Transform feedback not supported by device"); + return S_OK; } // Zero-init some counterss so that we can increment diff --git a/src/d3d11/d3d11_options.cpp b/src/d3d11/d3d11_options.cpp index 153157ca..5ffdedc1 100644 --- a/src/d3d11/d3d11_options.cpp +++ b/src/d3d11/d3d11_options.cpp @@ -7,7 +7,6 @@ namespace dxvk { D3D11Options::D3D11Options(const Config& config) { this->allowMapFlagNoWait = config.getOption("d3d11.allowMapFlagNoWait", false); this->dcSingleUseMode = config.getOption("d3d11.dcSingleUseMode", true); - this->fakeStreamOutSupport = config.getOption("d3d11.fakeStreamOutSupport", false); this->zeroInitWorkgroupMemory = config.getOption("d3d11.zeroInitWorkgroupMemory", false); this->maxTessFactor = config.getOption("d3d11.maxTessFactor", 0); this->samplerAnisotropy = config.getOption("d3d11.samplerAnisotropy", -1); diff --git a/src/d3d11/d3d11_options.h b/src/d3d11/d3d11_options.h index b520978c..6558cd6d 100644 --- a/src/d3d11/d3d11_options.h +++ b/src/d3d11/d3d11_options.h @@ -25,14 +25,6 @@ namespace dxvk { /// than once. bool dcSingleUseMode; - /// Fakes stream output support. - /// - /// Temporary hack that fixes issues in some games - /// which technically need stream output but work - /// well enough without it. Will be removed once - /// Stream Output is properly supported in DXVK. - bool fakeStreamOutSupport; - /// Zero-initialize workgroup memory /// /// Workargound for games that don't initialize