[dxvk] Mark more pipeline state as dynamic for base pipelines

Otherwise we might never set depth bias and friends.
This commit is contained in:
Philip Rebohle 2022-07-14 21:47:32 +02:00
parent 70a71237cf
commit b00d7f35f5
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 6 additions and 1 deletions

View File

@ -4545,6 +4545,8 @@ namespace dxvk {
if (m_device->features().core.features.depthBounds) {
m_cmd->cmdSetDepthBoundsState(
m_state.gp.state.ds.enableDepthBoundsTest());
m_flags.set(DxvkContextFlag::GpDynamicDepthBounds);
}
m_cmd->cmdSetDepthBiasState(
@ -4553,7 +4555,10 @@ namespace dxvk {
if (!m_flags.test(DxvkContextFlag::GpDynamicRasterizerState))
m_cmd->cmdSetRasterizerState(VK_CULL_MODE_FRONT_AND_BACK, VK_FRONT_FACE_CLOCKWISE);
m_flags.set(DxvkContextFlag::GpIndependentSets);
m_flags.set(
DxvkContextFlag::GpDynamicDepthBias,
DxvkContextFlag::GpDynamicStencilRef,
DxvkContextFlag::GpIndependentSets);
}
// If necessary, dirty descriptor sets due to layout incompatibilities