mesa/st: Tie depth_clamp lowering into the FS
authorGert Wollny <gert.wollny@collabora.com>
Thu, 25 Jul 2019 08:34:48 +0000 (10:34 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Thu, 1 Aug 2019 05:58:53 +0000 (05:58 +0000)
commitd81ba38b02cb1ef8f87b5551e6d668fa245e138e
treed287adffded2948157143ec4eff4db74ffda0fe3
parentfefb152067bd81b0e7ecc1af3794494dcc389421
mesa/st: Tie depth_clamp lowering into the FS

v1 implemented by Erik Faye-Lund <erik.faye-lund@collabora.com>
v2: Use different call for FS
v3: Use file scope defined depth_range_state

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_shader.c
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h