| Summary: | glTexSubImage2D does not work correctly when using generated mip-maps | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Chris Lord <chrislord.net> |
| Component: | Drivers/DRI/i915 | Assignee: | Eric Anholt <eric> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | guillaume.melquiond, nroberts |
| Version: | git | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | This test-case exhibits the described bug | ||
|
Description
Chris Lord
2008-08-11 08:03:19 UTC
Created attachment 18217 [details]
This test-case exhibits the described bug
Just a note, I obviously meant GL_GENERATE_MIPMAP, not GL_GEN_TEXTURES in the second and third paragraphs. The part about text disappearing caught my attention, as I'm experiencing the same issue in World of Warcraft (opengl mode) with mesa 7.1 while it was working fine with mesa 7.0. I tried a bisection, but the git repository is a bit of a mess due to various DRM changes for the intel driver between the two versions, so I couldn't pinpoint the bad commit. Anyway, I have tried your testcase. It works fine with mesa 7.0, but the red square is not opaque with mesa 7.1, as you describe. The other mipmap levels aren't being updated on the first subimage call, though they get updated on subsequent ones. The transparent effect is just that you're blending two mipmap levels in the rendering. I'm cooking up a piglit regression test and then I'll fix the issue. Fixed in master, and regression test (gen-texsubimage) added to piglit. Thanks for the easy-to-reproduce testcase! Thanks, this is fixed, but I still see the bug with text in Clutter... I'm trying to produce another test-case that shows this regression. Mass version move, cvs -> git |
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.