Errr....isnt it enough that it works for the two demos? How would we know what the random miniGLSL code we wrote are actually suppose to do or is it good enough that for the non-demo miniGLSL code we write, it just displays something and doesn't throw an error somewhere.
--
Well, if that were the case, then you're compiler could just recognize those two inputs and spit out the correct output, and do that only :-P
*Facepalm*
Sent from my mobile device.
--