diff options
author | Brian Paul <[email protected]> | 2013-01-26 10:58:37 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-01-29 08:59:53 -0700 |
commit | 89551ae04f4cf994c0f7f2ac3aef7e1c57936a29 (patch) | |
tree | d3ed59fba963923d1f8e8733b07da1f119669409 /src/mesa/main/.gitignore | |
parent | d60da27273d2cdb68bc32cae2ca66718dab15f27 (diff) |
xlib: use _mesa_generate_mipmap() for mipmap generation, not meta
The swrast fragment program interpreter has trouble computing the
right texture LOD because it doesn't have easy access to input
derivatives. This causes the GLSL-based meta generate mipmap code
to fetch texels from the wrong mipmap level.
One possible fix would be to set the GL_TEXTURE_MIN/MAX_LOD parameters
to limit sampling from the right level. But let's just use the
_mesa_generate_mipmap() fallback since it's a lot faster than using
the fragment shader interpreter.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=54240
Note: This is a candidate for the 9.0 branch.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/.gitignore')
0 files changed, 0 insertions, 0 deletions