mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +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;
|
||||
|
||||
if (g_vulkan)
|
||||
{
|
||||
g_dirtyStates.depthBias = true; // Static depth bias in MSAA pipeline invalidates dynamic depth bias.
|
||||
g_dirtyStates.vertexShaderConstants = true;
|
||||
}
|
||||
|
||||
SetHalfPixel(oldHalfPixel);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue