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:
parent
10170a89ab
commit
68a7ad81e1
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user