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
4a346793
Commit
4a346793
authored
Oct 16, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: Fix unsigned/signed warning.
parent
1fabc0f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
revision.h
glslang/Include/revision.h
+2
-2
hlslParseHelper.cpp
hlsl/hlslParseHelper.cpp
+1
-1
No files found.
glslang/Include/revision.h
View file @
4a346793
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1
560
"
#define GLSLANG_REVISION "Overload400-PrecQual.1
601
"
#define GLSLANG_DATE "
07
-Oct-2016"
#define GLSLANG_DATE "
16
-Oct-2016"
hlsl/hlslParseHelper.cpp
View file @
4a346793
...
@@ -1444,7 +1444,7 @@ void HlslParseContext::decomposeSampleMethods(const TSourceLoc& loc, TIntermType
...
@@ -1444,7 +1444,7 @@ void HlslParseContext::decomposeSampleMethods(const TSourceLoc& loc, TIntermType
// Sampler return must always be a vec4, but we can construct a shorter vector
// Sampler return must always be a vec4, but we can construct a shorter vector
result
->
setType
(
TType
(
node
->
getType
().
getBasicType
(),
EvqTemporary
,
node
->
getVectorSize
()));
result
->
setType
(
TType
(
node
->
getType
().
getBasicType
(),
EvqTemporary
,
node
->
getVectorSize
()));
if
(
sampler
.
vectorSize
<
node
->
getVectorSize
())
{
if
(
sampler
.
vectorSize
<
(
unsigned
)
node
->
getVectorSize
())
{
// Too many components. Construct shorter vector from it.
// Too many components. Construct shorter vector from it.
const
TType
clampedType
(
result
->
getType
().
getBasicType
(),
EvqTemporary
,
sampler
.
vectorSize
);
const
TType
clampedType
(
result
->
getType
().
getBasicType
(),
EvqTemporary
,
sampler
.
vectorSize
);
...
...
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