diff options
author | Roland Scheidegger <[email protected]> | 2013-11-11 15:11:59 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-11-12 19:08:58 +0000 |
commit | 50f19e3a668b1b589bf00613d33c7c7c4e6a4954 (patch) | |
tree | 935ead207e3501e91c31c1590f40a0d751de2dea /src/gallium/state_trackers/clover/util | |
parent | 2d77e4f922a8c34541d8b187e171738006bd6f4d (diff) |
draw,llvmpipe: use exponent manipulation instead of exp2 for polygon offset
Since we explicitly require a integer input we should avoid using exp2 math
(even if we were using optimized versions), which turns the exp2 into a int
sub (plus some casts).
v2: fix bogus uint (needs to be int) math spotted by Matthew, fix comments
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/util')
0 files changed, 0 insertions, 0 deletions