glsl: double-precision values don't support interpolation
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 26 Jan 2016 11:47:26 +0000 (12:47 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 28 Jan 2016 10:35:03 +0000 (11:35 +0100)
commitf9c43dd22f92cd631f7feffb362a4cd3dad06c87
tree1298c0ab2cfaad54d43f1a02a6cc2dc864ec56af
parent3fba517bdd03551f7c7ff21dfe1896c677cbccda
glsl: double-precision values don't support interpolation

ARB_gpu_shader_fp64 spec says:

  "This extension does not support interpolation of double-precision
  values; doubles used as fragment shader inputs must be qualified as
  "flat"."

Fixes the regressions added by commit 781d278:

arb_gpu_shader_fp64-double-gettransformfeedbackvarying
arb_gpu_shader_fp64-tf-interleaved
arb_gpu_shader_fp64-tf-interleaved-aligned
arb_gpu_shader_fp64-tf-separate

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93878
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/link_varyings.cpp