mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-09-03 02:33:47 -04:00
Fix Vulkan dynamic depth bias validation error.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user