From 5302c7d8362713339f843e20094e30ec129799c3 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Fri, 3 Apr 2015 00:10:51 +0000 Subject: [PATCH] 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 --- SPIRV/SpvBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index 31df1d70..c20202eb 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -1831,7 +1831,7 @@ Id Builder::accessChainLoad(Decoration precision) 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);