From bd0157d542594951e5dfdc2d0ea9252320c3784c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 29 Aug 2016 10:17:16 +1000 Subject: [PATCH] compiler: add printable values for cull distance varyings. We need these for spir-v/nir shaders. Reviewed-by: Edward O'Callaghan Reviewed-by: Jason Ekstrand Signed-off-by: Dave Airlie --- src/compiler/shader_enums.c | 2 ++ 1 file changed, 2 insertions(+) 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), -- 2.30.2