Paul Gofman : d3dx9: Add test for 0 * INF preshader operation.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 3 11:15:35 CDT 2016


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

Author: Paul Gofman <gofmanp at gmail.com>
Date:   Mon May  2 18:38:28 2016 +0300

d3dx9: Add test for 0 * INF preshader operation.

Signed-off-by: Paul Gofman <gofmanp at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dx9_36/tests/effect.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/d3dx9_36/tests/effect.c b/dlls/d3dx9_36/tests/effect.c
index aea3ded..4ef4d4c 100644
--- a/dlls/d3dx9_36/tests/effect.c
+++ b/dlls/d3dx9_36/tests/effect.c
@@ -3973,6 +3973,8 @@ static void test_effect_preshader_ops(IDirect3DDevice9 *device)
     {
         {"exp", 0x10500001, 1, {0x3f800000, 0x3f800000, 0x3e5edc66, 0x7f800000},
                 {0.0f, -0.0f, -2.2f, 3.402823466e+38f}, {1.0f, 2.0f, -3.0f, 4.0f}},
+        {"0 * INF", 0x20500004, 2, {0xffc00000, 0xffc00000, 0xc0d33334, 0x7f800000},
+                {0.0f, -0.0f, -2.2f, 3.402823466e+38f}, {INFINITY, INFINITY, 3.0f, 4.0f}},
     };
     unsigned int i;
 




More information about the wine-cvs mailing list