glsl: Pack integer and double varyings as flat even if interpolation mode is none
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 14 Jun 2016 21:38:04 +0000 (14:38 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 5 Jul 2016 23:58:27 +0000 (16:58 -0700)
commit3119871bd9558e5881466b70a4c366d2f83bba82
treebadc9fd39f6832a0fbcd8ae973b42cd6d5d3067d
parent73a6a4ce4975016d4f86d644b31d30bb6d3a38f8
glsl: Pack integer and double varyings as flat even if interpolation mode is none

v2: Also update varying_matches::compute_packing_class().  Suggested by
Timothy Arceri.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96358
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Cc: Gregory Hainaut <gregory.hainaut@gmail.com>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/ir.h
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/lower_packed_varyings.cpp