1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-03 04:24:11 +01:00

[dxvk] Add feature bit for extended dynamic state

This commit is contained in:
Philip Rebohle 2020-06-22 13:24:40 +02:00
parent 9f3fb028b0
commit 9ba99eba93
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@ namespace dxvk {
m_staging (device) {
if (m_device->features().extRobustness2.nullDescriptor)
m_features.set(DxvkContextFeature::NullDescriptors);
if (m_device->features().extExtendedDynamicState.extendedDynamicState)
m_features.set(DxvkContextFeature::ExtendedDynamicState);
}

View File

@ -61,6 +61,7 @@ namespace dxvk {
*/
enum class DxvkContextFeature {
NullDescriptors,
ExtendedDynamicState,
};
using DxvkContextFeatures = Flags<DxvkContextFeature>;