It looks like ARM MALI GPU does not support opengl es 2.0 specification!!!
Mali GPU Offline Shader Compiler 
http://www.malideveloper.com/developer-resources/tools/offline-shader-compiler.php
gives same error -  function texture2D not supported on target
on next vertex shader code
----------------------------------------------------------------
attribute vec4 coord;

uniform mat4 camera;

uniform sampler2D filter_tex;

void main()
{
mediump vec2 uv_coord = vec2(1.0,1.0);
mediump vec4 dx = texture2D(filter_tex, uv_coord);
gl_Position = camera * coord;
}
----------------------------------------------------------------

but opengl es 2.0 specification says:
Texture lookup functions are available to both vertex and fragment shaders
and texture2D is texture lookup function.



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to