1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-14 04:29:15 +01:00

[dxbc] Set usesDerivatives for gather and LOD query operations as well

Because these do implicitly use derivatives.
This commit is contained in:
Philip Rebohle 2021-02-21 14:24:54 +01:00
parent 5643bf47fe
commit 96e1079526
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -38,6 +38,8 @@ namespace dxvk {
} break;
case DxbcInstClass::TextureSample:
case DxbcInstClass::TextureGather:
case DxbcInstClass::TextureQueryLod:
case DxbcInstClass::VectorDeriv: {
m_analysis->usesDerivatives = true;
} break;