Fix bug where bracket dereferences were incorrectly keeping the base's qualifier (for example constBase[i] would still be a const instead of EvqTemporary).


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23722 e7fa87d3-cd2b-0410-9028-fcbf551c1848
diff --git a/Test/baseResults/300layout.frag.out b/Test/baseResults/300layout.frag.out
index 814e3d1..2992d2e 100644
--- a/Test/baseResults/300layout.frag.out
+++ b/Test/baseResults/300layout.frag.out
@@ -12,7 +12,7 @@
 0:13        'p' (layout(location=3 ) out mediump 4-component vector of float)

 0:13        'pos' (smooth in mediump 4-component vector of float)

 0:14      move second child to first child (mediump 4-component vector of float)

-0:14        direct index (layout(location=4 ) out mediump 4-component vector of float)

+0:14        direct index (layout(location=4 ) mediump 4-component vector of float)

 0:14          'q' (layout(location=4 ) out 2-element array of mediump 4-component vector of float)

 0:14          Constant:

 0:14            1 (const int)