Signed-off-by: Timothy Arceri <t_arc...@yahoo.com.au>
---
 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 226d128..62b7ec2 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -3176,6 +3176,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
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to