[light] Replace powf gamma with pre-computed lookup tables (LUT) (#14123)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
J. Nick Koston
2026-03-02 06:57:23 -10:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 82da4935b6
commit 00242443e1
21 changed files with 228 additions and 83 deletions
+1
View File
@@ -59,6 +59,7 @@ void HOT arch_feed_wdt() {
}
uint8_t progmem_read_byte(const uint8_t *addr) { return *addr; }
uint16_t progmem_read_uint16(const uint16_t *addr) { return *addr; }
uint32_t arch_get_cpu_cycle_count() {
struct timespec spec;
clock_gettime(CLOCK_MONOTONIC, &spec);