glsl/varying_packing: Add 64-bit integer support
authorDave Airlie <airlied@redhat.com>
Thu, 9 Jun 2016 00:11:16 +0000 (10:11 +1000)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 20 Jan 2017 23:41:23 +0000 (15:41 -0800)
commit050f38ef0bb3f5ddb11e1c4fac08039e74d16f34
treed0bf95700e25715047772f51580ad18c1ba3769f
parent923aebdd464e0463db28c1824b0bc12a538937a5
glsl/varying_packing: Add 64-bit integer support

As for the double code, but using the 64-bit integer conversions.

v2 (idr): Remove some spurious u2i() and i2u() operations when packing
and unpacking, respectively, int64_t varyings.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1]
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/glsl/lower_packed_varyings.cpp