View Full Version : egl gles2 "function is no-op" "Mesa: User error"

09-16-2013, 09:25 AM
i just only try to build sample code about egl and gles2 in amd's (1.7MB)


i built it succesfully.but i get error when i run it.Notice two lines below:

(gdb) step
OnNativeWinResize (width=640, height=480) at main.cpp:108
108 ctx.nWindowWidth = width;
(gdb) step
109 ctx.nWindowHeight = height;
(gdb) step
110 glViewport(0, 0, width, height);
(gdb) step
function is no-op
111 }


(gdb) step
337 vs = glCreateShader(GL_VERTEX_SHADER);
(gdb) step
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
338 glShaderSource(vs, 1, &vsSource, NULL);

ENVIRONMENT:archlinux-kernel-3.10.10-corei5-desktop-x86_64 mesa-9.2 (gallium 0.4 on amd cedar)
please any comment.Thank you.

09-17-2013, 04:30 AM
strongly probably mesa do not support shader compiler for the present. im not sure that wheather mesa offers glShaderBinary() replacement of shader compiler.