Commit 047a6a49 by John Kessenich Committed by GitHub

Merge pull request #696 from amdrexu/bugfix2

Semantics: Texture clamp functions are available for fragment shader only
parents ab9e5e9f 00d54b44
...@@ -4203,7 +4203,7 @@ void TBuiltIns::addSamplingFunctions(TSampler sampler, TString& typeName, int ve ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment