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
8470e54b
Commit
8470e54b
authored
May 17, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
May 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove detailed traces from map2gl/input_modifiers functions.
parent
c05bc5d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
pixelshader.c
dlls/wined3d/pixelshader.c
+0
-4
No files found.
dlls/wined3d/pixelshader.c
View file @
8470e54b
...
@@ -860,7 +860,6 @@ inline static int gen_input_modifier_line(const DWORD instr, int tmpreg, char *o
...
@@ -860,7 +860,6 @@ inline static int gen_input_modifier_line(const DWORD instr, int tmpreg, char *o
/* Get register name */
/* Get register name */
get_register_name
(
instr
,
regstr
,
constants
);
get_register_name
(
instr
,
regstr
,
constants
);
TRACE
(
" Register name %s
\n
"
,
regstr
);
switch
(
instr
&
D3DSP_SRCMOD_MASK
)
{
switch
(
instr
&
D3DSP_SRCMOD_MASK
)
{
case
D3DSPSM_NONE
:
case
D3DSPSM_NONE
:
strcpy
(
outregstr
,
regstr
);
strcpy
(
outregstr
,
regstr
);
...
@@ -992,7 +991,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG* arg) {
...
@@ -992,7 +991,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG* arg) {
BOOL
partialprecision
=
FALSE
;
BOOL
partialprecision
=
FALSE
;
DWORD
shift
;
DWORD
shift
;
TRACE
(
"Appending glname %s to tmpLine
\n
"
,
curOpcode
->
glname
);
strcpy
(
tmpLine
,
curOpcode
->
glname
);
strcpy
(
tmpLine
,
curOpcode
->
glname
);
/* Process modifiers */
/* Process modifiers */
...
@@ -1021,7 +1019,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG* arg) {
...
@@ -1021,7 +1019,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG* arg) {
/* Generate lines that handle input modifier computation */
/* Generate lines that handle input modifier computation */
for
(
i
=
1
;
i
<
curOpcode
->
num_params
;
++
i
)
{
for
(
i
=
1
;
i
<
curOpcode
->
num_params
;
++
i
)
{
TRACE
(
"(%p) : Param %u token %lx
\n
"
,
This
,
i
,
src
[
i
-
1
]);
if
(
gen_input_modifier_line
(
src
[
i
-
1
],
i
-
1
,
regs
[
i
-
1
],
tmpOp
,
This
->
constants
))
if
(
gen_input_modifier_line
(
src
[
i
-
1
],
i
-
1
,
regs
[
i
-
1
],
tmpOp
,
This
->
constants
))
shader_addline
(
buffer
,
tmpOp
);
shader_addline
(
buffer
,
tmpOp
);
}
}
...
@@ -1035,7 +1032,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG* arg) {
...
@@ -1035,7 +1032,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG* arg) {
/* This function works because of side effects from gen_input_modifier_line */
/* This function works because of side effects from gen_input_modifier_line */
/* Handle input registers */
/* Handle input registers */
for
(
i
=
1
;
i
<
curOpcode
->
num_params
;
++
i
)
{
for
(
i
=
1
;
i
<
curOpcode
->
num_params
;
++
i
)
{
TRACE
(
"(%p) : Regs = %s
\n
"
,
This
,
regs
[
i
-
1
]);
strcpy
(
operands
[
i
],
regs
[
i
-
1
]);
strcpy
(
operands
[
i
],
regs
[
i
-
1
]);
get_input_register_swizzle
(
src
[
i
-
1
],
swzstring
);
get_input_register_swizzle
(
src
[
i
-
1
],
swzstring
);
strcat
(
operands
[
i
],
swzstring
);
strcat
(
operands
[
i
],
swzstring
);
...
...
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