Verzió
4.0-600
Ág: %s
master
Dátum
10 évvel, 2 hónappal ezelőtt
Windows x64 Windows x86 Mac OS X Android Ubuntu 13.04
Megjegyzés
b55a4bb087d79c165f5cc9adefc1611c95491af4
Szerző módosítása
Ryan Houdek
Leírás módosítása
Slight optimization in the pixel shader. We are using pow(2.0, X) in place of exp2(X). This can be faster in places that don't optimize a pow to a exp2 in this case. Notice this from here: http://cgit.freedesktop.org/mesa/mesa/commit/?id=847bc36a38d42967ad6bf0492fe90a4892d9d799 Intel Haswell GPU is 24 cycles for POW and 14 cycles for EXP2. Maybe other GPUs don't optimize this either. Just be safe.