Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0fbf69fc
Commit
0fbf69fc
authored
Oct 10, 2005
by
Oliver Stieber
Committed by
Alexandre Julliard
Oct 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report unrecognized opcodes as FIXMEs instead of TRACEs so that they
are easier to spot and fix.
parent
a8d69d6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
vertexshader.c
dlls/wined3d/vertexshader.c
+5
-5
No files found.
dlls/wined3d/vertexshader.c
View file @
0fbf69fc
...
...
@@ -1125,7 +1125,7 @@ inline static VOID IWineD3DVertexShaderImpl_GenerateProgramArbHW(IWineD3DVertexS
if
(
NULL
==
curOpcode
)
{
while
(
*
pToken
&
0x80000000
)
{
TRAC
E
(
"unrecognized opcode: %08lx
\n
"
,
*
pToken
);
FIXM
E
(
"unrecognized opcode: %08lx
\n
"
,
*
pToken
);
/* skip unrecognized opcode */
++
pToken
;
}
...
...
@@ -1419,7 +1419,7 @@ inline static VOID IWineD3DVertexShaderImpl_GenerateProgramArbHW(IWineD3DVertexS
if
(
NULL
==
curOpcode
)
{
/* unkown current opcode ... (shouldn't be any!) */
while
(
*
pToken
&
0x80000000
)
{
TRAC
E
(
"unrecognized opcode: %08lx
\n
"
,
*
pToken
);
FIXM
E
(
"unrecognized opcode: %08lx
\n
"
,
*
pToken
);
++
pToken
;
}
}
else
if
(
GLNAME_REQUIRE_GLSL
==
curOpcode
->
glname
)
{
...
...
@@ -1715,9 +1715,9 @@ HRESULT WINAPI IWineD3DVertexShaderImpl_ExecuteSW(IWineD3DVertexShader* iface, W
/* TODO: Think of a name for 0x80000000 and repalce it's use with a constant */
while
(
*
pToken
&
0x80000000
)
{
if
(
i
==
0
)
{
TRAC
E
(
"unrecognized opcode: pos=%d token=%08lX
\n
"
,
(
pToken
-
1
)
-
This
->
function
,
*
(
pToken
-
1
));
FIXM
E
(
"unrecognized opcode: pos=%d token=%08lX
\n
"
,
(
pToken
-
1
)
-
This
->
function
,
*
(
pToken
-
1
));
}
TRAC
E
(
"unrecognized opcode param: pos=%d token=%08lX what="
,
pToken
-
This
->
function
,
*
pToken
);
FIXM
E
(
"unrecognized opcode param: pos=%d token=%08lX what="
,
pToken
-
This
->
function
,
*
pToken
);
vshader_program_dump_param
(
*
pToken
,
i
);
TRACE
(
"
\n
"
);
++
i
;
...
...
@@ -2060,7 +2060,7 @@ HRESULT WINAPI IWineD3DVertexShaderImpl_SetFunction(IWineD3DVertexShader *iface,
/* TODO: Think of a good name for 0x80000000 and replace it with a constant */
while
(
*
pToken
&
0x80000000
)
{
/* unkown current opcode ... */
TRAC
E
(
"unrecognized opcode: %08lx"
,
*
pToken
);
FIXM
E
(
"unrecognized opcode: %08lx"
,
*
pToken
);
++
pToken
;
++
len
;
TRACE
(
"
\n
"
);
...
...
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