Stefan Dösinger : wined3d: Use local constants for bump parameters.
Module: wine Branch: master Commit: 3372846aa64bdda484d5b5496db40aa1773eb65e URL: http://source.winehq.org/git/wine.git/?a=commit;h=3372846aa64bdda484d5b5496d... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Tue May 12 20:22:23 2009 +0200 wined3d: Use local constants for bump parameters. This simplifies the loading code a bit. The constants were never designed to be at the same location in all shaders, so there's no point in using program.env. This way we don't collide with the d3d shader constants and its easier to work together with NP2 fixups and other shaders. --- dlls/wined3d/arb_program_shader.c | 192 +++++++++++++------------------------ 1 files changed, 68 insertions(+), 124 deletions(-) Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=3372846aa64bdda484d5b5...
participants (1)
-
Alexandre Julliard