wined3d: Only set fragment pipe uniforms if they're needed by the shader.
commit26aef9f166d56eb25a14e0953d1c0167c8c4cef0
authorHenri Verbeet <hverbeet@codeweavers.com>
Fri, 16 Aug 2013 07:12:29 +0000 (16 09:12 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 15 Nov 2013 15:23:37 +0000 (15 16:23 +0100)
treeb613a88017cdfb2691a57d8669b650c0b2ff92a1
parent1535124c103c2ba17253373a9f886f853ba23c7c
wined3d: Only set fragment pipe uniforms if they're needed by the shader.

In principle the GL driver also checks the location, but it turns out to be
slightly faster to do it ourselves.

(cherry picked from commit c1af40505402ea4e5e4233a4ac739117a00429c7)
dlls/wined3d/glsl_shader.c