nir: add sysval for user-clip-planes
authorRob Clark <robclark@freedesktop.org>
Thu, 27 Aug 2015 21:42:40 +0000 (17:42 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 17 Sep 2015 23:55:43 +0000 (19:55 -0400)
commit53671a37238fd34f08d91d5d079d26437f21a473
tree797fe9a432f10fa3360a6950efdd6e99bff9bd92
parentc4572b7dfe7a4ae9dc6e900f89786fa9cf7769df
nir: add sysval for user-clip-planes

For lowering user-clip-planes, we need a way to pass the enabled/used
user-clip-planes in to shader.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/glsl/nir/nir_intrinsics.h