diff options
author | Jason Ekstrand <[email protected]> | 2014-12-05 11:00:05 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:20:20 -0800 |
commit | 8edcd1de143816d4e1268dc7617ec23a067db970 (patch) | |
tree | b37a0748a0212286a4c95901bc0088977929703d /install-gallium-links.mk | |
parent | 919426631b7bd32f012eb9b6ffd8a9aff74788e1 (diff) |
nir: Make the type casting operations static inline functions
Previously, the casting operations were macros. While this is usually
fine, the casting macro used the input parameter twice leading to strange
behavior when you passed the result of another function into it. Since we
know the source and destination types explicitly, we don't loose anything
by making it a function.
Also, this gives us a nice little macro for creating cast function that
will hopefully prevent mistyping.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'install-gallium-links.mk')
0 files changed, 0 insertions, 0 deletions