When I create a 1D texture with width 6 and border 1, querying GL_TEXTURE_WIDTH and GL_TEXTURE_BORDER return 4 and 0 respectively, instead of 6 and 1. I will attach a piglit test. Mesa 10.0.1 configured with --enable-xlib-glx --disable-dri --with-gallium-drivers=swrast --with-egl-platforms=x11 and LD_LIBRARY_PATH=<mesadir>/lib (i.e. not the gallium subdirectory).
Created attachment 91328 [details] [review] Patch to add test to piglit
We won't be fixing this. We removed support for texture borders since few (none?) of our hardware drivers support them. When glTexImage() is called with border=1 we tweak the pixel unpack params and only store the image w/out the border.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.