Does the dog need to be in partitive? Would that be because the verb "pestä" needs always to be accompanied by partitive subjects?
It's an ongoing action and we don't know the result. These use partitive. If knowing that the whole job gets done, one could use genitive and say Pesen koiran (better in English as I wash the dog).