[Mesa-dev] [PATCH 6/7] mesa: Use initializers to configure samplers

2012-05-17 Thread Ian Romanick
From: Ian Romanick 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 Reviewed-by: Eric Anholt --- src/mesa/main/ff_fragment_shader.cpp | 41 +++-- 1 files ch

[Mesa-dev] [PATCH 6/7] mesa: Use initializers to configure samplers

2012-04-12 Thread Ian Romanick
From: Ian Romanick 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 --- src/mesa/main/ff_fragment_shader.cpp | 41 +++-- 1 files changed, 9 insertions(+), 32