H. Verbeet : wined3d: Texture limits fixes.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 28 10:38:53 CDT 2006


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

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Tue Jun 27 23:40:42 2006 +0200

wined3d: Texture limits fixes.

GL_LIMITS(textures) is currently used for both the number of texture
stages and the maximum number of simultaneous textures. In the current
code that's the same, but in a later patch that will be separated,
since a texture stage doesn't have to reference an actual
texture. Also, shaders can access a larger number of samplers than the
number of texture units the fixed function pipeline can access.

---

 dlls/wined3d/device.c          |   32 +++++++++++++++--------------
 dlls/wined3d/directx.c         |   10 ++++++---
 dlls/wined3d/drawprim.c        |    6 +++--
 dlls/wined3d/stateblock.c      |   44 ++++++++++++++++++----------------------
 dlls/wined3d/wined3d_private.h |    4 ++--
 include/wine/wined3d_gl.h      |    2 ++
 6 files changed, 50 insertions(+), 48 deletions(-)

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



More information about the wine-cvs mailing list