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
3c03ae2f
Commit
3c03ae2f
authored
Jul 21, 2006
by
Jason Green
Committed by
Alexandre Julliard
Jul 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Minor trace corrections in Set___ShaderConstants().
parent
9423fd2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/wined3d/device.c
+3
-3
No files found.
dlls/wined3d/device.c
View file @
3c03ae2f
...
...
@@ -4631,7 +4631,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetVertexShaderConstantB(
memcpy
(
&
This
->
updateStateBlock
->
vertexShaderConstantB
[
start
],
srcData
,
cnt
*
sizeof
(
BOOL
));
for
(
i
=
0
;
i
<
cnt
;
i
++
)
TRACE
(
"Set BOOL constant %u to %s
\n
"
,
i
,
srcData
[
i
]
?
"true"
:
"false"
);
TRACE
(
"Set BOOL constant %u to %s
\n
"
,
start
+
i
,
srcData
[
i
]
?
"true"
:
"false"
);
for
(
i
=
start
;
i
<
cnt
+
start
;
++
i
)
{
This
->
updateStateBlock
->
changed
.
vertexShaderConstantsB
[
i
]
=
TRUE
;
...
...
@@ -4677,7 +4677,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetVertexShaderConstantI(
memcpy
(
&
This
->
updateStateBlock
->
vertexShaderConstantI
[
start
*
4
],
srcData
,
cnt
*
sizeof
(
int
)
*
4
);
for
(
i
=
0
;
i
<
cnt
;
i
++
)
TRACE
(
"Set INT constant %u to { %d, %d, %d, %d }
\n
"
,
i
,
TRACE
(
"Set INT constant %u to { %d, %d, %d, %d }
\n
"
,
start
+
i
,
srcData
[
i
*
4
],
srcData
[
i
*
4
+
1
],
srcData
[
i
*
4
+
2
],
srcData
[
i
*
4
+
3
]);
for
(
i
=
start
;
i
<
cnt
+
start
;
++
i
)
{
...
...
@@ -4724,7 +4724,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetVertexShaderConstantF(
memcpy
(
&
This
->
updateStateBlock
->
vertexShaderConstantF
[
start
*
4
],
srcData
,
cnt
*
sizeof
(
float
)
*
4
);
for
(
i
=
0
;
i
<
cnt
;
i
++
)
TRACE
(
"Set FLOAT constant %u to { %f, %f, %f, %f }
\n
"
,
i
,
TRACE
(
"Set FLOAT constant %u to { %f, %f, %f, %f }
\n
"
,
start
+
i
,
srcData
[
i
*
4
],
srcData
[
i
*
4
+
1
],
srcData
[
i
*
4
+
2
],
srcData
[
i
*
4
+
3
]);
for
(
i
=
start
;
i
<
cnt
+
start
;
++
i
)
{
...
...
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