Tony Wasserka : d3dx9: Move pixel sampling and recombination in copy_simple_data to separate helper functions .