Minor shader globals refactor