wined3d: Enforce a stable texture units mapping.
commitd6c814663353d4449e67b6392dce203ffd32b8f4
authorMatteo Bruni <mbruni@codeweavers.com>
Thu, 12 Nov 2015 22:06:42 +0000 (12 23:06 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 13 Nov 2015 13:53:58 +0000 (13 22:53 +0900)
tree1615618cacd0bac466e5cb49adbb4a99e9d24c23
parent750dc790b7a87108c9367d7363bfc2e811293bc2
wined3d: Enforce a stable texture units mapping.

The GLSL shader backend hardcodes the sampler uniforms at program link
time, it can't handle a change in the mapping between draws with the
same shader program.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/context.c
dlls/wined3d/glsl_shader.c