summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_enums.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-08-29 10:17:16 +1000
committerDave Airlie <[email protected]>2016-10-04 10:15:23 +1000
commitbd0157d542594951e5dfdc2d0ea9252320c3784c (patch)
tree0ff366033c14b033af89e98eb18ab835bc999fc3 /src/compiler/shader_enums.c
parent6ffbfc760da14fc710a05438b9fd9eff034128da (diff)
compiler: add printable values for cull distance varyings.
We need these for spir-v/nir shaders. Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.c')
-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 729a3583b1b..3c5a2686874 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),