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
79c7aeab
Commit
79c7aeab
authored
Jan 17, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Jan 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix a typo.
parent
d429ff5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-2
No files found.
dlls/wined3d/glsl_shader.c
View file @
79c7aeab
...
...
@@ -1729,7 +1729,7 @@ void pshader_glsl_texm3x3spec(SHADER_OPCODE_ARG* arg) {
shader_addline
(
buffer
,
"tmp0.z = dot(T%u.xyz, %s);
\n
"
,
reg
,
src0_param
.
param_str
);
/* Calculate reflection vector, 2*(tmp0.src1)*tmp0-src1
* This is equ
a
valent to reflect(-src1, tmp0); */
* This is equ
i
valent to reflect(-src1, tmp0); */
shader_addline
(
buffer
,
"tmp0.xyz = reflect(-(%s), tmp0.xyz);
\n
"
,
src1_param
.
param_str
);
shader_glsl_append_dst
(
buffer
,
arg
);
...
...
@@ -1766,7 +1766,7 @@ void pshader_glsl_texm3x3vspec(SHADER_OPCODE_ARG* arg) {
current_state
->
texcoord_w
[
0
],
current_state
->
texcoord_w
[
1
],
reg
);
/* Calculate reflection vector (Assume normal is normalized): RF = 2*(tmp0.tmp1)*tmp0-tmp1
* This is equ
a
valent to reflect(-tmp1, tmp0); */
* This is equ
i
valent to reflect(-tmp1, tmp0); */
shader_addline
(
buffer
,
"tmp0.xyz = reflect(-tmp1.xyz, tmp0.xyz);
\n
"
);
shader_glsl_append_dst
(
buffer
,
arg
);
...
...
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