https://bugs.winehq.org/show_bug.cgi?id=36091
--- Comment #3 from Esme Povirk madewokherd@gmail.com --- Retested with Wine 8.5, it now fails even sooner:
FATAL ERROR in Fragment Shader compilation ShaderName: shader0
memory:58:1: E5000: syntax error, unexpected KW_DISCARD