Front-end: Fix: Cubemap arrays only use 3-component coord when accessed as an image.
authorJohn Kessenich <cepheus@frii.com>
Thu, 1 Oct 2015 18:40:48 +0000 (12:40 -0600)
committerJohn Kessenich <cepheus@frii.com>
Thu, 1 Oct 2015 18:40:48 +0000 (12:40 -0600)
commit6373574b134a1ef2e1d2cced8c9abb371543bb38
tree8348ca0b80b333e29448ea71eec142db1dc8cb5a
parent3cd0024ea86b0cae26f412c6d40effa1d3062f9c
Front-end: Fix: Cubemap arrays only use 3-component coord when accessed as an image.

4 components are needed when used a texture, but not an image, which multiplies
layers and faces into the same coordinate.  This fixes it from using 4 everywhere,
to only using 4 for textures and 3 for images.
Test/310.vert
Test/baseResults/310.vert.out
Test/baseResults/spv.image.frag.out
Test/spv.image.frag
glslang/Include/revision.h
glslang/MachineIndependent/Initialize.cpp