Merge pull request #9539 from iwubcode/dynamic_input_tex_more_optimizations InputCommon: dynamic input textures more optimizations