OSDN Git Service

mesa: break up _mesa_swizzle_and_convert() to reduce compile time
authorBrian Paul <brianp@vmware.com>
Fri, 12 Sep 2014 14:31:15 +0000 (08:31 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 15 Sep 2014 15:52:44 +0000 (09:52 -0600)
commitcfeb394224f2daeb2139cf4ec489a4dd8297a44d
tree2f04210d4a28a80d7d12eb9cf1e98117d1b52301
parentdbc2d81d2ba12354876eb67c79e8a71e57e97f3c
mesa: break up _mesa_swizzle_and_convert() to reduce compile time

This reduces gcc -O3 compile time to 1/4 of what it was on my system.
Reduces MSVC release build time too.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/format_utils.c