gallium/util: support translating between uint and sint formats
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 12 Mar 2019 20:17:59 +0000 (21:17 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 17 Apr 2019 07:27:08 +0000 (07:27 +0000)
commit749bbd39c719a600cd2555932bb47aa73ca42336
treec475b9a44b7cff9176c5396da8cef54d377a8512
parentf31b65f1c1444e36baffb414aa11de2d70a14c19
gallium/util: support translating between uint and sint formats

Without this, we can't for instance convert between r8_sint and
r8g8b8a8_sint. But that's pretty useful, so let's support it as well.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/auxiliary/util/u_format.c