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
2c7c84c8
Unverified
Commit
2c7c84c8
authored
Mar 23, 2021
by
greg-lunarg
Committed by
GitHub
Mar 23, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2589 from ben-clayton/fix-warnings
Fix warnings about int comparisons of different signness
parents
c51a774e
591651da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Types.h
glslang/Include/Types.h
+1
-1
VkRelaxed.FromFile.cpp
gtests/VkRelaxed.FromFile.cpp
+2
-3
No files found.
glslang/Include/Types.h
View file @
2c7c84c8
...
@@ -2376,7 +2376,7 @@ public:
...
@@ -2376,7 +2376,7 @@ public:
return
false
;
return
false
;
// Compare the names and types of all the members, which have to match
// Compare the names and types of all the members, which have to match
for
(
in
t
li
=
0
,
ri
=
0
;
li
<
structure
->
size
()
||
ri
<
right
.
structure
->
size
();
++
li
,
++
ri
)
{
for
(
size_
t
li
=
0
,
ri
=
0
;
li
<
structure
->
size
()
||
ri
<
right
.
structure
->
size
();
++
li
,
++
ri
)
{
if
(
li
<
structure
->
size
()
&&
ri
<
right
.
structure
->
size
())
{
if
(
li
<
structure
->
size
()
&&
ri
<
right
.
structure
->
size
())
{
if
((
*
structure
)[
li
].
type
->
getFieldName
()
==
(
*
right
.
structure
)[
ri
].
type
->
getFieldName
())
{
if
((
*
structure
)[
li
].
type
->
getFieldName
()
==
(
*
right
.
structure
)[
ri
].
type
->
getFieldName
())
{
if
(
*
(
*
structure
)[
li
].
type
!=
*
(
*
right
.
structure
)[
ri
].
type
)
if
(
*
(
*
structure
)[
li
].
type
!=
*
(
*
right
.
structure
)[
ri
].
type
)
...
...
gtests/VkRelaxed.FromFile.cpp
View file @
2c7c84c8
...
@@ -234,7 +234,7 @@ TEST_P(VulkanRelaxedTest, FromFile)
...
@@ -234,7 +234,7 @@ TEST_P(VulkanRelaxedTest, FromFile)
if
(
!
resourceSetBindings
.
empty
())
{
if
(
!
resourceSetBindings
.
empty
())
{
assert
(
resourceSetBindings
.
size
()
==
fileNames
.
size
());
assert
(
resourceSetBindings
.
size
()
==
fileNames
.
size
());
for
(
in
t
i
=
0
;
i
<
shaders
.
size
();
i
++
)
for
(
size_
t
i
=
0
;
i
<
shaders
.
size
();
i
++
)
shaders
[
i
]
->
setResourceSetBinding
(
resourceSetBindings
[
i
]);
shaders
[
i
]
->
setResourceSetBinding
(
resourceSetBindings
[
i
]);
}
}
...
@@ -302,4 +302,4 @@ INSTANTIATE_TEST_SUITE_P(
...
@@ -302,4 +302,4 @@ INSTANTIATE_TEST_SUITE_P(
}
// anonymous namespace
}
// anonymous namespace
}
// namespace glslangtest
}
// namespace glslangtest
#endif
#endif
\ No newline at end of file
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