Lines Matching defs:const

45 static const glu::ShaderType s_shaderStageOrder[] =
69 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType))
85 static bool containsMatchingSubtype (const std::vector<glu::VariableDeclaration>& decls, bool (*predicate)(glu::DataType))
102 const glu::ShaderType* const it = std::find(DE_ARRAY_BEGIN(s_shaderStageOrder), DE_ARRAY_END(s_shaderStageOrder), stage);
108 const int index = (int)(it - DE_ARRAY_BEGIN(s_shaderStageOrder));
125 static bool isIllegalVertexInput (const glu::VarType& varType)
135 static bool isIllegalVertexOutput (const glu::VarType& varType, bool insideAStruct = false, bool insideAnArray = false)
141 const bool isOpaqueType = !glu::isDataTypeScalar(varType.getBasicType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isDataTypeMatrix(varType.getBasicType());
176 static bool isIllegalFragmentInput (const glu::VarType& varType)
181 static bool isIllegalFragmentOutput (const glu::VarType& varType, bool insideAnArray = false)
187 const bool isOpaqueType = !glu::isDataTypeScalar(varType.getBasicType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isDataTypeMatrix(varType.getBasicType());
208 static bool isTypeIntegerOrContainsIntegers (const glu::VarType& varType)
228 bool Shader::isValid (void) const
251 const glu::Layout layoutWithLocationAndBinding(m_defaultBlock.variables[varNdx].layout.location, m_defaultBlock.variables[varNdx].layout.binding);
427 static void collectStructPtrs (std::set<const glu::StructType*>& dst, const glu::VarType& type)
444 std::set<const glu::StructType*> structTypes;
456 for (std::set<const glu::StructType*>::iterator it = structTypes.begin(); it != structTypes.end(); ++it)
485 bool Program::isSeparable (void) const
490 const std::vector<Shader*>& Program::getShaders (void) const
495 glu::ShaderType Program::getFirstStage (void) const
497 const int nullValue = DE_LENGTH_OF_ARRAY(s_shaderStageOrder);
502 const int index = getShaderStageIndex(m_shaders[shaderNdx]->getType());
513 glu::ShaderType Program::getLastStage (void) const
515 const int nullValue = -1;
520 const int index = getShaderStageIndex(m_shaders[shaderNdx]->getType());
531 bool Program::hasStage (glu::ShaderType stage) const
541 void Program::addTransformFeedbackVarying (const std::string& varName)
546 const std::vector<std::string>& Program::getTransformFeedbackVaryings (void) const
556 deUint32 Program::getTransformFeedbackMode (void) const
561 deUint32 Program::getGeometryNumOutputVertices (void) const
571 deUint32 Program::getTessellationNumOutputPatchVertices (void) const
581 bool Program::isValid (void) const
583 const bool isOpenGLES = (m_shaders.empty()) ? (false) : (glu::glslVersionIsES(m_shaders[0]->getVersion()));
620 const bool nonComputePresent = vertexPresent || fragmentPresent || tessControlPresent || tessEvalPresent || geometryPresent;