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.

Linux: Is "dFdx" supported on dra71x?

Tool/software: Linux

When I use "dFdx" in my glsl program,  I get a compile error:


 shader err:Compile failed.
ERROR: Invalid call to function dFdx: extension OES_standard_derivatives is not enabled.

==================================

 

Then I add "GL_OES_standard_derivatives" to glsl program. But still can't work:

 shader err:Compile failed.
ERROR: 0:0: Unexpected extension directive encountered after non-preprocessor tokens;
ERROR: 1 compilation errors. No code generated.

================================

Is "dFdx" supported on dra71x?

How to use it?