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.
Avoids to recalculate the need for uniform values over and over and make sure to always declare it when used.