Turn on basic support for shader storage buffer objects, but not yet the entire extension.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27699 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2014-08-12 02:11:55 +00:00
parent 79cddfcb56
commit 67cf1f6179
14 changed files with 190 additions and 78 deletions

View file

@ -265,7 +265,7 @@ public:
// We have an array or structure or block dereference, see if it's a uniform
// based dereference (if not, skip it).
TIntermSymbol* base = findBase(topNode);
if (! base || base->getQualifier().storage != EvqUniform)
if (! base || ! base->getQualifier().isUniformOrBuffer())
return;
// See if we've already processed this (e.g., in the middle of something