From 0fab514ff5e7887767936427b5e02b676abebf3a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 24 Nov 2008 15:28:21 -0700 Subject: mesa: support for GLSL 1.20 array types This allows syntax like "float[8] foo, bar;" --- src/mesa/shader/slang/slang_compile_variable.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/shader/slang/slang_compile_variable.h') diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h index 8e30728ab8..d2a86b772c 100644 --- a/src/mesa/shader/slang/slang_compile_variable.h +++ b/src/mesa/shader/slang/slang_compile_variable.h @@ -84,6 +84,7 @@ typedef struct slang_fully_specified_type_ slang_type_precision precision; slang_type_variant variant; slang_type_centroid centroid; + GLint array_len; /**< -1 if not an array type */ } slang_fully_specified_type; extern int -- cgit v1.2.3