Bug 19187 - Automatic mipmap generation does not work on compressed textures
Summary: Automatic mipmap generation does not work on compressed textures
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 13:14 UTC by Ian Romanick
Modified: 2011-03-02 10:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ian Romanick 2008-12-19 13:14:21 UTC
Compressed texture formats are supposed to be supported by both automatic mipmap generation mechanisms.  However, there does not seem to be any code in Mesa to handle it.
Comment 1 Adam Jackson 2009-08-24 12:31:25 UTC
Mass version move, cvs -> git
Comment 2 Marek Olšák 2011-03-01 14:47:50 UTC
Ian,

this appears to be fixed. Can I close or am I missing something?
Comment 3 Ian Romanick 2011-03-01 17:53:48 UTC
That's a good question.  Do we have a test case?  I recall that I found the bug by inspection, but I never made a test case for it.  Until you pinged me about it, I had completely forgotten.
Comment 4 Marek Olšák 2011-03-01 18:34:46 UTC
fbo-generatemipmap-formats passes for S3TC textures.

I guess _automatic_ mipmap generation is SGIS_generate_mipmap. I tried mipmap_limits, which uses GL_GENERATE_MIPMAP, with the internal format changed to RGB_DXT1 and RGBA_DXT5 and both worked.
Comment 5 Marek Olšák 2011-03-02 10:07:29 UTC
Works for me. Closing.


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.