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
786cf4dc
Commit
786cf4dc
authored
May 17, 2016
by
baldurk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[VS2010] Change "using X = Y;" to "typedef Y X;"
parent
e0a24778
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
propagateNoContraction.cpp
glslang/MachineIndependent/propagateNoContraction.cpp
+5
-5
No files found.
glslang/MachineIndependent/propagateNoContraction.cpp
View file @
786cf4dc
...
...
@@ -58,7 +58,7 @@ namespace {
// For members of vector, matrix and arrays, they will be represented with the
// same symbol ID of their container symbol objects. This is because their
// precise'ness is always the same as their container symbol objects.
using
ObjectAccessChain
=
std
::
string
;
typedef
std
::
string
ObjectAccessChain
;
// The delimiter used in the ObjectAccessChain string to separate symbol ID and
// different level of struct indices.
...
...
@@ -66,14 +66,14 @@ const char ObjectAccesschainDelimiter = '/';
// Mapping from Symbol IDs of symbol nodes, to their defining operation
// nodes.
using
NodeMapping
=
std
::
unordered_multimap
<
ObjectAccessChain
,
glslang
::
TIntermOperator
*>
;
typedef
std
::
unordered_multimap
<
ObjectAccessChain
,
glslang
::
TIntermOperator
*>
NodeMapping
;
// Mapping from object nodes to their accesschain info string.
using
AccessChainMapping
=
std
::
unordered_map
<
glslang
::
TIntermTyped
*
,
ObjectAccessChain
>
;
typedef
std
::
unordered_map
<
glslang
::
TIntermTyped
*
,
ObjectAccessChain
>
AccessChainMapping
;
// Set of object IDs.
using
ObjectAccesschainSet
=
std
::
unordered_set
<
ObjectAccessChain
>
;
typedef
std
::
unordered_set
<
ObjectAccessChain
>
ObjectAccesschainSet
;
// Set of return branch nodes.
using
ReturnBranchNodeSet
=
std
::
unordered_set
<
glslang
::
TIntermBranch
*>
;
typedef
std
::
unordered_set
<
glslang
::
TIntermBranch
*>
ReturnBranchNodeSet
;
// A helper function to tell whether a node is 'noContraction'. Returns true if
// the node has 'noContraction' qualifier, otherwise false.
...
...
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