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
12805f08
Commit
12805f08
authored
Jan 20, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Jan 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix a few TRACEs in pixelshader.c.
parent
f5c2e85b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
pixelshader.c
dlls/wined3d/pixelshader.c
+9
-4
No files found.
dlls/wined3d/pixelshader.c
View file @
12805f08
...
...
@@ -864,7 +864,7 @@ inline static void addline(unsigned int *lineNum, char *pgm, unsigned int *pgmLe
}
*
pgmLength
+=
lineLen
;
++
lineNum
;
++
(
*
lineNum
)
;
TRACE
(
"GL HW (%u, %u) : %s"
,
*
lineNum
,
*
pgmLength
,
line
);
}
...
...
@@ -1095,7 +1095,6 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
#endif
pInstr
=
pToken
;
curOpcode
=
pshader_program_get_opcode
(
*
pToken
,
version
);
TRACE
(
"Found opcode %s %s
\n
"
,
curOpcode
->
name
,
curOpcode
->
glname
);
++
pToken
;
if
(
NULL
==
curOpcode
)
{
/* unknown current opcode ... (shouldn't be any!) */
...
...
@@ -1108,6 +1107,7 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
FIXME
(
"Token %s requires greater functionality than Fragment_Progarm_ARB supports
\n
"
,
curOpcode
->
name
);
pToken
+=
curOpcode
->
num_params
;
}
else
{
TRACE
(
"Found opcode %s %s
\n
"
,
curOpcode
->
name
,
curOpcode
->
glname
);
saturate
=
FALSE
;
/* Build opcode for GL vertex_program */
...
...
@@ -1399,7 +1399,7 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
case D3DSPDM_D8: D8 = TRUE; break;
#endif
default:
TRACE
(
"_unhandled_modifier(0x%08lx)"
,
mask
);
TRACE
(
"_unhandled_modifier(0x%08lx)
\n
"
,
mask
);
}
}
...
...
@@ -1491,9 +1491,14 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
/* finally null terminate the pgmStr*/
pgmStr
[
pgmLength
]
=
0
;
if
(
GL_SUPPORT
(
ARB_VERTEX_PROGRAM
))
{
TRACE
(
"(%p) : Generated program %s
\n
"
,
This
,
pgmStr
);
/* Create the hw shader */
/* pgmStr sometimes gets too long for a normal TRACE */
TRACE
(
"Generated program:
\n
"
);
if
(
TRACE_ON
(
d3d_shader
))
{
fprintf
(
stderr
,
"%s
\n
"
,
pgmStr
);
}
/* TODO: change to resource.glObjectHandel or something like that */
GL_EXTCALL
(
glGenProgramsARB
(
1
,
&
This
->
prgId
));
...
...
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