In my Android app, the fragment shader has a sampler for a 2-D texture array:
uniform sampler2DArray texSampler;
The version is set to “320 es”, so texture arrays should be supported. But the shader compiler gives me a “FLEX: Unknown char” error.
Android Studio doesn’t recognize “sampler2DArray”, and the error is “Unable to parse external declaration.” Is there anything I can do?