This patch adds a test for GL_ARB_sampler_objects. I'll commit in a day or two if there's no concerns. -Brian