Imagination PowerVR SDK Blog

Vert/Frag shader compile error


#1

Hi all,





I am trying to run Skybox2 app that comes with OGLES2_Emulation libraries on fc13. But at runtime, my app exits displaying “Exit message is set to: Error: declaration of ‘gl_TexCoord’ conflicts with previous declaration. Error compiling vertex shader in file ‘effects.pfx’”. I have no clue what this means. This message comes from the glsl compiler after glCompileShader is called.





It will be really great if somebody can help me solve this.





Thanks in advance,


CKM