gallium/util: add comment on util_is_format_compatible()
authorBrian Paul <brianp@vmware.com>
Tue, 20 Sep 2016 22:05:48 +0000 (16:05 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 21 Sep 2016 18:26:17 +0000 (12:26 -0600)
commitb35684543ed43c3ac2aa2710e3974fbfaf9c2f7c
tree975dd906548cab541edbbaf2e79853fd5a1a10e7
parent99d9f764b22e80865f8ff9b402a11a4334e5bbd0
gallium/util: add comment on util_is_format_compatible()

From reading the code, it's not obvious what is src/dest compatible.
The list of a->b copy-compatible formats comes from Jose's original
check-in message, with some format name updates.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/util/u_format.c