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
629801bc
Commit
629801bc
authored
Apr 22, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the token field from struct wined3d_shader_src_param.
parent
7a3d4ce7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
5 deletions
+0
-5
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+0
-2
baseshader.c
dlls/wined3d/baseshader.c
+0
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+0
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/arb_program_shader.c
View file @
629801bc
...
...
@@ -1078,7 +1078,6 @@ static void shader_hw_mov(const struct wined3d_shader_instruction *ins)
struct
wined3d_shader_src_param
tmp_src
=
ins
->
src
[
0
];
tmp_src
.
swizzle
=
((
ins
->
src
[
0
].
swizzle
>>
WINED3DSP_SWIZZLE_SHIFT
)
&
0x3
)
*
(
0x55
<<
WINED3DSP_SWIZZLE_SHIFT
);
tmp_src
.
token
=
(
tmp_src
.
token
&
~
WINED3DSP_SWIZZLE_MASK
)
|
tmp_src
.
swizzle
;
shader_arb_add_src_param
(
ins
,
&
tmp_src
,
src0_param
);
shader_addline
(
buffer
,
"ARL A0.x, %s;
\n
"
,
src0_param
);
}
...
...
@@ -1627,7 +1626,6 @@ static void shader_hw_mnxn(const struct wined3d_shader_instruction *ins)
tmp_dst
.
write_mask
=
WINED3DSP_WRITEMASK_0
<<
i
;
shader_hw_map2gl
(
&
tmp_ins
);
++
tmp_src
[
1
].
register_idx
;
++
tmp_src
[
1
].
token
;
}
}
...
...
dlls/wined3d/baseshader.c
View file @
629801bc
...
...
@@ -248,7 +248,6 @@ static void shader_parse_src_param(DWORD param, const struct wined3d_shader_src_
src
->
swizzle
=
param
&
WINED3DSP_SWIZZLE_MASK
;
src
->
modifiers
=
param
&
WINED3DSP_SRCMOD_MASK
;
src
->
rel_addr
=
rel_addr
;
src
->
token
=
param
;
}
/* Note that this does not count the loop register
...
...
dlls/wined3d/glsl_shader.c
View file @
629801bc
...
...
@@ -2122,7 +2122,6 @@ static void shader_glsl_mnxn(const struct wined3d_shader_instruction *ins)
tmp_dst
.
write_mask
=
WINED3DSP_WRITEMASK_0
<<
i
;
shader_glsl_dot
(
&
tmp_ins
);
++
tmp_src
[
1
].
register_idx
;
++
tmp_src
[
1
].
token
;
}
}
...
...
dlls/wined3d/wined3d_private.h
View file @
629801bc
...
...
@@ -468,7 +468,6 @@ struct wined3d_shader_src_param
DWORD
swizzle
;
DWORD
modifiers
;
const
struct
wined3d_shader_src_param
*
rel_addr
;
DWORD
token
;
};
struct
wined3d_shader_instruction
...
...
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