commit | a63bac9271cf4984b4b8c0158e99fffa7f78c8bb | [log] [tgz] |
---|---|---|
author | Eric Engestrom <eric@engestrom.ch> | Sat Jul 30 01:33:56 2016 +0100 |
committer | Rob Clark <robdclark@gmail.com> | Sat Jul 30 09:23:42 2016 -0400 |
tree | 784931e643ef950e0836783f9950c10241fe022e | |
parent | 3563c4d16138360fd8756576e0c9c825ed6cec86 [diff] |
gallium/freedreno: move cast to avoid integer overflow Previously, the bitshift would be performed on a simple int (32 bits on most systems), overflow, and then be cast to 64 bits. CovID: 1362461 Signed-off-by: Eric Engestrom <eric@engestrom.ch> Signed-off-by: Rob Clark <robdclark@gmail.com>