Update comments

This commit is contained in:
Jules Blok committed 2016-12-27 21:32:52 +01:00
1 parent 65b5765858
commit ee7a2edf35
2 files changed
+9 -8

No files matched your search

@@ -1650,8 +1650,9 @@ void Renderer::SetViewport()
height = -height;
}
// If an inverted depth range is used, which D3D doesn't support,
// we need to calculate the depth range in the vertex shader.
// If an inverted depth range is used, which the Vulkan drivers don't
// support, we need to calculate the depth range in the vertex shader.
// TODO: Make this into a DriverDetails bug and write a test for CTS.
if (xfmem.viewport.zRange < 0.0f)
{
min_depth = 0.0f;