[Mesa-dev] [PATCH 1/2] compiler: add printable values for cull distance varyings.
Dave Airlie
airlied at gmail.com
Mon Aug 29 00:22:56 UTC 2016
From: Dave Airlie <airlied at redhat.com>
We need these for spir-v/nir shaders.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
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 00261d1..97c5b30 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.5.5
More information about the mesa-dev
mailing list