mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 00:10:26 -06: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;
|
||||
|
||||
if (g_vulkan)
|
||||
{
|
||||
g_dirtyStates.depthBias = true; // Static depth bias in MSAA pipeline invalidates dynamic depth bias.
|
||||
g_dirtyStates.vertexShaderConstants = true;
|
||||
}
|
||||
|
||||
SetHalfPixel(oldHalfPixel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user