mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 10:24:12 +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))
|
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_DOUBLES))
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
|
const VkPhysicalDeviceFeatures& features = m_dxvkDevice->features();
|
||||||
|
|
||||||
auto info = static_cast<D3D11_FEATURE_DATA_DOUBLES*>(pFeatureSupportData);
|
auto info = static_cast<D3D11_FEATURE_DATA_DOUBLES*>(pFeatureSupportData);
|
||||||
info->DoublePrecisionFloatShaderOps = FALSE;
|
info->DoublePrecisionFloatShaderOps = features.shaderFloat64 && features.shaderInt64;
|
||||||
} return S_OK;
|
} return S_OK;
|
||||||
|
|
||||||
case D3D11_FEATURE_FORMAT_SUPPORT: {
|
case D3D11_FEATURE_FORMAT_SUPPORT: {
|
||||||
|
Loading…
Reference in New Issue
Block a user