Module: wine Branch: master Commit: 28343db2083de7b4afe4079da090520f44b5544d URL: http://source.winehq.org/git/wine.git/?a=commit;h=28343db2083de7b4afe4079da0...
Author: Matteo Bruni mbruni@codeweavers.com Date: Mon Apr 27 17:39:12 2015 +0200
wined3d: Don't use the builtin FFP uniforms for the lights.
While at it, use D3D-like uniforms for the light parameters and (consequently) implement range and proper D3D spotlights support.
---
dlls/wined3d/glsl_shader.c | 255 +++++++++++++++++++++++++++++++---------- dlls/wined3d/state.c | 10 +- dlls/wined3d/wined3d_private.h | 15 +-- 3 files changed, 205 insertions(+), 75 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=28343db2083de7b4afe407...