Move shader program creation from update side to render side