Aras Pranckevicius
3b67075f40
BLI: Make color sRGB<->Linear non-SIMD fallback path use the same approximation
...
All official Blender platforms use the SIMD code path, with pow() approximations
for 2.4 and 1/2.4 powers. The non-SIMD code path would only be used on other
platforms like PowerPC etc. Make that fallback scalar code path use the same
math approximation for consistency. This is part of #121312 .
This also makes srgb_to_linearrgb_v3_v3 and linearrgb_to_srgb_v3_v3 functions
non-inlined. They are 50-100 CPU instructions, and thus hardly good candidates
for forced inlining into each and every call site.
Also _bli_math_blend_sse now uses actual SSE4 blend instruction instead of doing
it in a roundabout way.
Pull Request: https://projects.blender.org/blender/blender/pulls/121368
2024-05-03 12:05:56 +02:00
..
2024-04-05 08:04:52 +02:00
2024-01-21 13:22:16 +01:00
2024-01-03 13:38:14 +01:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-05 14:32:48 +01:00
2023-08-16 00:20:26 +10:00
2024-03-31 22:47:23 +11:00
2023-08-16 00:20:26 +10:00
2024-02-27 23:09:54 -05:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-28 22:57:57 +11:00
2023-12-07 12:45:27 +11:00
2024-03-27 10:31:24 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-02 19:55:06 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-12-01 11:19:39 +01:00
2024-03-17 09:52:32 +01:00
2024-04-09 12:08:14 +02:00
2024-02-22 12:57:10 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 14:48:53 +03:00
2024-02-28 22:22:21 +01:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-03-21 10:54:17 +01:00
2023-08-16 00:20:26 +10:00
2024-05-03 12:05:56 +02:00
2024-02-11 17:16:17 +11:00
2024-03-21 13:22:10 +01:00
2024-04-15 18:04:19 +02:00
2024-03-03 16:26:04 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-03-28 22:57:57 +11:00
2023-08-16 00:20:26 +10:00
2023-08-17 15:05:52 +02:00
2023-08-16 00:20:26 +10:00
2023-10-20 10:27:26 +02:00
2024-02-14 13:40:31 +11:00
2023-08-16 00:20:26 +10:00
2024-02-15 13:15:56 +11:00
2023-08-16 00:20:26 +10:00
2024-05-03 11:33:21 +10:00
2023-08-29 17:00:33 +02:00
2024-02-14 13:40:31 +11:00
2024-02-17 20:59:45 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-01-22 13:47:13 +01:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00
2023-10-06 03:02:17 +02:00
2024-02-20 17:52:14 +01:00
2023-10-06 16:38:45 +02:00
2024-05-02 10:20:56 +10:00
2023-12-13 12:14:29 +11:00
2023-11-02 16:43:04 +11:00
2023-08-16 00:20:26 +10:00
2023-12-01 15:29:36 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-20 15:20:11 +01:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00
2024-02-14 13:40:31 +11:00