commit | 2de9e841e7ad983a5cac2da2abfdf13d8689f5ca | [log] [tgz] |
---|---|---|
author | Eric Engestrom <eric.engestrom@intel.com> | Thu Aug 16 15:22:46 2018 +0100 |
committer | Eric Engestrom <eric.engestrom@intel.com> | Tue Aug 21 15:50:02 2018 +0100 |
tree | 4541ab933af036710018ca2eb1a00473467e7ab3 | |
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 <eric.engestrom@intel.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>