ColorScale: Reduce LUT size to 512 (so it fits L1 cache)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user