Use proper name for array-of-array varyings.
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 30 Oct 2017 12:50:23 +0000 (12:50 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 10 Nov 2017 13:18:36 +0000 (08:18 -0500)
commit6b74eba7938e151aea6f54d25f7410ed7161ab82
treed46145c46b116785c423545c87128f9a4465ce03
parentde286b760576465bf79de9836f4f5461b571462c
Use proper name for array-of-array varyings.

varying_structure_location tests have the piece of shader code:

```
struct Data {
    dvec2 single;
    dvec2 array[1];
};

layout (location = 0) flat in Data tes_gs_output[][1];
```

When test tries to verify "single" variable, it tries to access through
"tes_gs_output[0].single", which is not correct. Rather it must use
"tes_gs_output[0][0].single"

Affects:
* KHR-GL46.enhanced_layouts.varying_structure_locations

Components: OpenGL

VK-GL-CTS issue: 796

Change-Id: Ib1c2ac6877f46f0be8530156a184b8fa41349c40
external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp