Lines Matching refs:uniformInfo

101 														 const vector<UniformInfo>&	uniformInfo);
150 const vector<UniformInfo>& uniformInfo) in UniformLocationCase() argument
153 , m_uniformInfo (uniformInfo) in UniformLocationCase()
283 const UniformInfo& uniformInfo = uniformList[uniformNdx]; in genShaderSources() local
285 …const bool declareInVert = (uniformInfo.declareLocation & UniformInfo::SHADERSTAGE_VERTEX) != … in genShaderSources()
286 …const bool declareInFrag = (uniformInfo.declareLocation & UniformInfo::SHADERSTAGE_FRAGMENT) != … in genShaderSources()
287 …const bool layoutInVert = (uniformInfo.layoutLocation & UniformInfo::SHADERSTAGE_VERTEX) !… in genShaderSources()
288 …const bool layoutInFrag = (uniformInfo.layoutLocation & UniformInfo::SHADERSTAGE_FRAGMENT) !… in genShaderSources()
289 …const bool checkInVert = (uniformInfo.checkLocation & UniformInfo::SHADERSTAGE_VERTEX) != 0; in genShaderSources()
290 …const bool checkInFrag = (uniformInfo.checkLocation & UniformInfo::SHADERSTAGE_FRAGMENT) != 0; in genShaderSources()
292 …const string layout = uniformInfo.location >= 0 ? "layout(location = " + de::toString(uniformIn… in genShaderSources()
295 int location = uniformInfo.location; in genShaderSources()
303 if (uniformInfo.type.isStructType()) in genShaderSources()
305 const glu::StructType* const structType = uniformInfo.type.getStructPtr(); in genShaderSources()
319 …vertDecl << "uniform " << (layoutInVert ? layout : "") << glu::declare(uniformInfo.type, uniName) … in genShaderSources()
322 …fragDecl << "uniform " << (layoutInFrag ? layout : "") << glu::declare(uniformInfo.type, uniName) … in genShaderSources()
325 …eIter = glu::BasicTypeIterator::begin(&uniformInfo.type); subTypeIter != glu::BasicTypeIterator::e… in genShaderSources()
327 const glu::VarType subType = glu::getVarType(uniformInfo.type, subTypeIter.getPath()); in genShaderSources()
336 << glu::TypeAccessFormat(uniformInfo.type, subTypeIter.getPath()) in genShaderSources()
340 << glu::TypeAccessFormat(uniformInfo.type, subTypeIter.getPath()) in genShaderSources()
347 << glu::TypeAccessFormat(uniformInfo.type, subTypeIter.getPath()) in genShaderSources()
351 << glu::TypeAccessFormat(uniformInfo.type, subTypeIter.getPath()) in genShaderSources()
387 const UniformInfo& uniformInfo = uniformList[uniformNdx]; in verifyLocations() local
390 …eIter = glu::BasicTypeIterator::begin(&uniformInfo.type); subTypeIter != glu::BasicTypeIterator::e… in verifyLocations()
392 const string name = getUniformName(uniformNdx, uniformInfo.type, subTypeIter.getPath()); in verifyLocations()
394 const int expectLoc = uniformInfo.location >= 0 ? uniformInfo.location+subTypeIndex : -1; in verifyLocations()
398 if (uniformInfo.checkLocation == 0 && gotLoc == -1) in verifyLocations()
557 const UniformInfo& uniformInfo = uniformList[uniformNdx]; in render() local
558 int expectedLocation = uniformInfo.location; in render()
560 …eIter = glu::BasicTypeIterator::begin(&uniformInfo.type); subTypeIter != glu::BasicTypeIterator::e… in render()
562 const glu::VarType type = glu::getVarType(uniformInfo.type, subTypeIter.getPath()); in render()
563 const string name = getUniformName(uniformNdx, uniformInfo.type, subTypeIter.getPath()); in render()
652 const vector<UniformInfo>& uniformInfo);
661 const vector<UniformInfo>& uniformInfo) in MaxUniformLocationCase() argument
662 : UniformLocationCase(context, renderContext, name, desc, uniformInfo) in MaxUniformLocationCase()
664 DE_ASSERT(!uniformInfo.empty()); in MaxUniformLocationCase()
670 vector<UniformInfo> uniformInfo = m_uniformInfo; in iterate() local
674 uniformInfo[0].location = maxLocation-1; in iterate()
676 return UniformLocationCase::run(uniformInfo); in iterate()