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
51cd12f3
Commit
51cd12f3
authored
Jul 28, 2010
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: The flag parameter in shader_hw_sample is a WORD.
parent
728dd55f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+3
-3
No files found.
dlls/wined3d/arb_program_shader.c
View file @
51cd12f3
...
...
@@ -1887,7 +1887,7 @@ static void pshader_hw_tex(const struct wined3d_shader_instruction *ins)
char
reg_dest
[
40
];
char
reg_coord
[
40
];
DWORD
reg_sampler_code
;
D
WORD
myflags
=
0
;
WORD
myflags
=
0
;
/* All versions have a destination register */
shader_arb_get_dst_param
(
ins
,
dst
,
reg_dest
);
...
...
@@ -3052,7 +3052,7 @@ static void shader_hw_texldd(const struct wined3d_shader_instruction *ins)
DWORD
sampler_idx
=
ins
->
src
[
1
].
reg
.
idx
;
char
reg_dest
[
40
];
char
reg_src
[
3
][
40
];
D
WORD
flags
=
TEX_DERIV
;
WORD
flags
=
TEX_DERIV
;
shader_arb_get_dst_param
(
ins
,
&
ins
->
dst
[
0
],
reg_dest
);
shader_arb_get_src_param
(
ins
,
&
ins
->
src
[
0
],
0
,
reg_src
[
0
]);
...
...
@@ -3070,7 +3070,7 @@ static void shader_hw_texldl(const struct wined3d_shader_instruction *ins)
DWORD
sampler_idx
=
ins
->
src
[
1
].
reg
.
idx
;
char
reg_dest
[
40
];
char
reg_coord
[
40
];
D
WORD
flags
=
TEX_LOD
;
WORD
flags
=
TEX_LOD
;
shader_arb_get_dst_param
(
ins
,
&
ins
->
dst
[
0
],
reg_dest
);
shader_arb_get_src_param
(
ins
,
&
ins
->
src
[
0
],
0
,
reg_coord
);
...
...
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