diff options
author | Eric Engestrom <[email protected]> | 2018-08-16 15:22:46 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-08-21 15:50:02 +0100 |
commit | 2de9e841e7ad983a5cac2da2abfdf13d8689f5ca (patch) | |
tree | 4541ab933af036710018ca2eb1a00473467e7ab3 /src/gtest | |
parent | 1ca23420c1c334f91c2a3e69fdd3ae24f189a41f (diff) |
egl: add helper to combine two u32 into one u64
Use a helper to avoid the common issues of upcasting after the right shift
(losing the upper bits) and shifting signed values (sign gets shifted too).
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions