Lines Matching defs:shaderType
198 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType)
200 if (!sources[shaderType].empty())
207 std::string getShaderStageSource (const std::vector<std::string>* sources, const ShaderBuildOptions buildOptions, glu::ShaderType shaderType)
209 if (sources[shaderType].size() != 1)
215 std::string src = sources[shaderType][0];
226 return sources[shaderType][0];
259 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++)
261 if (!sources[shaderType].empty())
263 const std::string& srcText = getShaderStageSource(sources, buildOptions, (glu::ShaderType)shaderType);
266 const EShLanguage shaderStage = getGlslangStage(glu::ShaderType(shaderType));
301 shaderBuildInfo.type = (glu::ShaderType)shaderType;