translate_generic: factor out common code between linear and indexed
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 10 Aug 2010 08:27:14 +0000 (10:27 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 16 Aug 2010 14:57:05 +0000 (16:57 +0200)
commit1cb92fb92e69b5b138293398a98665c2a3c63a5b
tree14077554a8e63411443e056ec6546bcac1ca20fd
parentddcf028aa0a1bd6f79381164c8b1c3b816792e47
translate_generic: factor out common code between linear and indexed

This moves the common code into a separate ALWAYS_INLINE function.
src/gallium/auxiliary/translate/translate_generic.c