mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d11] Require transform feedback for FL10_0 and newer
This has been supported in drivers for one and a half years at this point, so it should be safe to make it a hard requirement.
This commit is contained in:
parent
f92d60496c
commit
2cac70fbb6
@ -780,12 +780,8 @@ namespace dxvk {
|
|||||||
InitReturnPtr(ppGeometryShader);
|
InitReturnPtr(ppGeometryShader);
|
||||||
D3D11CommonShader module;
|
D3D11CommonShader module;
|
||||||
|
|
||||||
if (!m_dxvkDevice->features().extTransformFeedback.transformFeedback) {
|
if (!m_dxvkDevice->features().extTransformFeedback.transformFeedback)
|
||||||
Logger::err(
|
return DXGI_ERROR_INVALID_CALL;
|
||||||
"D3D11: CreateGeometryShaderWithStreamOutput:"
|
|
||||||
"\n Transform feedback not supported by device");
|
|
||||||
return S_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Zero-init some counterss so that we can increment
|
// Zero-init some counterss so that we can increment
|
||||||
// them while walking over the stream output entries
|
// them while walking over the stream output entries
|
||||||
@ -1949,8 +1945,8 @@ namespace dxvk {
|
|||||||
enabled.core.features.shaderImageGatherExtended = VK_TRUE;
|
enabled.core.features.shaderImageGatherExtended = VK_TRUE;
|
||||||
enabled.core.features.variableMultisampleRate = supported.core.features.variableMultisampleRate;
|
enabled.core.features.variableMultisampleRate = supported.core.features.variableMultisampleRate;
|
||||||
enabled.extConditionalRendering.conditionalRendering = supported.extConditionalRendering.conditionalRendering;
|
enabled.extConditionalRendering.conditionalRendering = supported.extConditionalRendering.conditionalRendering;
|
||||||
enabled.extTransformFeedback.transformFeedback = supported.extTransformFeedback.transformFeedback;
|
enabled.extTransformFeedback.transformFeedback = VK_TRUE;
|
||||||
enabled.extTransformFeedback.geometryStreams = supported.extTransformFeedback.geometryStreams;
|
enabled.extTransformFeedback.geometryStreams = VK_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (featureLevel >= D3D_FEATURE_LEVEL_10_1) {
|
if (featureLevel >= D3D_FEATURE_LEVEL_10_1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user