SPV: Fix an issue of interpolation decoration.
authorRex Xu <rex.xu@amd.com>
Sat, 21 May 2016 01:40:44 +0000 (09:40 +0800)
committerRex Xu <rex.xu@amd.com>
Sat, 21 May 2016 01:45:47 +0000 (09:45 +0800)
commitbbceed7be350d0e158dfe38e3fc5770c274083a2
treeaf68a046af13b9980cb8d0e2a577e12ffc72aae3
parent2921e0c54a95264a6fd193c79c814f2869ef9a2d
SPV: Fix an issue of interpolation decoration.

GLSL interpolation qualifiers and auxiliary storage qualifiers are not
mutually exclusive. So when they are translated to SPIR-V decorations, two
independent utility methods should be employed to do this job.
SPIRV/GlslangToSpv.cpp
Test/baseResults/spv.qualifiers.vert.out