This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unabe to use OpenGL ES extension OES_standard_derivatives

Hello everyone, 

I've been evaluating the OMAP3 using the beagle board C4. I'm trying to figure out how to enable extension GL_OES_standard_derivatives. But i encountered some weird issues. 

Basically, i want to call built-in functions ( dFdx(), dFdy() , fwidth()) in my fragment shader(See below). 

        precision mediump float; 
        #extension GL_OES_standard_derivatives : enable 
        varying vec3 myVec; 
        uniform vec4 vColor; 
        void main() {
           vec3 px = dFdx(myVec); 
           vec3 py = dFdy(myVec); // this line can not compile. 
           gl_FragColor = vColor; 
        } 

Whenever i add dFdy() , fwidth() to the shader, the fragment shader fails to compile with error message "Compile Failed". But the strange thing is dFdx() can be compiled and linked successfully. So i guess the extension has been enabled, but some built-in functions (dFdy() , fwidth()) are mising.

I work on beagleboard C4(OMAP3530DCBB72 720MHZ) with Angstrom linux distro, using OMAP35x_Graphics_SDK_3_01_00_06.

Could anyone give me a pointer on how to resolve this issue. 

Thanks for any help or advice!