Lines Matching refs:attrSpec

690 …void				setAttribute			(const Buffer& attrBuf, int attrBufOffset, const VarSpec& attrSpec, const s…
691 …void setAttributeClientMem (const void* attrData, const VarSpec& attrSpec, const string& shader…
692 …void disableAttributeArray (const VarSpec& attrSpec, const string& shaderNameManglingSuffix) co…
848 void Program::setAttribute (const Buffer& attrBuf, const int attrBufOffset, const VarSpec& attrSpec in setAttribute() argument
850 …const int attrLoc = glGetAttribLocation(m_programGL, mangleShaderNames(attrSpec.name, shaderNameMa… in setAttribute()
855 if (glu::isDataTypeFloatOrVec(attrSpec.type)) in setAttribute()
856 …glVertexAttribPointer(attrLoc, glu::getDataTypeScalarSize(attrSpec.type), GL_FLOAT, GL_FALSE, 0, (… in setAttribute()
861 void Program::setAttributeClientMem (const void* const attrData, const VarSpec& attrSpec, const str… in setAttributeClientMem() argument
863 …const int attrLoc = glGetAttribLocation(m_programGL, mangleShaderNames(attrSpec.name, shaderNameMa… in setAttributeClientMem()
868 if (glu::isDataTypeFloatOrVec(attrSpec.type)) in setAttributeClientMem()
869 …glVertexAttribPointer(attrLoc, glu::getDataTypeScalarSize(attrSpec.type), GL_FLOAT, GL_FALSE, 0, a… in setAttributeClientMem()
874 void Program::disableAttributeArray (const VarSpec& attrSpec, const string& shaderNameManglingSuffi… in disableAttributeArray() argument
876 …const int attrLoc = glGetAttribLocation(m_programGL, mangleShaderNames(attrSpec.name, shaderNameMa… in disableAttributeArray()
991 …ta (vector<deUint8>& attrDataBuf, int& dataSizeBytesDst, const VarSpec& attrSpec, const int numVer… in generateRandomAttribData() argument
993 const bool isFloat = glu::isDataTypeFloatOrVec(attrSpec.type); in generateRandomAttribData()
994 const int numComponents = glu::getDataTypeScalarSize(attrSpec.type); in generateRandomAttribData()
1011 …data[vtxNdx*numComponents + compNdx] = rnd.getFloat(attrSpec.minValue.f[compNdx], attrSpec.maxValu… in generateRandomAttribData()
1015 DE_ASSERT(glu::isDataTypeIntOrIVec(attrSpec.type)); in generateRandomAttribData()
1021 …data[vtxNdx*numComponents + compNdx] = rnd.getInt(attrSpec.minValue.i[compNdx], attrSpec.maxValue.… in generateRandomAttribData()
1027 …ta (vector<deUint8>& attrDataBuf, int& dataSizeBytesDst, const VarSpec& attrSpec, const int numVer… in generateRandomPositionAttribData() argument
1029 DE_ASSERT(glu::isDataTypeFloatOrVec(attrSpec.type)); in generateRandomPositionAttribData()
1031 const int numComponents = glu::getDataTypeScalarSize(attrSpec.type); in generateRandomPositionAttribData()
1033 …const int offsetInBuf = generateRandomAttribData(attrDataBuf, dataSizeBytesDst, attrSpec, numVerti… in generateRandomPositionAttribData()
1052 const float z = (1.0f-t)*attrSpec.minValue.f[2] + t*attrSpec.maxValue.f[2]; in generateRandomPositionAttribData()