Merge pull request #9516 from iwubcode/dynamic_input_textures_improved InputCommon: move some dynamic input texture logic and add specification option