mesa/st: Add depth clamping to rasterizer code
authorGert Wollny <gert.wollny@collabora.com>
Thu, 25 Jul 2019 08:38:24 +0000 (10:38 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Thu, 1 Aug 2019 05:58:53 +0000 (05:58 +0000)
commitd004fcc04a52dd53c4e7008f55c5a9a2d8101ad5
tree598b4cd6ca363c7fe8e1f27b511dbc6921243000
parent57361d89fa1085b953ef7618817f752c3cc824ef
mesa/st: Add depth clamping to rasterizer code

implemented by Erik Faye-Lund <erik.faye-lund@collabora.com>

v2: Use current depth range values for clamping (Erik)
v3: fix scons-win64 build

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_atom_rasterizer.c
src/mesa/state_tracker/st_cb_drawpixels.c