Checking the log only is not valid GL. GL is not required to
return anything in the logs ever nor are they required to be
clear on success.
Check the COMPILE and LINK status when building shaders for RegalIff
honestly these should probably be some kind of ASSERT since the if the iff code ever generates a bad shader it's a bug right?
Agreed, we probably do need an assert if the iff generated code fails to compile or link.
OK, I'll look at merging in some variation of this.
Merged in, thanks for the patch.