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
fd8a3827
Commit
fd8a3827
authored
Feb 02, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #153 from greg-lunarg/gsf-pr1
SPV Remapper: Update for 1.0 and bug fixes
parents
9218759e
8548bab1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
108 additions
and
35 deletions
+108
-35
SPVRemapper.cpp
SPIRV/SPVRemapper.cpp
+106
-33
SPVRemapper.h
SPIRV/SPVRemapper.h
+2
-2
No files found.
SPIRV/SPVRemapper.cpp
View file @
fd8a3827
This diff is collapsed.
Click to expand it.
SPIRV/SPVRemapper.h
View file @
fd8a3827
...
@@ -131,6 +131,7 @@ private:
...
@@ -131,6 +131,7 @@ private:
// Local to global, or global to local ID map
// Local to global, or global to local ID map
typedef
std
::
unordered_map
<
spv
::
Id
,
spv
::
Id
>
idmap_t
;
typedef
std
::
unordered_map
<
spv
::
Id
,
spv
::
Id
>
idmap_t
;
typedef
std
::
unordered_set
<
spv
::
Id
>
idset_t
;
typedef
std
::
unordered_set
<
spv
::
Id
>
idset_t
;
typedef
std
::
unordered_map
<
spv
::
Id
,
int
>
blockmap_t
;
void
remap
(
std
::
uint32_t
opts
=
DO_EVERYTHING
);
void
remap
(
std
::
uint32_t
opts
=
DO_EVERYTHING
);
...
@@ -164,8 +165,7 @@ private:
...
@@ -164,8 +165,7 @@ private:
bool
isConstOp
(
spv
::
Op
opCode
)
const
;
bool
isConstOp
(
spv
::
Op
opCode
)
const
;
bool
isTypeOp
(
spv
::
Op
opCode
)
const
;
bool
isTypeOp
(
spv
::
Op
opCode
)
const
;
bool
isStripOp
(
spv
::
Op
opCode
)
const
;
bool
isStripOp
(
spv
::
Op
opCode
)
const
;
bool
isFlowCtrlOpen
(
spv
::
Op
opCode
)
const
;
bool
isFlowCtrl
(
spv
::
Op
opCode
)
const
;
bool
isFlowCtrlClose
(
spv
::
Op
opCode
)
const
;
range_t
literalRange
(
spv
::
Op
opCode
)
const
;
range_t
literalRange
(
spv
::
Op
opCode
)
const
;
range_t
typeRange
(
spv
::
Op
opCode
)
const
;
range_t
typeRange
(
spv
::
Op
opCode
)
const
;
range_t
constRange
(
spv
::
Op
opCode
)
const
;
range_t
constRange
(
spv
::
Op
opCode
)
const
;
...
...
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