Created attachment 34847 [details] the test program (compile with -std=c99) The attached program causes segfault in r300g. Plain r300 works fine, however the texture is drawn darkened Environment: - Debian Linux, vanilla kernel 2.6.33, - mesa from git, up to commit 54526154c5b02be0fbae6b0dad766c6be1bee21c - radeon ddx 1:6.12.192-2 (changelog says: pull from upstream master up to commit 5c256808) - libdrm 2.4.18-3 - Radeon x1300 (RV515)
Created attachment 34848 [details] the backtrace
Looks like a state tracker issue. I'm looking into it...
Fixed on the 7.8 branch with commit b22a00bff4aadd390dd8af6b5b05bd2833ec7f85. Will merge to master in a bit.
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.