- Joined
- Feb 10, 2009
- Messages
- 5,484
- Trophies
- 2
- Location
- Sacramento, California
- Website
- lazerlight.x10.mx
- XP
- 5,509
- Country
The thing with such LUTs is that out of the 65536 possible values, only 256 would be used, which is kinda wasteful. Although it might be more cache-efficient, dunno. Would need proper testing eventually.
CIA version is planned if it's not too much of a pain to build.
Yeah, that is the side-effect in this case. I was looking at it with trying to reduce the number of instructions, if cases, etc. Technically speaking, the values grabbed when masking 0x8080 and 0x4040 for the separate pixels is the same, so if adding some right-shifts and reducing the size of the LUT would help..... /shrug