mesa/glsl: remove hack to reset sampler units to zero
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 9 Nov 2016 12:50:07 +0000 (23:50 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 6 Jan 2017 00:21:42 +0000 (11:21 +1100)
commit5ceedefd6c32fa31e6a35831a8a7a315e009ccc3
tree55ebe3c9667c7a2d210c28035f49c00b947aa1dd
parent238486884e74888d32d64ea9d934ba6b07e79eb2
mesa/glsl: remove hack to reset sampler units to zero

Now that we have the is_arb_asm flag we can just skip the
initialisation.

V2: remove hack from standalone compiler where it was never
needed since it only compiles glsl shaders.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/standalone.cpp
src/mesa/program/program.c