Jason Green : wined3d: Add the bulk of the GLSL string generation functions .

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jun 9 11:16:22 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 0c59ca6448d680c67b51df96534e91804c6ee4f1
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0c59ca6448d680c67b51df96534e91804c6ee4f1

Author: Jason Green <jave27 at gmail.com>
Date:   Fri Jun  9 03:33:01 2006 -0400

wined3d: Add the bulk of the GLSL string generation functions.

- Add a new file glsl_shader.c which contains almost every GLSL specific function we'll need
- Move print_glsl_info() into glsl_shader.c
- Move the shader_reg_maps struct info into the private header, and make it part of SHADER_OPCODE_ARG.
- Create a new shared ps/vs register map for float constants (future patch will make ARB programs use this, too)

---

 dlls/wined3d/Makefile.in       |    1 
 dlls/wined3d/baseshader.c      |   30 -
 dlls/wined3d/glsl_shader.c     |  803 ++++++++++++++++++++++++++++++++++++++++
 dlls/wined3d/wined3d_private.h |   24 +
 4 files changed, 829 insertions(+), 29 deletions(-)
 create mode 100644 dlls/wined3d/glsl_shader.c

Diff:   http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=0c59ca6448d680c67b51df96534e91804c6ee4f1



More information about the wine-cvs mailing list