/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 410 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 <<()
|
D | glsShaderLibrary.cpp | 731 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()
|
D | glsRandomShaderProgram.cpp | 51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT : in mapToBasicType() local 57 return glu::DataType(scalarType + numComps - 1); in mapToBasicType()
|
D | glsUniformBlockCase.cpp | 626 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/ |
D | es31fUniformLocationTests.cpp | 328 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()
|
D | es31fSSBOLayoutCase.cpp | 733 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 …]
|
D | es31fShaderIntegerFunctionTests.cpp | 82 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()
|
D | es31fShaderCommonFunctionTests.cpp | 368 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()
|
D | es31fSeparateShaderTests.cpp | 136 const DataType scalarType = rnd.chooseWeighted<DataType>( in randomType() local 138 return getDataTypeVector(scalarType, size); in randomType()
|
/external/deqp/framework/opengl/ |
D | gluShaderUtil.cpp | 485 DataType getDataTypeVector (DataType scalarType, int size) in getDataTypeVector() argument 488 switch (scalarType) in getDataTypeVector() 494 return (DataType)((int)scalarType + size - 1); in getDataTypeVector()
|
D | gluShaderUtil.hpp | 186 DataType getDataTypeVector (DataType scalarType, int size);
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 295 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()
|
D | es3fTransformFeedbackTests.cpp | 728 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/ |
D | AMDILPeepholeOptimizer.cpp | 757 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()
|