glsl: add double support for packing varyings

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 24 February 2015 21:07 UTC

Doubles are always packed, but a single double will never cross a slot boundary -- single slots can still be wasted in some situations.

720ba6c glsl: add double support for packing varyings
src/glsl/lower_packed_varyings.cpp | 117 +++++++++++++++++++++++++++---------
1 file changed, 90 insertions(+), 27 deletions(-)

Upstream: cgit.freedesktop.org


  • Share