GLSL: Inherit memory qualifiers, both declaratively and in execution.

Fixes #1870, probably others.
diff --git a/gtests/AST.FromFile.cpp b/gtests/AST.FromFile.cpp
index 35aa32e..5004671 100644
--- a/gtests/AST.FromFile.cpp
+++ b/gtests/AST.FromFile.cpp
@@ -121,6 +121,7 @@
         "310.tesc",
         "310.tese",
         "310implicitSizeArrayError.vert",
+        "310.inheritMemory.frag",
         "310AofA.vert",
         "310runtimeArray.vert",
         "320.comp",