Fix Vulkan dynamic depth bias validation error.

This commit is contained in:
Skyth 2025-01-18 12:58:02 +03:00
parent 7484e85af5
commit d3edee1945

View file

@ -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);
}