glslang -> SPIR-V: Correct renaming mistake made in moving to the auto-generated headers.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30510 e7fa87d3-cd2b-0410-9028-fcbf551c1848
diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp
index 31df1d7..c20202e 100644
--- a/SPIRV/SpvBuilder.cpp
+++ b/SPIRV/SpvBuilder.cpp
@@ -1831,7 +1831,7 @@
                 id = createCompositeExtract(accessChain.base, accessChain.resultType, indexes);

             else {

                 // make a new function variable for this r-value

-                Id lValue = createVariable(StorageClassUniform, getTypeId(accessChain.base), "indexable");

+                Id lValue = createVariable(StorageClassFunction, getTypeId(accessChain.base), "indexable");

 

                 // store into it

                 createStore(accessChain.base, lValue);