Placeholder fix for part of #1870.
authorJohn Kessenich <cepheus@frii.com>
Fri, 30 Aug 2019 15:53:35 +0000 (09:53 -0600)
committerJohn Kessenich <cepheus@frii.com>
Fri, 30 Aug 2019 16:06:16 +0000 (10:06 -0600)
commit92f5afdee0ab2781718d568834f342a196ac5bd1
tree8efd0080eea086111b6c0d28876440b45585fe1e
parent7de044c062fe00397b63d021078789ee219a019f
Placeholder fix for part of #1870.

Also fixes, in practice, https://github.com/KhronosGroup/GLSL/issues/83.
When the specification language is correctly created, glslang can be
revisited for correctness.  In the meantime, this seems like the best
"bug" to have relative to the specification.

Memory qualifiers are only relevant to parameters when they apply
to what the argument points to, as otherwise the argument is copied.

This leaves the fix from #1870 in place, and then more correctly
ignores memory qualifiers when something will be passed by copy.
Test/baseResults/310.inheritMemory.frag.out
glslang/MachineIndependent/ParseHelper.cpp