util/u_format: move utility function from r600g
authorGrigori Goronzy <greg@chown.ath.cx>
Wed, 4 Jun 2014 16:54:36 +0000 (18:54 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 18 Jun 2014 11:58:19 +0000 (13:58 +0200)
commitf5dafc156a28f6550b6a0bfd5153b40448402f0c
tree36adec4f3ad2da239d5323362588a2d1cd03f441
parent700100d94bcd46b6088c27cc77e12f86f9fda122
util/u_format: move utility function from r600g

We need this for radeonsi, and it might be useful for other drivers,
too.
src/gallium/auxiliary/util/u_format.c
src/gallium/auxiliary/util/u_format.h
src/gallium/drivers/r600/r600_blit.c