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
fdbd0eba
Commit
fdbd0eba
authored
Oct 03, 2017
by
He Dejing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add getAsLoopNode() method for Loop node
follow local conventions of spaces
parent
092b7d2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
intermediate.h
glslang/Include/intermediate.h
+5
-0
No files found.
glslang/Include/intermediate.h
View file @
fdbd0eba
...
@@ -790,6 +790,7 @@ class TIntermBranch;
...
@@ -790,6 +790,7 @@ class TIntermBranch;
class
TIntermTyped
;
class
TIntermTyped
;
class
TIntermMethod
;
class
TIntermMethod
;
class
TIntermSymbol
;
class
TIntermSymbol
;
class
TIntermLoop
;
}
// end namespace glslang
}
// end namespace glslang
...
@@ -817,6 +818,7 @@ public:
...
@@ -817,6 +818,7 @@ public:
virtual
glslang
::
TIntermMethod
*
getAsMethodNode
()
{
return
0
;
}
virtual
glslang
::
TIntermMethod
*
getAsMethodNode
()
{
return
0
;
}
virtual
glslang
::
TIntermSymbol
*
getAsSymbolNode
()
{
return
0
;
}
virtual
glslang
::
TIntermSymbol
*
getAsSymbolNode
()
{
return
0
;
}
virtual
glslang
::
TIntermBranch
*
getAsBranchNode
()
{
return
0
;
}
virtual
glslang
::
TIntermBranch
*
getAsBranchNode
()
{
return
0
;
}
virtual
glslang
::
TIntermLoop
*
getAsLoopNode
()
{
return
0
;
}
virtual
const
glslang
::
TIntermTyped
*
getAsTyped
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermTyped
*
getAsTyped
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermOperator
*
getAsOperator
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermOperator
*
getAsOperator
()
const
{
return
0
;
}
...
@@ -829,6 +831,7 @@ public:
...
@@ -829,6 +831,7 @@ public:
virtual
const
glslang
::
TIntermMethod
*
getAsMethodNode
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermMethod
*
getAsMethodNode
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermSymbol
*
getAsSymbolNode
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermSymbol
*
getAsSymbolNode
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermBranch
*
getAsBranchNode
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermBranch
*
getAsBranchNode
()
const
{
return
0
;
}
virtual
const
glslang
::
TIntermLoop
*
getAsLoopNode
()
const
{
return
0
;
}
virtual
~
TIntermNode
()
{
}
virtual
~
TIntermNode
()
{
}
protected
:
protected
:
...
@@ -910,6 +913,8 @@ public:
...
@@ -910,6 +913,8 @@ public:
control
(
ELoopControlNone
)
control
(
ELoopControlNone
)
{
}
{
}
virtual
TIntermLoop
*
getAsLoopNode
()
{
return
this
;
}
virtual
const
TIntermLoop
*
getAsLoopNode
()
const
{
return
this
;
}
virtual
void
traverse
(
TIntermTraverser
*
);
virtual
void
traverse
(
TIntermTraverser
*
);
TIntermNode
*
getBody
()
const
{
return
body
;
}
TIntermNode
*
getBody
()
const
{
return
body
;
}
TIntermTyped
*
getTest
()
const
{
return
test
;
}
TIntermTyped
*
getTest
()
const
{
return
test
;
}
...
...
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