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
552dae7b
Commit
552dae7b
authored
Apr 20, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos.
parent
5c95e41d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
shader.c
dlls/d3d8/shader.c
+7
-7
No files found.
dlls/d3d8/shader.c
View file @
552dae7b
...
...
@@ -703,19 +703,19 @@ inline static VOID IDirect3DVertexShaderImpl_GenerateProgramArbHW(IDirect3DVerte
case
11
:
numTemps
=
12
;
numConstants
=
96
;
strcpy
(
tmpLine
,
"!!ARBvp1.0
\n
"
);
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u) : %s"
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
t add /
n to this line as already in tmpLine */
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u) : %s"
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
't add \
n to this line as already in tmpLine */
break
;
case
20
:
numTemps
=
12
;
numConstants
=
256
;
strcpy
(
tmpLine
,
"!!ARBvp2.0
\n
"
);
FIXME_
(
d3d_hw_shader
)(
"No work done yet to support vs2.0 in hw
\n
"
);
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u) : %s"
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
t add /
n to this line as already in tmpLine */
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u) : %s"
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
't add \
n to this line as already in tmpLine */
break
;
case
30
:
numTemps
=
32
;
numConstants
=
256
;
strcpy
(
tmpLine
,
"!!ARBvp3.0
\n
"
);
FIXME_
(
d3d_hw_shader
)(
"No work done yet to support vs3.0 in hw
\n
"
);
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u) : %s"
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
t add /
n to this line as already in tmpLine */
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u) : %s"
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
't add \
n to this line as already in tmpLine */
break
;
default:
numTemps
=
12
;
...
...
@@ -729,7 +729,7 @@ inline static VOID IDirect3DVertexShaderImpl_GenerateProgramArbHW(IDirect3DVerte
for
(
i
=
0
;
i
<
nUseTempRegister
/*we should check numTemps here*/
;
i
++
)
{
sprintf
(
tmpLine
,
"TEMP T%ld;
\n
"
,
i
);
++
lineNum
;
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u, %u) : %s"
,
lineNum
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
t add /
n to this line as already in tmpLine */
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u, %u) : %s"
,
lineNum
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
't add \
n to this line as already in tmpLine */
strcat
(
pgmStr
,
tmpLine
);
}
for
(
i
=
0
;
i
<
nUseAddressRegister
;
i
++
)
{
...
...
@@ -822,7 +822,7 @@ inline static VOID IDirect3DVertexShaderImpl_GenerateProgramArbHW(IDirect3DVerte
continue
;
default:
FIXME_
(
d3d_hw_shader
)(
"Cant handle opcode %s in hwShader
\n
"
,
curOpcode
->
name
);
FIXME_
(
d3d_hw_shader
)(
"Can
'
t handle opcode %s in hwShader
\n
"
,
curOpcode
->
name
);
}
if
(
curOpcode
->
num_params
>
0
)
{
...
...
@@ -837,13 +837,13 @@ inline static VOID IDirect3DVertexShaderImpl_GenerateProgramArbHW(IDirect3DVerte
}
strcat
(
tmpLine
,
";
\n
"
);
++
lineNum
;
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u, %u) : %s"
,
lineNum
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
t add /
n to this line as already in tmpLine */
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u, %u) : %s"
,
lineNum
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
't add \
n to this line as already in tmpLine */
strcat
(
pgmStr
,
tmpLine
);
}
}
strcpy
(
tmpLine
,
"END
\n
"
);
++
lineNum
;
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u, %u) : %s"
,
lineNum
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
t add /
n to this line as already in tmpLine */
TRACE_
(
d3d_hw_shader
)(
"GL HW (%u, %u) : %s"
,
lineNum
,
strlen
(
pgmStr
),
tmpLine
);
/* Don
't add \
n to this line as already in tmpLine */
strcat
(
pgmStr
,
tmpLine
);
}
...
...
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