swrast: add a new macro, FETCH_COMPRESSED
authorNanley Chery <nanley.g.chery@intel.com>
Sun, 31 May 2015 20:29:41 +0000 (13:29 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 26 Aug 2015 21:36:43 +0000 (14:36 -0700)
commit9a759a6ee002203a045e9df1f91823204609fd4a
tree1a1593ca26230b3885851b579e16f6e20ddee9ac
parent42ee16176dca797c395592b0245f370ea58ca3a8
swrast: add a new macro, FETCH_COMPRESSED

This patch creates a new macro, FETCH_COMPRESSED - similar in nature
to the other FETCH_* macros. This reduces repetition in the code that
deals with compressed textures.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/swrast/s_texfetch.c