diff options
author | Roland Scheidegger <[email protected]> | 2010-10-08 21:08:49 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-10-09 00:36:38 +0200 |
commit | 2cc6da85d6e60e80d0b5b86fe42f8f82073b5d51 (patch) | |
tree | 4148eacacfbb1f33250c202fee70974310677d61 /src/gallium/auxiliary/target-helpers/wrap_screen.c | |
parent | 318bb080b04c961141a962d440d0e1296f8adda6 (diff) |
gallivm: avoid unnecessary URem in linear wrap repeat case
Haven't looked at what code this exactly generates but URem can't be fast.
Instead of using two URem only use one and replace the second one with
select/add (this is what the corresponding aos code already does).
Diffstat (limited to 'src/gallium/auxiliary/target-helpers/wrap_screen.c')
0 files changed, 0 insertions, 0 deletions