OSDN Git Service

mesa: Use initializers to configure samplers
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Apr 2012 19:33:48 +0000 (12:33 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 May 2012 18:42:08 +0000 (11:42 -0700)
commit49da2590c24529e44de9993e2981cc970cf0135b
tree59a529706de0a6961eabcaabec5b1284f07df8a8
parent75dac69262481ac26a823a9d06f7f138ec56b01f
mesa: Use initializers to configure samplers

Now that the linker handles initializers of samplers just like any
other uniform, a bunch of this annoying code is unnecessary.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/ff_fragment_shader.cpp