https://bugs.winehq.org/show_bug.cgi?id=52684
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- (In reply to Henri Verbeet from comment #11)
I don't know the details of the tests you did, but should we perhaps simply be marking the entire texture dirty upon creation?
It'd help this bug, but I don't think it addresses the problem in general. I'm not sure there are ways to trigger the bug in wined3d afterwards, but I don't think it's correct not to invalidate ~map_binding. The comment in add_dirty_rect_test() is relevant here:
* Side note, not tested in the test: Partial surface updates work, and two separate * dirty rectangles are tracked individually. Tested on Nvidia Kepler, other drivers * untested.
I was only able to test on WARP, but it appears to work the same way.