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
ec737378
Commit
ec737378
authored
May 28, 2021
by
syntheticmagus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setters for true and false blocks of selection nodes, copying the pattern…
Add setters for true and false blocks of selection nodes, copying the pattern already used for the condition.
parent
6bdcb4be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
intermediate.h
glslang/Include/intermediate.h
+2
-0
No files found.
glslang/Include/intermediate.h
View file @
ec737378
...
@@ -1677,7 +1677,9 @@ public:
...
@@ -1677,7 +1677,9 @@ public:
virtual
TIntermTyped
*
getCondition
()
const
{
return
condition
;
}
virtual
TIntermTyped
*
getCondition
()
const
{
return
condition
;
}
virtual
void
setCondition
(
TIntermTyped
*
c
)
{
condition
=
c
;
}
virtual
void
setCondition
(
TIntermTyped
*
c
)
{
condition
=
c
;
}
virtual
TIntermNode
*
getTrueBlock
()
const
{
return
trueBlock
;
}
virtual
TIntermNode
*
getTrueBlock
()
const
{
return
trueBlock
;
}
virtual
void
setTrueBlock
(
TIntermTyped
*
tb
)
{
trueBlock
=
tb
;
}
virtual
TIntermNode
*
getFalseBlock
()
const
{
return
falseBlock
;
}
virtual
TIntermNode
*
getFalseBlock
()
const
{
return
falseBlock
;
}
virtual
void
setFalseBlock
(
TIntermTyped
*
fb
)
{
falseBlock
=
fb
;
}
virtual
TIntermSelection
*
getAsSelectionNode
()
{
return
this
;
}
virtual
TIntermSelection
*
getAsSelectionNode
()
{
return
this
;
}
virtual
const
TIntermSelection
*
getAsSelectionNode
()
const
{
return
this
;
}
virtual
const
TIntermSelection
*
getAsSelectionNode
()
const
{
return
this
;
}
...
...
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