From 53d1f4251f58bd858a4fdf3a7564dd16f90165d4 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 1 Mar 2016 17:41:02 -0800 Subject: mesa/compiler: move MAX_VARYING to shader_enums.h Reviewed-by: Timothy Arceri --- src/compiler/shader_enums.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler') diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h index 74055dfa4c5..bb9f53d2e17 100644 --- a/src/compiler/shader_enums.h +++ b/src/compiler/shader_enums.h @@ -172,6 +172,7 @@ const char *gl_vert_attrib_name(gl_vert_attrib attrib); BITFIELD64_RANGE(VERT_ATTRIB_GENERIC(0), VERT_ATTRIB_GENERIC_MAX) /*@}*/ +#define MAX_VARYING 32 /**< number of float[4] vectors */ /** * Indexes for vertex shader outputs, geometry shader inputs/outputs, and -- cgit v1.2.3