summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile.sources
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2014-12-05 11:00:05 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2015-01-15 07:20:20 -0800
commit8edcd1de143816d4e1268dc7617ec23a067db970 (patch)
treeb37a0748a0212286a4c95901bc0088977929703d /src/glsl/Makefile.sources
parent919426631b7bd32f012eb9b6ffd8a9aff74788e1 (diff)
downloadexternal_mesa3d-8edcd1de143816d4e1268dc7617ec23a067db970.zip
external_mesa3d-8edcd1de143816d4e1268dc7617ec23a067db970.tar.gz
external_mesa3d-8edcd1de143816d4e1268dc7617ec23a067db970.tar.bz2
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 <cwabbott0@gmail.com>
Diffstat (limited to 'src/glsl/Makefile.sources')
0 files changed, 0 insertions, 0 deletions