https://bugs.winehq.org/show_bug.cgi?id=35205
--- Comment #10 from Matteo Bruni matteo.mystral@gmail.com --- You probably want to store a struct wined3d_box instead and in general handle dirty areas for 3D textures too (the latter can be a separate patch I guess). There is still the question about how multiple dirty areas are supposed to be handled and if the existing tests aren't affected by your patch, we clearly need more tests.
I'd start by extending the test, adding some interesting cases and running it on Windows. The testbot might help somewhat but you really want to test on actual Windows boxes with real GPUs.