ColorScale: Reduce LUT size to 512 (so it fits L1 cache)

This commit is contained in:
2026-01-31 22:26:38 +01:00
parent fd512fa941
commit f4564e3727

View File

@@ -76,7 +76,7 @@ class ColorScale {
static rgb Apply(float input, const std::vector<rgb> &map);
static constexpr size_t kLutSize = 4096;
static constexpr size_t kLutSize = 512;
mutable std::vector<rgb> lut_;
void CalcLUT() const;