Lines Matching defs:storage
122 * @param storage Storage of variable
127 bool Utils::doesStageSupportQualifier(Utils::SHADER_STAGES stage, Utils::VARIABLE_STORAGE storage,
155 else if ((OUTPUT == storage) &&
166 else if ((INPUT == storage) &&
180 if ((INPUT == storage) && (QUAL_PATCH == qualifier))
186 if ((OUTPUT == storage) && (QUAL_PATCH == qualifier))
305 /** Prepare a set of qualifiers for given shader stage and variable storage.
310 * @param storage Variable storage
315 VARIABLE_STORAGE storage)
323 if (false == doesStageSupportQualifier(stage, storage, qualifier))
328 /* Replace wrong storage qualifiers */
329 if ((Utils::INPUT == storage) && ((Utils::QUAL_UNIFORM == qualifier) || (Utils::QUAL_OUT == qualifier)))
333 else if ((Utils::OUTPUT == storage) && ((Utils::QUAL_IN == qualifier) || (Utils::QUAL_UNIFORM == qualifier)))
337 else if ((Utils::UNIFORM == storage) && ((Utils::QUAL_IN == qualifier) || (Utils::QUAL_OUT == qualifier)))
1085 * @param storage Storage of variable
1090 Utils::VARIABLE_FLAVOUR Utils::getVariableFlavour(SHADER_STAGES stage, VARIABLE_STORAGE storage,
1095 if (UNIFORM == storage)
1104 if (Utils::INPUT == storage)
1114 if ((false == Utils::doesContainQualifier(Utils::QUAL_PATCH, qualifiers)) && (Utils::INPUT == storage))
1124 if ((true == Utils::doesContainQualifier(Utils::QUAL_PATCH, qualifiers)) && (Utils::OUTPUT == storage))
1148 * @param storage Storage of variable
1153 std::string Utils::getVariableName(SHADER_STAGES stage, VARIABLE_STORAGE storage, const glw::GLchar* variable_name)
1186 const GLchar* preceeding = prefixes[storage][stage][0];
1187 const GLchar* prefix = prefixes[storage][stage][1];
1608 /** Initialize shaderSource instance, reserve storage and prepare shader source
5964 // sample storage qualifier is not a valid qualifier for fragment output
6366 // sample storage qualifier is not a valid qualifier for fragment output
18061 /* Prepare storage */
18104 /* Prepare storage */
18159 /* Allocate storage */