On 25 January 2010 10:38, Stefan Dösinger stefandoesinger@gmx.at wrote:
I think these if constructs in shader_glsl_get_sample_function are becoming ugly with more and more possibilities added. Isn't there a nicer way, like a table that is either searched, or a multi-dimensional array to look up the end result?
Yeah, we could replace it with a lookup table at some point.