From 9ba99eba9327b7a65632d2e7bcc949c68b9ab4da Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 22 Jun 2020 13:24:40 +0200 Subject: [PATCH] [dxvk] Add feature bit for extended dynamic state --- src/dxvk/dxvk_context.cpp | 2 ++ src/dxvk/dxvk_context_state.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index 3f8b9818..d80a7517 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -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); } diff --git a/src/dxvk/dxvk_context_state.h b/src/dxvk/dxvk_context_state.h index 855a9b6d..fbffcbd9 100644 --- a/src/dxvk/dxvk_context_state.h +++ b/src/dxvk/dxvk_context_state.h @@ -61,6 +61,7 @@ namespace dxvk { */ enum class DxvkContextFeature { NullDescriptors, + ExtendedDynamicState, }; using DxvkContextFeatures = Flags;