glsl: don't eliminate texcoords that can be set by GL_COORD_REPLACE
authorMarek Olšák <marek.olsak@amd.com>
Fri, 9 Aug 2013 20:34:45 +0000 (22:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 18 Aug 2013 10:27:08 +0000 (12:27 +0200)
commitd13003f544417db6de44c65a0c118bd2b189458a
tree0f624838b9ff48cc4ace48050048c6c46f264052
parenta8346a2f52d08233d376db3aa8205d0b2cc74318
glsl: don't eliminate texcoords that can be set by GL_COORD_REPLACE

Tested by examining generated TGSI shaders from piglit/glsl-routing.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Henri Verbeet <hverbeet@gmail.com>
Tested-by: Henri Verbeet <hverbeet@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_optimization.h
src/glsl/linker.cpp
src/glsl/opt_dead_builtin_varyings.cpp