[Mesa-dev] [PATCH 1/2] compiler: add printable values for cull distance varyings.

Edward O'Callaghan funfunctor at folklore1984.net
Mon Aug 29 00:27:47 UTC 2016


Patches 1&2 are,
Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 08/29/2016 10:22 AM, Dave Airlie wrote:
> 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),
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160829/9aca10e2/attachment.sig>


More information about the mesa-dev mailing list