Henri Verbeet : wined3d: Fix the SM3 int and bool vs constant limits.

Alexandre Julliard julliard at winehq.org
Tue Oct 9 13:12:35 CDT 2012


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Oct  8 21:32:41 2012 +0200

wined3d: Fix the SM3 int and bool vs constant limits.

Reported by Eduard Munteanu.

---

 dlls/wined3d/shader.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c
index 9223dce..aac19ae 100644
--- a/dlls/wined3d/shader.c
+++ b/dlls/wined3d/shader.c
@@ -1796,8 +1796,8 @@ static void vertexshader_set_limits(struct wined3d_shader *shader)
 
         case WINED3D_SHADER_VERSION(3, 0):
             shader->limits.temporary = 32;
-            shader->limits.constant_bool = 32;
-            shader->limits.constant_int = 32;
+            shader->limits.constant_bool = 16;
+            shader->limits.constant_int = 16;
             shader->limits.address = 1;
             shader->limits.packed_output = 12;
             shader->limits.sampler = 4;




More information about the wine-cvs mailing list