changed default to not use the LuT. Lookup tables instead of a few integer operations will nearly allways _reduce_ performance massively on x86 systems. This is because the it can simply do several (and partitial simultaneous) integer operations on registers in the time it accesses one memory cell outside the cache
This commit is contained in:
parent
2a5e45e6b3
commit
f2afcf5893
|
@ -1477,7 +1477,7 @@ u16 bright_less_colors[16][0x8000];
|
|||
BOOL bright_init=FALSE;
|
||||
|
||||
// comment this if want to use formulas instead
|
||||
#define BRIGHT_TABLES
|
||||
// #define BRIGHT_TABLES
|
||||
|
||||
void calc_bright_colors() {
|
||||
int base = /*gpu->masterBright.bits.FactorEx? 63:*/ 31 ;
|
||||
|
|
Loading…
Reference in New Issue