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:
2043da9
)
Semantics: Texture clamp functions are available for fragment shader only.
author
Rex Xu
<rex.xu@amd.com>
Tue, 24 Jan 2017 06:36:10 +0000
(14:36 +0800)
committer
Rex Xu
<rex.xu@amd.com>
Tue, 24 Jan 2017 06:36:10 +0000
(14:36 +0800)
glslang/MachineIndependent/Initialize.cpp
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/Initialize.cpp
b/glslang/MachineIndependent/Initialize.cpp
index
637ab29
..
287d6d6
100644
(file)
--- a/
glslang/MachineIndependent/Initialize.cpp
+++ b/
glslang/MachineIndependent/Initialize.cpp
@@
-4203,7
+4203,7
@@
void TBuiltIns::addSamplingFunctions(TSampler sampler, TString& typeName, int ve
// Add to the per-language set of built-ins
- if (bias)
+ if (bias
|| lodClamp
)
stageBuiltins[EShLangFragment].append(s);
else
commonBuiltins.append(s);