mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +01:00
[dxvk] Mark more pipeline state as dynamic for base pipelines
Otherwise we might never set depth bias and friends.
This commit is contained in:
parent
70a71237cf
commit
b00d7f35f5
@ -4545,6 +4545,8 @@ namespace dxvk {
|
|||||||
if (m_device->features().core.features.depthBounds) {
|
if (m_device->features().core.features.depthBounds) {
|
||||||
m_cmd->cmdSetDepthBoundsState(
|
m_cmd->cmdSetDepthBoundsState(
|
||||||
m_state.gp.state.ds.enableDepthBoundsTest());
|
m_state.gp.state.ds.enableDepthBoundsTest());
|
||||||
|
|
||||||
|
m_flags.set(DxvkContextFlag::GpDynamicDepthBounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_cmd->cmdSetDepthBiasState(
|
m_cmd->cmdSetDepthBiasState(
|
||||||
@ -4553,7 +4555,10 @@ namespace dxvk {
|
|||||||
if (!m_flags.test(DxvkContextFlag::GpDynamicRasterizerState))
|
if (!m_flags.test(DxvkContextFlag::GpDynamicRasterizerState))
|
||||||
m_cmd->cmdSetRasterizerState(VK_CULL_MODE_FRONT_AND_BACK, VK_FRONT_FACE_CLOCKWISE);
|
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
|
// If necessary, dirty descriptor sets due to layout incompatibilities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user