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
678f5f5a
Commit
678f5f5a
authored
Feb 24, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #176 from jackoalan/parameterize-ensure
SPV: Ensure Parameterize is called during Disassemble
parents
fd3e09fe
52e61acf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
disassemble.cpp
SPIRV/disassemble.cpp
+1
-0
StandAlone.cpp
StandAlone/StandAlone.cpp
+0
-1
No files found.
SPIRV/disassemble.cpp
View file @
678f5f5a
...
...
@@ -568,6 +568,7 @@ void GLSLstd450GetDebugNames(const char** names)
void
Disassemble
(
std
::
ostream
&
out
,
const
std
::
vector
<
unsigned
int
>&
stream
)
{
SpirvStream
SpirvStream
(
out
,
stream
);
spv
::
Parameterize
();
GLSLstd450GetDebugNames
(
GlslStd450DebugNames
);
SpirvStream
.
validate
();
SpirvStream
.
processInstructions
();
...
...
StandAlone/StandAlone.cpp
View file @
678f5f5a
...
...
@@ -753,7 +753,6 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
if
(
!
(
Options
&
EOptionMemoryLeakMode
))
{
glslang
::
OutputSpv
(
spirv
,
GetBinaryName
((
EShLanguage
)
stage
));
if
(
Options
&
EOptionHumanReadableSpv
)
{
spv
::
Parameterize
();
spv
::
Disassemble
(
std
::
cout
,
spirv
);
}
}
...
...
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