Files
mesa/src/util/format
Daniel Stone d3ed00f38a util: Add util_format_get_component_shift
Similar to util_format_get_component_bits, get the bit offset for a
particular channel in a given format.

Use this to calculate the shift/mask sets for formats when creating DRI
configs, as a prelude to ripping out and replacing the hardcoded table.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27709>
2024-02-27 10:51:03 +00:00
..
2023-08-03 08:11:17 +00:00
2021-08-14 21:44:32 +00:00
2023-10-14 01:01:16 +00:00
2023-12-01 07:53:58 +00:00