Home
last modified time | relevance | path

Searched refs:scalarType (Results 1 – 14 of 14) sorted by relevance

/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp410 const char* scalarType = DE_NULL; in operator <<() local
415 case rsg::VariableType::TYPE_FLOAT: scalarType = "float"; vecType = "vec"; break; in operator <<()
416 case rsg::VariableType::TYPE_INT: scalarType = "int"; vecType = "ivec"; break; in operator <<()
417 case rsg::VariableType::TYPE_BOOL: scalarType = "bool"; vecType = "bvec"; break; in operator <<()
418 case rsg::VariableType::TYPE_SAMPLER_2D: scalarType = "sampler2D"; break; in operator <<()
419 case rsg::VariableType::TYPE_SAMPLER_CUBE: scalarType = "samplerCube"; break; in operator <<()
426 message << scalarType << "("; in operator <<()
DglsShaderLibrary.cpp731 DataType scalarType = getDataTypeScalarType(expectedDataType); in parseValueElement() local
746 if (scalarType == TYPE_FLOAT) in parseValueElement()
759 else if (scalarType == TYPE_INT || scalarType == TYPE_UINT) in parseValueElement()
774 DE_ASSERT(scalarType == TYPE_BOOL); in parseValueElement()
DglsRandomShaderProgram.cpp51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT : in mapToBasicType() local
57 return glu::DataType(scalarType + numComps - 1); in mapToBasicType()
DglsUniformBlockCase.cpp626 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValue() local
648 switch (scalarType) in generateValue()
944 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValueSrc() local
958 DE_ASSERT(scalarType == glu::TYPE_FLOAT); in generateValueSrc()
984 switch (scalarType) in generateValueSrc()
/external/deqp/modules/gles31/functional/
Des31fUniformLocationTests.cpp328 const glu::DataType scalarType = glu::getDataTypeScalarType(subType.getBasicType()); in genShaderSources() local
329 const char* const typeName = glu::getDataTypeName(scalarType); in genShaderSources()
330 …const string expectValue = de::floatToString(getExpectedValue(scalarType, location >= 0 ? locatio… in genShaderSources()
332 if (glu::isDataTypeSampler(scalarType)) in genShaderSources()
565 const glu::DataType scalarType = glu::getDataTypeScalarType(type.getBasicType()); in render() local
566 const char* const typeName = glu::getDataTypeName(scalarType); in render()
567 const float expectedValue = getExpectedValue(scalarType, expectedLocation, typeName); in render()
569 if (glu::isDataTypeSampler(scalarType)) in render()
573 texList.push_back(createTexture(scalarType, expectedValue, binding).release()); in render()
Des31fSSBOLayoutCase.cpp733 const glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValue() local
764 switch (scalarType) in generateValue()
1014 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in generateImmScalarVectorSrc() local
1028 switch (scalarType) in generateImmScalarVectorSrc()
1633 bool compareComponents (glu::DataType scalarType, const void* ref, const void* res, int numComps) in compareComponents() argument
1635 if (scalarType == glu::TYPE_FLOAT) in compareComponents()
1648 else if (scalarType == glu::TYPE_BOOL) in compareComponents()
1661 DE_ASSERT(scalarType == glu::TYPE_INT || scalarType == glu::TYPE_UINT); in compareComponents()
1685 const glu::DataType scalarType = glu::getDataTypeScalarType(refEntry.type); in compareBufferVarData() local
1732 isOk = isOk && compareComponents(scalarType, resCompPtr, refCompPtr, 1); in compareBufferVarData()
[all …]
Des31fShaderIntegerFunctionTests.cpp82 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() local
93 switch (scalarType) in operator <<()
1123 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; in addFunctionCases() local
1125 if ((!intTypes && scalarType == glu::TYPE_INT) || (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases()
1138 …group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::… in addFunctionCases()
Des31fShaderCommonFunctionTests.cpp368 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() local
379 switch (scalarType) in operator <<()
2132 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; in addFunctionCases() local
2134 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) || in addFunctionCases()
2135 (!intTypes && scalarType == glu::TYPE_INT) || in addFunctionCases()
2136 (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases()
2146 …group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::… in addFunctionCases()
Des31fSeparateShaderTests.cpp136 const DataType scalarType = rnd.chooseWeighted<DataType>( in randomType() local
138 return getDataTypeVector(scalarType, size); in randomType()
/external/deqp/framework/opengl/
DgluShaderUtil.cpp485 DataType getDataTypeVector (DataType scalarType, int size) in getDataTypeVector() argument
488 switch (scalarType) in getDataTypeVector()
494 return (DataType)((int)scalarType + size - 1); in getDataTypeVector()
DgluShaderUtil.hpp186 DataType getDataTypeVector (DataType scalarType, int size);
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp295 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() local
306 switch (scalarType) in operator <<()
1647 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; in addFunctionCases() local
1649 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) || in addFunctionCases()
1650 (!intTypes && scalarType == glu::TYPE_INT) || in addFunctionCases()
1651 (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases()
1659 …group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::… in addFunctionCases()
Des3fTransformFeedbackTests.cpp728 glu::DataType scalarType = glu::getDataTypeScalarType(type); in compareTransformFeedbackOutput() local
743 if (scalarType == glu::TYPE_FLOAT) in compareTransformFeedbackOutput()
1123 glu::DataType scalarType = glu::getDataTypeScalarType(attrib->type.getBasicType()); in runTest() local
1131 …if (scalarType == glu::TYPE_FLOAT) gl.vertexAttribPointer (loc, numComponents, GL_FLOAT, GL_FALSE… in runTest()
1132 …else if (scalarType == glu::TYPE_INT) gl.vertexAttribIPointer (loc, numComponents, GL_INT, m_input… in runTest()
1133 …else if (scalarType == glu::TYPE_UINT) gl.vertexAttribIPointer (loc, numComponents, GL_UNSIGNED_IN… in runTest()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp757 Type *scalarType = AndMaskVec->getType()->getScalarType(); in optimizeBitExtract() local
783 maskVals.push_back(ConstantInt::get(scalarType, maskVal, isSigned)); in optimizeBitExtract()
784 shiftVals.push_back(ConstantInt::get(scalarType, shiftVal, isSigned)); in optimizeBitExtract()