Semantics: Texture clamp functions are available for fragment shader only.
This commit is contained in:
parent
2043da90df
commit
00d54b4440
1 changed files with 1 additions and 1 deletions
|
|
@ -4203,7 +4203,7 @@ void TBuiltIns::addSamplingFunctions(TSampler sampler, TString& typeName, int ve
|
||||||
|
|
||||||
// Add to the per-language set of built-ins
|
// Add to the per-language set of built-ins
|
||||||
|
|
||||||
if (bias)
|
if (bias || lodClamp)
|
||||||
stageBuiltins[EShLangFragment].append(s);
|
stageBuiltins[EShLangFragment].append(s);
|
||||||
else
|
else
|
||||||
commonBuiltins.append(s);
|
commonBuiltins.append(s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue