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
4162de4b
Unverified
Commit
4162de4b
authored
Jun 26, 2019
by
John Kessenich
Committed by
GitHub
Jun 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1811 from ShabbyX/fix
Remove extraneous semicolons
parents
1e063615
6cca0e98
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
SPVRemapper.h
SPIRV/SPVRemapper.h
+1
-1
spvIR.h
SPIRV/spvIR.h
+1
-1
Intermediate.cpp
glslang/MachineIndependent/Intermediate.cpp
+1
-1
No files found.
SPIRV/SPVRemapper.h
View file @
4162de4b
...
...
@@ -195,7 +195,7 @@ private:
// Header access & set methods
spirword_t
magic
()
const
{
return
spv
[
0
];
}
// return magic number
spirword_t
bound
()
const
{
return
spv
[
3
];
}
// return Id bound from header
spirword_t
bound
(
spirword_t
b
)
{
return
spv
[
3
]
=
b
;
}
;
spirword_t
bound
(
spirword_t
b
)
{
return
spv
[
3
]
=
b
;
}
spirword_t
genmagic
()
const
{
return
spv
[
2
];
}
// generator magic
spirword_t
genmagic
(
spirword_t
m
)
{
return
spv
[
2
]
=
m
;
}
spirword_t
schemaNum
()
const
{
return
spv
[
4
];
}
// schema number from header
...
...
SPIRV/spvIR.h
View file @
4162de4b
...
...
@@ -436,6 +436,6 @@ __inline void Block::addInstruction(std::unique_ptr<Instruction> inst)
parent
.
getParent
().
mapInstruction
(
raw_instruction
);
}
}
;
// end spv namespace
}
// end spv namespace
#endif // spvIR_H
glslang/MachineIndependent/Intermediate.cpp
View file @
4162de4b
...
...
@@ -3789,7 +3789,7 @@ TIntermTyped* TIntermediate::promoteConstantUnion(TBasicType promoteTo, TIntermC
for
(
int
i
=
0
;
i
<
size
;
i
++
)
{
#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
;
#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
#define TO_ALL(Get) \
switch (promoteTo) { \
...
...
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