From: Dave Airlie Date: Mon, 29 Aug 2016 00:17:16 +0000 (+1000) Subject: compiler: add printable values for cull distance varyings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd0157d542594951e5dfdc2d0ea9252320c3784c;p=mesa.git 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 --- 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),