diff options
author | Roland Scheidegger <[email protected]> | 2016-05-13 01:44:39 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-05-27 19:11:28 +0200 |
commit | 9247570d42600fd01a8afbf6ae0bf6c7008e717a (patch) | |
tree | 9b8e9bc20a3bf8a4af9e29e7ec39c315091bbd8e /src/gbm | |
parent | 17d685c4267887661181209e47031bff9c85606b (diff) |
gallivm: eliminate a unnecessary AND with unorm lerps
Instead of doing a add and then mask out the upper bits, we can
simply do a add with a half wide type (this, of course, assumes
the hw can actually do it...), so we'll get the required zero
in the upper bits automatically.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gbm')
0 files changed, 0 insertions, 0 deletions