glsl: don't use switch statements
Switch statements are not part of OpenGL ES 2.0. Since switch statements might actually perform better than the replacement proposed here this merge request needs to be evaluated carefully.
Switch statements are not part of OpenGL ES 2.0. Since switch statements might actually perform better than the replacement proposed here this merge request needs to be evaluated carefully.