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
ade21c71
Unverified
Commit
ade21c71
authored
Jan 17, 2018
by
John Kessenich
Committed by
GitHub
Jan 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1224 from fjhenigman/unused
Fix unused function warning.
parents
ab46a2e5
541f7bbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+4
-0
No files found.
SPIRV/GlslangToSpv.cpp
View file @
ade21c71
...
@@ -186,7 +186,9 @@ protected:
...
@@ -186,7 +186,9 @@ protected:
bool
isTrivialLeaf
(
const
glslang
::
TIntermTyped
*
node
);
bool
isTrivialLeaf
(
const
glslang
::
TIntermTyped
*
node
);
bool
isTrivial
(
const
glslang
::
TIntermTyped
*
node
);
bool
isTrivial
(
const
glslang
::
TIntermTyped
*
node
);
spv
::
Id
createShortCircuit
(
glslang
::
TOperator
,
glslang
::
TIntermTyped
&
left
,
glslang
::
TIntermTyped
&
right
);
spv
::
Id
createShortCircuit
(
glslang
::
TOperator
,
glslang
::
TIntermTyped
&
left
,
glslang
::
TIntermTyped
&
right
);
#ifdef AMD_EXTENSIONS
spv
::
Id
getExtBuiltins
(
const
char
*
name
);
spv
::
Id
getExtBuiltins
(
const
char
*
name
);
#endif
glslang
::
SpvOptions
&
options
;
glslang
::
SpvOptions
&
options
;
spv
::
Function
*
shaderEntry
;
spv
::
Function
*
shaderEntry
;
...
@@ -5954,6 +5956,7 @@ spv::Id TGlslangToSpvTraverser::createShortCircuit(glslang::TOperator op, glslan
...
@@ -5954,6 +5956,7 @@ spv::Id TGlslangToSpvTraverser::createShortCircuit(glslang::TOperator op, glslan
return
builder
.
createOp
(
spv
::
OpPhi
,
boolTypeId
,
phiOperands
);
return
builder
.
createOp
(
spv
::
OpPhi
,
boolTypeId
,
phiOperands
);
}
}
#ifdef AMD_EXTENSIONS
// Return type Id of the imported set of extended instructions corresponds to the name.
// Return type Id of the imported set of extended instructions corresponds to the name.
// Import this set if it has not been imported yet.
// Import this set if it has not been imported yet.
spv
::
Id
TGlslangToSpvTraverser
::
getExtBuiltins
(
const
char
*
name
)
spv
::
Id
TGlslangToSpvTraverser
::
getExtBuiltins
(
const
char
*
name
)
...
@@ -5967,6 +5970,7 @@ spv::Id TGlslangToSpvTraverser::getExtBuiltins(const char* name)
...
@@ -5967,6 +5970,7 @@ spv::Id TGlslangToSpvTraverser::getExtBuiltins(const char* name)
return
extBuiltins
;
return
extBuiltins
;
}
}
}
}
#endif
};
// end anonymous namespace
};
// end anonymous namespace
...
...
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