linker: Various trivial clean-ups in set_sampler_binding
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 4 Apr 2014 17:52:31 +0000 (10:52 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Apr 2014 19:26:01 +0000 (12:26 -0700)
commit881c52f13f4a8ca1c80ca1766238d5100ddf283b
tree294c8a3a0be0b20eacf8bfeadd0e5b5a00af4f08
parent6e2f63b69e37c365094ce9bf7e2f9cd118cea01a
linker: Various trivial clean-ups in set_sampler_binding

- Remove the spurious block left from the previous commit and re-indent.

- Constify elements.

- Make the spec reference in the code look like other spec references in
  the compiler.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76323
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Cc: github@socker.lepus.uberspace.de
src/glsl/link_uniform_initializers.cpp