[PATCH 1/3] wined3d: Record dirty regions for d3d9 textures.