mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[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.
This commit is contained in:
parent
4d4bd182c1
commit
c3ae180c1a
@ -613,8 +613,8 @@ namespace dxvk {
|
|||||||
if (!m_dxvkDevice->features().extTransformFeedback.transformFeedback) {
|
if (!m_dxvkDevice->features().extTransformFeedback.transformFeedback) {
|
||||||
Logger::err(
|
Logger::err(
|
||||||
"D3D11: CreateGeometryShaderWithStreamOutput:"
|
"D3D11: CreateGeometryShaderWithStreamOutput:"
|
||||||
"\n Transform feedback not supoorted by device");
|
"\n Transform feedback not supported by device");
|
||||||
return m_d3d11Options.fakeStreamOutSupport ? S_OK : E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Zero-init some counterss so that we can increment
|
// Zero-init some counterss so that we can increment
|
||||||
|
@ -7,7 +7,6 @@ namespace dxvk {
|
|||||||
D3D11Options::D3D11Options(const Config& config) {
|
D3D11Options::D3D11Options(const Config& config) {
|
||||||
this->allowMapFlagNoWait = config.getOption<bool>("d3d11.allowMapFlagNoWait", false);
|
this->allowMapFlagNoWait = config.getOption<bool>("d3d11.allowMapFlagNoWait", false);
|
||||||
this->dcSingleUseMode = config.getOption<bool>("d3d11.dcSingleUseMode", true);
|
this->dcSingleUseMode = config.getOption<bool>("d3d11.dcSingleUseMode", true);
|
||||||
this->fakeStreamOutSupport = config.getOption<bool>("d3d11.fakeStreamOutSupport", false);
|
|
||||||
this->zeroInitWorkgroupMemory = config.getOption<bool>("d3d11.zeroInitWorkgroupMemory", false);
|
this->zeroInitWorkgroupMemory = config.getOption<bool>("d3d11.zeroInitWorkgroupMemory", false);
|
||||||
this->maxTessFactor = config.getOption<int32_t>("d3d11.maxTessFactor", 0);
|
this->maxTessFactor = config.getOption<int32_t>("d3d11.maxTessFactor", 0);
|
||||||
this->samplerAnisotropy = config.getOption<int32_t>("d3d11.samplerAnisotropy", -1);
|
this->samplerAnisotropy = config.getOption<int32_t>("d3d11.samplerAnisotropy", -1);
|
||||||
|
@ -25,14 +25,6 @@ namespace dxvk {
|
|||||||
/// than once.
|
/// than once.
|
||||||
bool dcSingleUseMode;
|
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
|
/// Zero-initialize workgroup memory
|
||||||
///
|
///
|
||||||
/// Workargound for games that don't initialize
|
/// Workargound for games that don't initialize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user