glsl/distance: make sure we use clip dist varying slot for lowered var.
authorDave Airlie <airlied@redhat.com>
Tue, 24 May 2016 20:03:24 +0000 (06:03 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Jun 2016 21:09:21 +0000 (07:09 +1000)
commit8d4f4adfbd5b2f23cb2a6a1f77f79a23d3f2b035
treed8bd3581ce8e34ecdcdb738221e9dea9a13dce54
parentc7877b9dab822a9f33aa351cff2ce849a3f2fa32
glsl/distance: make sure we use clip dist varying slot for lowered var.

When lowering, we always want to use the clip dist varying.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/lower_distance.cpp