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
b8d2a006
Commit
b8d2a006
authored
Jul 22, 2016
by
John Kessenich
Committed by
GitHub
Jul 22, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #404 from phaulos/fix-spirv-remap
Remapper: Remap Scope and MemorySemantics IDs in SPIRV remapper
parents
630e1bc6
b93e3a39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SPVRemapper.cpp
SPIRV/SPVRemapper.cpp
+2
-2
No files found.
SPIRV/SPVRemapper.cpp
View file @
b8d2a006
...
@@ -440,6 +440,8 @@ namespace spv {
...
@@ -440,6 +440,8 @@ namespace spv {
for
(
int
op
=
0
;
numOperands
>
0
;
++
op
,
--
numOperands
)
{
for
(
int
op
=
0
;
numOperands
>
0
;
++
op
,
--
numOperands
)
{
switch
(
spv
::
InstructionDesc
[
opCode
].
operands
.
getClass
(
op
))
{
switch
(
spv
::
InstructionDesc
[
opCode
].
operands
.
getClass
(
op
))
{
case
spv
:
:
OperandId
:
case
spv
:
:
OperandId
:
case
spv
:
:
OperandScope
:
case
spv
:
:
OperandMemorySemantics
:
idFn
(
asId
(
word
++
));
idFn
(
asId
(
word
++
));
break
;
break
;
...
@@ -500,9 +502,7 @@ namespace spv {
...
@@ -500,9 +502,7 @@ namespace spv {
case
spv
:
:
OperandSelect
:
case
spv
:
:
OperandSelect
:
case
spv
:
:
OperandLoop
:
case
spv
:
:
OperandLoop
:
case
spv
:
:
OperandFunction
:
case
spv
:
:
OperandFunction
:
case
spv
:
:
OperandMemorySemantics
:
case
spv
:
:
OperandMemoryAccess
:
case
spv
:
:
OperandMemoryAccess
:
case
spv
:
:
OperandScope
:
case
spv
:
:
OperandGroupOperation
:
case
spv
:
:
OperandGroupOperation
:
case
spv
:
:
OperandKernelEnqueueFlags
:
case
spv
:
:
OperandKernelEnqueueFlags
:
case
spv
:
:
OperandKernelProfilingInfo
:
case
spv
:
:
OperandKernelProfilingInfo
:
...
...
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