v3d: Fix Z clipping when viewport.scale[2] is negative.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jun 2018 20:29:42 +0000 (13:29 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 27 Jun 2018 16:35:51 +0000 (09:35 -0700)
commitad1a4cb563f483a5767431adcc6a1a8f973326fd
treea32bbd4e110748798148ff4613fbb4abccf14caf
parent9f80bcc2bc2d9221a67b39715b1b5443b263a091
v3d: Fix Z clipping when viewport.scale[2] is negative.

Fixes:
dEQP-GLES3.functional.shaders.builtin_variable.depth_range_fragment
dEQP-GLES3.functional.shaders.builtin_variable.depth_range_vertex
src/gallium/drivers/v3d/v3dx_emit.c