Hi All,
I am using Galaxy S5 with Adreno Profiler.
I am using GLES 3.0 on my shaders with ins and outs.
However, when profiling, I am getting GLES 2.0 shaders once I have made a snap shot with attributes and varying
In my manifest file, I have
android:glEsVersion="0x00030000" android:required="true"
Could anybody point me to what I am doing wrong?
Best wishes and many thanks
Andi
In the documentation, I found that the desktops GPU needs at least have OpenGL 3.3 in order to support GLES 3.0.
My driver however has OpenGL 3 and I am updating currently.
I think thats is the cause why Adreno Profiler automatically downgraded the shaders to Gles 2.0
Will let you know soon
I updated to the newest driver for my GT70 (this is GTX780) and the issue still persists, I can see strange shaders like this
#extension GL_OES_EGL_image_external : require
precision mediump float;
varying vec2 vTextureCoord;
uniform samplerExternalOES sTexture;
void main() {
gl_FragColor = texture2D(sTexture, vTextureCoord);
}
only, although my shaders are completely different (other variable names and in and outs).
Any help is very much appreciated
I was on the wrong thread.
In the Adreno profiler, there is in the Scrubber GL menu on the very first right a combo box with all the threads which are running. I had to look into the second one, then I could find my shaders :)
https://www.dropbox.com/s/cdlugg6p09zsx6w/adreno_profiler_thread.jpg?dl=0