[Mesa-dev] [Bug 32199] New: 3D textures don't work on GLES2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 7 13:40:36 PST 2010


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

           Summary: 3D textures don't work on GLES2
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: neil at linux.intel.com


Created an attachment (id=40883)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=40883)
Example

GLES2 on Mesa is advertising the GL_OES_texture_3D extension but the GLSL
compiler seems to get very upset if you try to use it. Attached is an example.
I get these errors with it:

fragment shader info:
0:1(12): warning: extension `GL_OES_texture_3D' unsupported in fragment shader
0:2(22): error: invalid type `sampler3D' in declaration of `tex'
0:7(31): error: `tex' undeclared
0:0(0): error: no matching function for call to `texture3D(, vec3)'

link info:
linking with uncompiled shader
Mesa: User error: GL_INVALID_OPERATION in glUseProgram(program 1 not linked)
Mesa: User error: GL_INVALID_OPERATION in glGetUniformfv(program)
Mesa: User error: GL_INVALID_OPERATION in glUniform(program not linked)

It might be better not to advertise the extension if it's not going to work.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list