diff options
author | Lucas Stach <[email protected]> | 2018-03-29 16:15:14 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2018-04-08 22:10:57 +0200 |
commit | dfe4a08ccddf5b9b6adf1e10510bb4534f36c459 (patch) | |
tree | ce66a627665a8674a9495739f3db1386b88448dc /src/gallium/auxiliary/util/u_resource.c | |
parent | 19254a977bf12c1efa64aec5a480e38e48044dd6 (diff) |
gallium/util: implement util_format_is_yuv
This adds a helper to check if a pipe format is in YUV color space.
Drivers want to know about this, as YUV mostly needs special handling.
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_resource.c')
0 files changed, 0 insertions, 0 deletions