VideoCommon: move texcoord calculations to accessible functions in VertexShaderGen
std::fill
std::fill_n