nir: Add gl_PointCoord system value
authorAndreas Baierl <ichgeh@imkreisrum.de>
Tue, 4 Jun 2019 11:24:53 +0000 (13:24 +0200)
committerQiang Yu <yuq825@gmail.com>
Thu, 18 Jul 2019 13:20:39 +0000 (13:20 +0000)
commitf5804f17680e240eb6d14a306e0911b837c9a16a
tree20c272c7a790acdca40989759c60bea2e16549f2
parent24af57407c2b2689394aef5a6666ba33727879a7
nir: Add gl_PointCoord system value

gl_PointCoord handling needs some special bits set in lima/ppir code
generation. Treating gl_PointCoord as a system value makes it easier
to distinguish from a regular varying.

Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir.c
src/compiler/nir/nir_gather_info.c
src/compiler/nir/nir_intrinsics.py