https://bugs.winehq.org/show_bug.cgi?id=33111
--- Comment #16 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Adam Bolte from comment #13)
Created attachment 59907 [details] Mesa 17.4.0-devel (git-4c7af87fb9) screenshot 1
I'm still seeing similar issues in current Mesa builds. Tested on an AMD Fury X.
Interesting. It might not be the exact same issue but it does at least look similar.
The original issue had to do with sampling from a depth texture also bound as depth buffer (obviously with depth writes disabled, so no feedback loop). That's generally supported by OpenGL drivers although the spec is intentionally vague on the matter. Actually I noticed a SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST query exposed by ARB_internalformat_query2 which seems to target exactly this case. Anyway, even if this technically might not be a driver "bug", it's a missing feature.
Adam, I think you should report your issue to the Mesa bug tracker for the time being and see what comes out of it.