[Mesa-dev] glTexImage3D GL_INVALID_VALUE on 512x128

Brian Paul brian.e.paul at gmail.com
Wed Nov 17 14:23:47 PST 2010


2010/11/17 Török Edwin <edwintorok at gmail.com>:
> Hi,
>
> Thought I'd do a Bugle trace to see if it logs any errors that could
> cause f.d.o bug #31667.
>
> I've seen just these two:
> glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 512, 128, 16,
> 0, GL_RGBA, GL_UNSIGNED_BYTE, 0x1af93cf0 -
> ^[NOTICE] showerror.gl:  GL_INVALID_VALUE in glTexImage3D
>
> glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 512, 128, 16, 0, GL_RGBA,
> GL_UNSIGNED_BYTE, 0x1cd22480
> ^[NOTICE] showerror.gl:  GL_INVALID_VALUE in glTexImage3D
>
> Is 512x128 an invalid size for r600c/r600g?
>
> I tried using gldb-gui, but it crashes when trying to retrieve the
> states. Is it supposed to work with r600c or r600g?

Run glxinfo -l and see what GL_MAX_3D_TEXTURE_SIZE says.

-Brian


More information about the mesa-dev mailing list