glsl2: When inlining, don't clone and assign sampler arguments.
authorEric Anholt <eric@anholt.net>
Thu, 22 Jul 2010 20:52:41 +0000 (13:52 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Jul 2010 20:58:32 +0000 (13:58 -0700)
commit8ec0b8187ea695353c75eed7314e86344df60e5a
tree446640ce339179ba1bd3cf99cb5cfb5fa5774d05
parent2d1ed7b1b112cf13dd7eda7f500691f4c98a1ccc
glsl2: When inlining, don't clone and assign sampler arguments.

Instead, just use the incoming sampler param.  Fixes many texture-using
piglit tests since the linker rework.
src/glsl/ir_function_inlining.cpp