Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
dca93d6b
Commit
dca93d6b
authored
Dec 14, 2016
by
John Kessenich
Committed by
GitHub
Dec 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #629 from null77/fix-unicode
Change unicode dash to ASCII.
parents
95abd284
cebd97eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Constant.cpp
glslang/MachineIndependent/Constant.cpp
+1
-1
No files found.
glslang/MachineIndependent/Constant.cpp
View file @
dca93d6b
...
...
@@ -841,7 +841,7 @@ TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode)
newConstArray
[
2
]
=
childConstUnions
[
0
][
0
]
*
childConstUnions
[
1
][
1
]
-
childConstUnions
[
0
][
1
]
*
childConstUnions
[
1
][
0
];
break
;
case
EOpFaceForward
:
// If dot(Nref, I) < 0 return N, otherwise return N: Arguments are (N, I, Nref).
// If dot(Nref, I) < 0 return N, otherwise return
-
N: Arguments are (N, I, Nref).
dot
=
childConstUnions
[
1
].
dot
(
childConstUnions
[
2
]);
for
(
int
comp
=
0
;
comp
<
numComps
;
++
comp
)
{
if
(
dot
<
0.0
)
...
...
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