https://bugs.winehq.org/show_bug.cgi?id=43618
--- Comment #4 from Alex Henrie alexhenrie24@gmail.com --- Looks like Wine's HLSL compiler doesn't support the tex2D function, or any other functions for that matter: https://www.winehq.org/pipermail/wine-devel/2016-September/114659.html