compiler: add printable values for cull distance varyings.
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>
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user