summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-08-29 10:17:16 +1000
committerDave Airlie <airlied@redhat.com>2016-10-04 10:15:23 +1000
commitbd0157d542594951e5dfdc2d0ea9252320c3784c (patch)
tree0ff366033c14b033af89e98eb18ab835bc999fc3 /src/compiler
parent6ffbfc760da14fc710a05438b9fd9eff034128da (diff)
downloadexternal_mesa3d-bd0157d542594951e5dfdc2d0ea9252320c3784c.zip
external_mesa3d-bd0157d542594951e5dfdc2d0ea9252320c3784c.tar.gz
external_mesa3d-bd0157d542594951e5dfdc2d0ea9252320c3784c.tar.bz2
compiler: add printable values for cull distance varyings.
We need these for spir-v/nir shaders. Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/shader_enums.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/shader_enums.c b/src/compiler/shader_enums.c
index 729a358..3c5a268 100644
--- a/src/compiler/shader_enums.c
+++ b/src/compiler/shader_enums.c
@@ -151,6 +151,8 @@ gl_varying_slot_name(gl_varying_slot slot)
ENUM(VARYING_SLOT_CLIP_VERTEX),
ENUM(VARYING_SLOT_CLIP_DIST0),
ENUM(VARYING_SLOT_CLIP_DIST1),
+ ENUM(VARYING_SLOT_CULL_DIST0),
+ ENUM(VARYING_SLOT_CULL_DIST1),
ENUM(VARYING_SLOT_PRIMITIVE_ID),
ENUM(VARYING_SLOT_LAYER),
ENUM(VARYING_SLOT_VIEWPORT),