hrydgard/ppsspp — pull request #4152 by unknownbrackets (2013-10-13 05:30:12+00:00)
Title: Compare stencil correctly based on bitdepth.

All sorts of funny rules. See comments here:
https://github.com/hrydgard/ppsspp/pull/4150

Prescaling the value on read doesn't work, because INCR works with the original value.

Still doesn't completely correct stencil, since so far I don't know if there's anything on the alpha side that actually writes to the alpha channel, heh.

-[Unknown]