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
d0d873eb
Commit
d0d873eb
authored
May 11, 2017
by
Neil Henning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address most feedback.
parent
892c3b6f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
SPVRemapper.cpp
SPIRV/SPVRemapper.cpp
+1
-1
Initialize.cpp
glslang/MachineIndependent/Initialize.cpp
+0
-0
Versions.cpp
glslang/MachineIndependent/Versions.cpp
+1
-2
No files found.
SPIRV/SPVRemapper.cpp
View file @
d0d873eb
...
@@ -246,7 +246,7 @@ namespace spv {
...
@@ -246,7 +246,7 @@ namespace spv {
spv
::
Id
spirvbin_t
::
localId
(
spv
::
Id
id
,
spv
::
Id
newId
)
spv
::
Id
spirvbin_t
::
localId
(
spv
::
Id
id
,
spv
::
Id
newId
)
{
{
assert
(
id
!=
spv
::
NoResult
&&
newId
!=
spv
::
NoResult
);
//
assert(id != spv::NoResult && newId != spv::NoResult);
if
(
id
>=
idMapL
.
size
())
if
(
id
>=
idMapL
.
size
())
idMapL
.
resize
(
id
+
1
,
unused
);
idMapL
.
resize
(
id
+
1
,
unused
);
...
...
glslang/MachineIndependent/Initialize.cpp
View file @
d0d873eb
This diff is collapsed.
Click to expand it.
glslang/MachineIndependent/Versions.cpp
View file @
d0d873eb
...
@@ -663,8 +663,7 @@ void TParseVersions::updateExtensionBehavior(int line, const char* extension, co
...
@@ -663,8 +663,7 @@ void TParseVersions::updateExtensionBehavior(int line, const char* extension, co
updateExtensionBehavior
(
line
,
"GL_OES_shader_io_blocks"
,
behaviorString
);
updateExtensionBehavior
(
line
,
"GL_OES_shader_io_blocks"
,
behaviorString
);
else
if
(
strcmp
(
extension
,
"GL_GOOGLE_include_directive"
)
==
0
)
else
if
(
strcmp
(
extension
,
"GL_GOOGLE_include_directive"
)
==
0
)
updateExtensionBehavior
(
line
,
"GL_GOOGLE_cpp_style_line_directive"
,
behaviorString
);
updateExtensionBehavior
(
line
,
"GL_GOOGLE_cpp_style_line_directive"
,
behaviorString
);
else
if
(
strcmp
(
extension
,
"GL_GOOGLE_include_directive"
)
==
0
)
// subgroup_* to subgroup_basic
updateExtensionBehavior
(
line
,
"GL_GOOGLE_cpp_style_line_directive"
,
behaviorString
);
else
if
(
strcmp
(
extension
,
"GL_KHR_shader_subgroup_vote"
)
==
0
)
else
if
(
strcmp
(
extension
,
"GL_KHR_shader_subgroup_vote"
)
==
0
)
updateExtensionBehavior
(
line
,
"GL_KHR_shader_subgroup_basic"
,
behaviorString
);
updateExtensionBehavior
(
line
,
"GL_KHR_shader_subgroup_basic"
,
behaviorString
);
else
if
(
strcmp
(
extension
,
"GL_KHR_shader_subgroup_arithmetic"
)
==
0
)
else
if
(
strcmp
(
extension
,
"GL_KHR_shader_subgroup_arithmetic"
)
==
0
)
...
...
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