Very interesting stuff! It's similar to the TW3 issue (https://bugs.freedesktop.org/show_bug.cgi?id=101731). Basically, Wine doesn't correctly set the transform feedback varyings (ie. count is 0 in glTransformFeedbackVaryings), then MEsa