Accessing texture arrays in Android apps

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?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.