Files
mesa/src/util
Daniel Stone 974d31dba7 format: Generate sRGB<->linear conversions from table
Instead of having a hardcoded table to convert between sRGB formats and
their linear-gamma equivalents (and vice-versa), generate this from the
information in the format table.

This requires adding a 'sublayout' attribute to differentiate between,
e.g. DXT1 and DXT3, which otherwise appear to be equivalent but for
their name prefix.

As an anonymous union is being used, we also need named initialisers for
the util_format_description entries.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29649>
2024-07-19 13:50:42 +00:00
..
2023-11-02 21:03:46 +00:00
2023-12-06 07:22:02 +00:00
2024-04-22 01:42:52 +00:00
2022-09-29 23:40:18 +00:00
2022-09-29 23:40:18 +00:00
2024-07-16 09:41:28 +10:00
2023-10-09 23:37:52 +00:00
2024-03-12 19:41:49 +00:00
2024-01-16 02:15:22 +00:00
2023-10-25 17:27:47 +00:00
2024-06-07 18:29:20 +00:00
2024-02-26 15:37:58 +00:00
2024-02-26 15:37:58 +00:00
2022-06-02 13:09:16 +00:00
2022-11-04 23:20:02 +00:00
2022-11-04 23:20:02 +00:00
2022-03-09 08:48:59 +00:00
2022-03-09 08:48:59 +00:00
2023-10-30 12:35:07 +00:00
2024-06-07 18:29:20 +00:00
2023-05-19 16:30:44 +00:00
2024-07-15 19:28:59 +00:00
2024-06-21 13:58:14 +00:00
2022-11-24 04:33:07 +00:00
2024-06-07 18:29:20 +00:00