1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 19:24:10 +01:00

[d3d11] Enable 64-bit math feature

We still have DMovc to implement, but it doesn't look like this
instruction is required as of now.
This commit is contained in:
Philip Rebohle 2018-06-07 15:35:24 +02:00
parent 10170a89ab
commit 68a7ad81e1
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1546,8 +1546,10 @@ namespace dxvk {
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_DOUBLES))
return E_INVALIDARG;
const VkPhysicalDeviceFeatures& features = m_dxvkDevice->features();
auto info = static_cast<D3D11_FEATURE_DATA_DOUBLES*>(pFeatureSupportData);
info->DoublePrecisionFloatShaderOps = FALSE;
info->DoublePrecisionFloatShaderOps = features.shaderFloat64 && features.shaderInt64;
} return S_OK;
case D3D11_FEATURE_FORMAT_SUPPORT: {