Created attachment 116318 [details]
Screenshot of bug
I'm trying to run the game The Witcher (in Wine) it has rendering errors when drawing the rain.
This bug is present in both git master (78395dbf9ff429d98523f8b4a340f7188d8b4db0) and in 10.5.5.
I made an apitrace of the game and it renders without problem on i965.
Running the trace on r600 results in this warning:
101172: glDebugOutputCallback: Medium severity API unknown issue 1, FBO incomplete: driver marked FBO as incomplete [-1]
This is on a Redwood, Radeon HD 5670 1GB.
This is probably Wine bug 25696 / 34052. Read https://bugs.winehq.org/show_bug.cgi?id=34052#c42 for an explanation of that bug (essentially, the vertex shader reads out of bounds of a uniform array).
Yes, it's probably something similar. I tried the reorder shader constants patch, but it didn't make any difference (and introduced other bugs as you mentioned)
I filed a new bug with Wine just to be sure:
Maybe this bug could be kept open at least for a while if there's something that can be done on the driver side.
This was fixed in Wine by Matteo Bruni so I think we can close this bug.