wined3d: Don't use the builtin FFP uniforms for the lights

System Internals / WINE - Matteo Bruni [codeweavers.com] - 28 April 2015 06:02 UTC

While at it, use D3D-like uniforms for the light parameters and (consequently) implement range and proper D3D spotlights support.

28343db wined3d: Don't use the builtin FFP uniforms for the lights.
dlls/wined3d/glsl_shader.c | 255 +++++++++++++++++++++++++++++++---------
dlls/wined3d/state.c | 10 +-
dlls/wined3d/wined3d_private.h | 15 +--
3 files changed, 205 insertions(+), 75 deletions(-)

Upstream: source.winehq.org


  • Share