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
d48881c7
Commit
d48881c7
authored
Nov 03, 2019
by
Sergey Kosarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning: size_t->int implicit cast
parent
7f77b2e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
reflection.cpp
glslang/MachineIndependent/reflection.cpp
+1
-1
No files found.
glslang/MachineIndependent/reflection.cpp
View file @
d48881c7
...
@@ -137,7 +137,7 @@ public:
...
@@ -137,7 +137,7 @@ public:
if
(
it
==
ioMapper
.
end
())
{
if
(
it
==
ioMapper
.
end
())
{
// seperate pipe i/o params from uniforms and blocks
// seperate pipe i/o params from uniforms and blocks
// in is only for input in first stage as out is only for last stage. check traverse in call stack.
// in is only for input in first stage as out is only for last stage. check traverse in call stack.
ioMapper
[
name
.
c_str
()]
=
ioItems
.
size
(
);
ioMapper
[
name
.
c_str
()]
=
static_cast
<
int
>
(
ioItems
.
size
()
);
ioItems
.
push_back
(
ioItems
.
push_back
(
TObjectReflection
(
name
.
c_str
(),
type
,
0
,
mapToGlType
(
type
),
mapToGlArraySize
(
type
),
0
));
TObjectReflection
(
name
.
c_str
(),
type
,
0
,
mapToGlType
(
type
),
mapToGlArraySize
(
type
),
0
));
EShLanguageMask
&
stages
=
ioItems
.
back
().
stages
;
EShLanguageMask
&
stages
=
ioItems
.
back
().
stages
;
...
...
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