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:

#ifdef FOO
#if FOO == 4
#endif
#endif
void main()  { gl_FragData[0] = vec4(0);}

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to