parent
0e07119ae2
commit
549764b5ec
1 changed files with 2 additions and 2 deletions
|
|
@ -1451,8 +1451,8 @@ void TParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCan
|
||||||
bias = fnCandidate.getParamCount() > 4;
|
bias = fnCandidate.getParamCount() > 4;
|
||||||
|
|
||||||
if (bias) {
|
if (bias) {
|
||||||
featureString = fnCandidate.getName() + "with bias argument";
|
TString biasFeatureString = fnCandidate.getName() + "with bias argument";
|
||||||
feature = featureString.c_str();
|
const char* feature = biasFeatureString.c_str();
|
||||||
profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
|
profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
|
||||||
requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
|
requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue