Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> On Tue, Jan 2, 2018 at 9:27 PM, <srol...@vmware.com> wrote: > + static const char *fs_source = > + "#version 150\n" > + "#extension GL_ARB_gpu_shader5: require\n" > + "uniform samplerBuffer s[2];\n" > + "uniform int offset;\n" > + "uniform int index;\n"
A little trick I like to use in piglits is "uniform int index = 1\n". That way it's still a uniform, but I don't have to bother setting it. Your call. -ilia _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit