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
fc6ac785
Commit
fc6ac785
authored
May 10, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #274 from antiagainst/stoul-strtoul
Use strtoul instead of stoul for Android.
parents
b2bd53b0
20daa7f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
propagateNoContraction.cpp
glslang/MachineIndependent/propagateNoContraction.cpp
+2
-1
No files found.
glslang/MachineIndependent/propagateNoContraction.cpp
View file @
fc6ac785
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
#include "propagateNoContraction.h"
#include "propagateNoContraction.h"
#include <cstdlib>
#include <string>
#include <string>
#include <tuple>
#include <tuple>
#include <unordered_map>
#include <unordered_map>
...
@@ -663,7 +664,7 @@ protected:
...
@@ -663,7 +664,7 @@ protected:
// Gets the struct dereference index that leads to 'precise' object.
// Gets the struct dereference index that leads to 'precise' object.
ObjectAccessChain
precise_accesschain_index_str
=
ObjectAccessChain
precise_accesschain_index_str
=
getFrontElement
(
remained_accesschain_
);
getFrontElement
(
remained_accesschain_
);
unsigned
precise_accesschain_index
=
st
d
::
stoul
(
precise_accesschain_index_str
);
unsigned
precise_accesschain_index
=
st
rtoul
(
precise_accesschain_index_str
.
c_str
(),
nullptr
,
10
);
// Gets the node pointed by the accesschain index extracted before.
// Gets the node pointed by the accesschain index extracted before.
glslang
::
TIntermTyped
*
potential_precise_node
=
glslang
::
TIntermTyped
*
potential_precise_node
=
node
->
getSequence
()[
precise_accesschain_index
]
->
getAsTyped
();
node
->
getSequence
()[
precise_accesschain_index
]
->
getAsTyped
();
...
...
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