Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: egl gles2 "function is no-op" "Mesa: User error"

  1. #1
    Newbie Newbie
    Join Date
    Aug 2013
    Posts
    2

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

    i just only try to build sample code about egl and gles2 in amd's (1.7MB)

    ://developer.amd.com/wordpress/media/2012/10/gles_sdk.zip

    i built it succesfully.but i get error when i run it.Notice two lines below:
    Code :
    (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     }
    and
    Code :
    (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.

  2. #2
    Newbie Newbie
    Join Date
    Aug 2013
    Posts
    2
    strongly probably mesa do not support shader compiler for the present. im not sure that wheather mesa offers glShaderBinary() replacement of shader compiler.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •