[Mesa-dev] [PATCH v2 08/13] mesa/format_utils: Add a general format conversion function

Dave Airlie airlied at gmail.com
Thu Aug 14 17:36:53 PDT 2014


>> On 08/02/2014 02:11 PM, Jason Ekstrand wrote:
>>>
>>> Most format conversion operations required by GL can be performed by
>>> converting one channel at a time, shuffling the channels around, and
>>> optionally filling missing channels with zeros and ones.  This adds a
>>> function to do just that in a general, yet efficient, way.
>>>
>>> v2:
>>>   * Add better comments including full docs for functions
>>>   * Don't use __typeof__
>>>   * Use inline helpers instead of writing out conversions by hand,
>>>   * Force full loop unrolling for better performance
>>>


This file seems to anger gcc a lot.

It seems to take upwards of a minute or two to compile here.

gcc 4.8.3 on 32-bit x86.

Dave.


More information about the mesa-dev mailing list