-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas Jones wrote:
> I have a shader that fails to pre-process on the new compiler, but
> does compile on the old one, I've reduced it to this:
>
> #ifdef FOO
> #if FOO == 4
> #elif SAMP == 5
> #endif
> #endif
> void main() { gl_FragData[0] = vec4(0
I have a shader that fails to pre-process on the new compiler, but
does compile on the old one, I've reduced it to this:
#ifdef FOO
#if FOO == 4
#elif SAMP == 5
#endif
#endif
void main() { gl_FragData[0] = vec4(0);}
I think it might be mis-nesting the #elif since it succeeds if I
change it to: