[Mesa-dev] [PATCH] mesa: Fix build to properly check for supported compiler flags

Kenneth Graunke kenneth at whitecape.org
Thu Dec 19 06:35:41 PST 2013


On 12/19/2013 01:50 AM, Lauri Kasanen wrote:
[snip]
> Gallium has a cpu detect function that includes a SSE 4.1 cap. Perhaps
> you'd like to move it to a common area and make use of it for runtime
> detection?

Yes, that would be far better.  The Mesa code has really rotted - it
only does CPU detection for 32-bit CPUs, and doesn't support checking
for any of the modern features.  The Gallium code looks much nicer.

Patches to pull that out into a common area would be fantastic.  I meant
to do it several months ago, but never found time...


More information about the mesa-dev mailing list