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
9514c6be
Commit
9514c6be
authored
May 19, 2020
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: Fix #2228, by correcting the type used.
parent
8e3b73e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.cpp
+1
-1
No files found.
glslang/MachineIndependent/ParseHelper.cpp
View file @
9514c6be
...
@@ -8527,7 +8527,7 @@ const TTypeList* TParseContext::recordStructCopy(TStructRecord& record, const TT
...
@@ -8527,7 +8527,7 @@ const TTypeList* TParseContext::recordStructCopy(TStructRecord& record, const TT
size_t
memberCount
=
tmpType
->
getStruct
()
->
size
();
size_t
memberCount
=
tmpType
->
getStruct
()
->
size
();
size_t
originHash
=
0
,
tmpHash
=
0
;
size_t
originHash
=
0
,
tmpHash
=
0
;
std
::
hash
<
size_t
>
hasher
;
std
::
hash
<
size_t
>
hasher
;
for
(
uint32
_t
i
=
0
;
i
<
memberCount
;
i
++
)
{
for
(
size
_t
i
=
0
;
i
<
memberCount
;
i
++
)
{
size_t
originMemberHash
=
hasher
(
originType
->
getStruct
()
->
at
(
i
).
type
->
getQualifier
().
layoutPacking
+
size_t
originMemberHash
=
hasher
(
originType
->
getStruct
()
->
at
(
i
).
type
->
getQualifier
().
layoutPacking
+
originType
->
getStruct
()
->
at
(
i
).
type
->
getQualifier
().
layoutMatrix
);
originType
->
getStruct
()
->
at
(
i
).
type
->
getQualifier
().
layoutMatrix
);
size_t
tmpMemberHash
=
hasher
(
tmpType
->
getStruct
()
->
at
(
i
).
type
->
getQualifier
().
layoutPacking
+
size_t
tmpMemberHash
=
hasher
(
tmpType
->
getStruct
()
->
at
(
i
).
type
->
getQualifier
().
layoutPacking
+
...
...
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