shader: Add the uniforms to the header buffer only when required
Avoids to recalculate the need for uniform values over and over and make sure to always declare it when used.
Edited by Corentin Noël
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Avoids to recalculate the need for uniform values over and over and make sure to always declare it when used.