mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 19:24:11 +01:00
[dxvk] Add feature bit for extended dynamic state
This commit is contained in:
parent
9f3fb028b0
commit
9ba99eba93
@ -19,6 +19,8 @@ namespace dxvk {
|
|||||||
m_staging (device) {
|
m_staging (device) {
|
||||||
if (m_device->features().extRobustness2.nullDescriptor)
|
if (m_device->features().extRobustness2.nullDescriptor)
|
||||||
m_features.set(DxvkContextFeature::NullDescriptors);
|
m_features.set(DxvkContextFeature::NullDescriptors);
|
||||||
|
if (m_device->features().extExtendedDynamicState.extendedDynamicState)
|
||||||
|
m_features.set(DxvkContextFeature::ExtendedDynamicState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ namespace dxvk {
|
|||||||
*/
|
*/
|
||||||
enum class DxvkContextFeature {
|
enum class DxvkContextFeature {
|
||||||
NullDescriptors,
|
NullDescriptors,
|
||||||
|
ExtendedDynamicState,
|
||||||
};
|
};
|
||||||
|
|
||||||
using DxvkContextFeatures = Flags<DxvkContextFeature>;
|
using DxvkContextFeatures = Flags<DxvkContextFeature>;
|
||||||
|
Loading…
Reference in New Issue
Block a user