Signed-off-by: Timothy Arceri <[email protected]>
---
src/glsl/ast_to_hir.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 3054b9c..a83ef9c 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -3196,6 +3196,10 @@ ast_declarator_list::hir(exec_list *instructions,
if (state->is_version(120, 300))
break;
/* FALLTHROUGH */
+ case GLSL_TYPE_ARRAY:
+ if (state->ARB_arrays_of_arrays_enable)
+ break;
+ /* FALLTHROUGH */
default:
_mesa_glsl_error(& loc, state,
"vertex shader input / attribute cannot have "
--
1.8.3.1
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev