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
f4673162
Commit
f4673162
authored
Jul 18, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Building: Fix a couple of new warnings.
parent
2b4b9bd6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Initialize.cpp
glslang/MachineIndependent/Initialize.cpp
+1
-1
Scan.h
glslang/MachineIndependent/Scan.h
+1
-1
No files found.
glslang/MachineIndependent/Initialize.cpp
View file @
f4673162
...
@@ -2207,7 +2207,7 @@ void TBuiltIns::addSamplingFunctions(TSampler sampler, TString& typeName, int /*
...
@@ -2207,7 +2207,7 @@ void TBuiltIns::addSamplingFunctions(TSampler sampler, TString& typeName, int /*
//
//
// Add all the texture gather functions for the given type.
// Add all the texture gather functions for the given type.
//
//
void
TBuiltIns
::
addGatherFunctions
(
TSampler
sampler
,
TString
&
typeName
,
int
version
,
EProfile
profile
)
void
TBuiltIns
::
addGatherFunctions
(
TSampler
sampler
,
TString
&
typeName
,
int
version
,
EProfile
/* profile */
)
{
{
switch
(
sampler
.
dim
)
{
switch
(
sampler
.
dim
)
{
case
Esd2D
:
case
Esd2D
:
...
...
glslang/MachineIndependent/Scan.h
View file @
f4673162
...
@@ -88,7 +88,7 @@ public:
...
@@ -88,7 +88,7 @@ public:
// Make sure we do not read off the end of a string.
// Make sure we do not read off the end of a string.
// N.B. Sources can have a length of 0.
// N.B. Sources can have a length of 0.
int
sourceToRead
=
currentSource
;
int
sourceToRead
=
currentSource
;
in
t
charToRead
=
currentChar
;
size_
t
charToRead
=
currentChar
;
while
(
charToRead
>=
lengths
[
sourceToRead
])
{
while
(
charToRead
>=
lengths
[
sourceToRead
])
{
charToRead
=
0
;
charToRead
=
0
;
sourceToRead
+=
1
;
sourceToRead
+=
1
;
...
...
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