// Figure out which variants are allowed by what extensions,
// and what arguments must be constant for which situations.
- featureString = fnCandidate.getName() + "(...)";
+ featureString = fnCandidate.getName();
+ featureString += "(...)";
feature = featureString.c_str();
profileRequires(loc, EEsProfile, 310, nullptr, feature);
int compArg = -1; // track which argument, if any, is the constant component argument
bias = fnCandidate.getParamCount() > 4;
if (bias) {
- featureString = fnCandidate.getName() + "with bias argument";
+ featureString = fnCandidate.getName();
+ featureString += "with bias argument";
feature = featureString.c_str();
profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
bias = fnCandidate.getParamCount() > 5;
if (bias) {
- featureString = fnCandidate.getName() + "with bias argument";
+ featureString = fnCandidate.getName();
+ featureString += "with bias argument";
feature = featureString.c_str();
profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);