vc4: Clamp the shadow comparison value.
authorEric Anholt <eric@anholt.net>
Mon, 7 Nov 2016 20:25:47 +0000 (12:25 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 9 Nov 2016 23:33:56 +0000 (15:33 -0800)
commit08d51487e3b8cfb14ca2ece9545b2e2ed344e3cc
tree786f904b7004e5ff9da1e6ab2633389f4964adae
parente887341d3f4a3b13b2bf56b4a931afb78ca0526e
vc4: Clamp the shadow comparison value.

Fixes piglit glsl-fs-shadow2D-clamp-z.

Cc: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/vc4/vc4_program.c