[Mesa-dev] [Bug 93126] wrongly claim supporting GL_EXT_texture_rg

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 26 07:24:14 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93126

            Bug ID: 93126
           Summary: wrongly claim supporting GL_EXT_texture_rg
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: julien.isorce at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

es2_info prints:

GL_VERSION: OpenGL ES 2.0 Mesa 11.2.0-devel
GL_RENDERER: Gallium 0.4 on NVC1
GL_EXTENSIONS contains GL_EXT_texture_rg

But glTexImage2D(..., GL_RED_EXT, GL_UNSIGNED_BYTE, data) fails.

Indeed  if GLES2.0 then
http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/main/glformats.c#n2079 .
There is no case for GL_RED_EXT in the switch so it defaults to
GL_INVALID_VALUE.

I can see EXT(EXT_texture_rg, ARB_texture_rg,  x ,  x ,  x , ES2, 2011) in
extensions_table.h

Hardware: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)

Could it be that when querying dri2 for the gl version it returns 20 instead of
30 ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151126/b3293231/attachment.html>


More information about the mesa-dev mailing list