Update comments

This commit is contained in:
Jules Blok
2016-12-27 20:25:46 +01:00
parent 65b5765858
commit ee7a2edf35
2 changed files with 9 additions and 8 deletions

View File

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