summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-01-08 16:40:31 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2014-01-08 16:40:31 -0600
commitb55a4bb087d79c165f5cc9adefc1611c95491af4 (patch)
tree7d01b439980e411a1a933adee03d624e29aa1ddb /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
parentcdf69adcb0ced4b7c89ce5d243dbfc11bc3cc20d (diff)
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.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions