projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ffbfc7
)
compiler: add printable values for cull distance varyings.
author
Dave Airlie
<airlied@redhat.com>
Mon, 29 Aug 2016 00:17:16 +0000
(10:17 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 4 Oct 2016 00:15:23 +0000
(10:15 +1000)
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>
src/compiler/shader_enums.c
patch
|
blob
|
history
diff --git
a/src/compiler/shader_enums.c
b/src/compiler/shader_enums.c
index 729a3583b1bcd4fc4ed08552e9c18119ad462d29..3c5a2686874bbe6a307fec893a59b2288e4731f3 100644
(file)
--- 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),