Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
effdcf98
Commit
effdcf98
authored
Sep 28, 2012
by
Rico Schüller
Committed by
Alexandre Julliard
Sep 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Improve traces for D3DXSHMultiply2/3().
parent
3e24dc64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
math.c
dlls/d3dx9_36/math.c
+6
-6
No files found.
dlls/d3dx9_36/math.c
View file @
effdcf98
...
...
@@ -2306,16 +2306,16 @@ HRESULT WINAPI D3DXSHEvalDirectionalLight(UINT order, CONST D3DXVECTOR3 *dir, FL
return
D3D_OK
;
}
FLOAT
*
WINAPI
D3DXSHMultiply2
(
FLOAT
*
out
,
CONST
FLOAT
*
a
,
CONST
FLOAT
*
b
)
FLOAT
*
WINAPI
D3DXSHMultiply2
(
FLOAT
*
out
,
const
FLOAT
*
a
,
const
FLOAT
*
b
)
{
FLOAT
ta
,
tb
;
TRACE
(
"
(%p, %p, %p)
\n
"
,
out
,
a
,
b
);
TRACE
(
"
out %p, a %p, b %p
\n
"
,
out
,
a
,
b
);
ta
=
0
.
28209479
f
*
a
[
0
];
tb
=
0
.
28209479
f
*
b
[
0
];
out
[
0
]
=
0
.
28209479
f
*
D3DXSHDot
(
2
,
a
,
b
);
out
[
0
]
=
0
.
28209479
f
*
D3DXSHDot
(
2
,
a
,
b
);
out
[
1
]
=
ta
*
b
[
1
]
+
tb
*
a
[
1
];
out
[
2
]
=
ta
*
b
[
2
]
+
tb
*
a
[
2
];
out
[
3
]
=
ta
*
b
[
3
]
+
tb
*
a
[
3
];
...
...
@@ -2323,13 +2323,13 @@ FLOAT* WINAPI D3DXSHMultiply2(FLOAT *out, CONST FLOAT *a, CONST FLOAT *b)
return
out
;
}
FLOAT
*
WINAPI
D3DXSHMultiply3
(
FLOAT
*
out
,
CONST
FLOAT
*
a
,
CONST
FLOAT
*
b
)
FLOAT
*
WINAPI
D3DXSHMultiply3
(
FLOAT
*
out
,
const
FLOAT
*
a
,
const
FLOAT
*
b
)
{
FLOAT
t
,
ta
,
tb
;
TRACE
(
"
(%p, %p, %p)
\n
"
,
out
,
a
,
b
);
TRACE
(
"
out %p, a %p, b %p
\n
"
,
out
,
a
,
b
);
out
[
0
]
=
0
.
28209479
f
*
a
[
0
]
*
b
[
0
];
out
[
0
]
=
0
.
28209479
f
*
a
[
0
]
*
b
[
0
];
ta
=
0
.
28209479
f
*
a
[
0
]
-
0
.
12615662
f
*
a
[
6
]
-
0
.
21850968
f
*
a
[
8
];
tb
=
0
.
28209479
f
*
b
[
0
]
-
0
.
12615662
f
*
b
[
6
]
-
0
.
21850968
f
*
b
[
8
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment