glsl: remove interpolateAt* instructions for demoted inputs
authorMarek Olšák <marek.olsak@amd.com>
Fri, 9 Sep 2016 00:04:00 +0000 (02:04 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 16 Sep 2016 20:35:08 +0000 (22:35 +0200)
commitae0a4a1299f649ff550a0dfd59d60fc8b91df54f
treec24aa6ace2ca65de617d74e5d71829d6a6175a8f
parentd58a3906cba57b12035f6ec7a3da80edc6929d6f
glsl: remove interpolateAt* instructions for demoted inputs

This fixes 8 fs-interpolateat* piglit crashes on radeonsi, because it can't
handle non-input operands in interpolateAt*.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/opt_algebraic.cpp