mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-25 20:01:58 +00:00
Fix Vulkan dynamic depth bias validation error.
This commit is contained in:
parent
7484e85af5
commit
d3edee1945
1 changed files with 3 additions and 0 deletions
|
|
@ -2818,7 +2818,10 @@ static void ProcStretchRect(const RenderCommand& cmd)
|
||||||
g_dirtyStates.pipelineState = true;
|
g_dirtyStates.pipelineState = true;
|
||||||
|
|
||||||
if (g_vulkan)
|
if (g_vulkan)
|
||||||
|
{
|
||||||
|
g_dirtyStates.depthBias = true; // Static depth bias in MSAA pipeline invalidates dynamic depth bias.
|
||||||
g_dirtyStates.vertexShaderConstants = true;
|
g_dirtyStates.vertexShaderConstants = true;
|
||||||
|
}
|
||||||
|
|
||||||
SetHalfPixel(oldHalfPixel);
|
SetHalfPixel(oldHalfPixel);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue