projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
359dcee
)
fix x64 warning about conversion size_t -> int
author
baldurk
<baldurk@baldurk.org>
Mon, 15 Aug 2016 16:01:15 +0000
(18:01 +0200)
committer
baldurk
<baldurk@baldurk.org>
Mon, 15 Aug 2016 16:01:15 +0000
(18:01 +0200)
hlsl/hlslParseHelper.cpp
patch
|
blob
|
history
diff --git
a/hlsl/hlslParseHelper.cpp
b/hlsl/hlslParseHelper.cpp
index
2a79375
..
8ee8f9c
100755
(executable)
--- a/
hlsl/hlslParseHelper.cpp
+++ b/
hlsl/hlslParseHelper.cpp
@@
-1346,7
+1346,7
@@
void HlslParseContext::decomposeSampleMethods(const TSourceLoc& loc, TIntermType
const TSamplerDim dim = argTex->getType().getSampler().dim;
- const int argSize = argAggregate->getSequence().size();
+ const int argSize =
(int)
argAggregate->getSequence().size();
bool hasStatus = (argSize == (5+cmpValues) || argSize == (8+cmpValues));
bool hasOffset1 = false;
bool hasOffset4 = false;