/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 348 const char* scalarType = DE_NULL; in operator <<() local 353 case rsg::VariableType::TYPE_FLOAT: scalarType = "float"; vecType = "vec"; break; in operator <<() 354 case rsg::VariableType::TYPE_INT: scalarType = "int"; vecType = "ivec"; break; in operator <<() 355 case rsg::VariableType::TYPE_BOOL: scalarType = "bool"; vecType = "bvec"; break; in operator <<() 356 case rsg::VariableType::TYPE_SAMPLER_2D: scalarType = "sampler2D"; break; in operator <<() 357 case rsg::VariableType::TYPE_SAMPLER_CUBE: scalarType = "samplerCube"; break; in operator <<() 364 message << scalarType << "("; in operator <<()
|
D | glsShaderLibrary.cpp | 730 DataType scalarType = getDataTypeScalarType(expectedDataType); in parseValueElement() local 745 if (scalarType == TYPE_FLOAT) in parseValueElement() 758 else if (scalarType == TYPE_INT || scalarType == TYPE_UINT) in parseValueElement() 773 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/framework/opengl/ |
D | gluShaderUtil.cpp | 484 DataType getDataTypeVector (DataType scalarType, int size) in getDataTypeVector() argument 487 switch (scalarType) in getDataTypeVector() 493 return (DataType)((int)scalarType + size - 1); in getDataTypeVector()
|
D | gluShaderUtil.hpp | 186 DataType getDataTypeVector (DataType scalarType, int size);
|
/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() 566 const glu::DataType scalarType = glu::getDataTypeScalarType(type.getBasicType()); in render() local 567 const char* const typeName = glu::getDataTypeName(scalarType); in render() 568 const float expectedValue = getExpectedValue(scalarType, expectedLocation, typeName); in render() 570 if (glu::isDataTypeSampler(scalarType)) in render() 574 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 | 322 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() local 333 switch (scalarType) in operator <<() 2081 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; in addFunctionCases() local 2083 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) || in addFunctionCases() 2084 (!intTypes && scalarType == glu::TYPE_INT) || in addFunctionCases() 2085 (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases() 2095 …group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::… in addFunctionCases()
|
D | es31fSeparateShaderTests.cpp | 125 const DataType scalarType = rnd.chooseWeighted<DataType>( in randomType() local 127 return getDataTypeVector(scalarType, size); in randomType()
|
/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 | 715 glu::DataType scalarType = glu::getDataTypeScalarType(type); in compareTransformFeedbackOutput() local 730 if (scalarType == glu::TYPE_FLOAT) in compareTransformFeedbackOutput() 1110 glu::DataType scalarType = glu::getDataTypeScalarType(attrib->type.getBasicType()); in runTest() local 1118 …if (scalarType == glu::TYPE_FLOAT) gl.vertexAttribPointer (loc, numComponents, GL_FLOAT, GL_FALSE… in runTest() 1119 …else if (scalarType == glu::TYPE_INT) gl.vertexAttribIPointer (loc, numComponents, GL_INT, m_input… in runTest() 1120 …else if (scalarType == glu::TYPE_UINT) gl.vertexAttribIPointer (loc, numComponents, GL_UNSIGNED_IN… in runTest()
|
/external/chromium_org/third_party/mesa/src/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()
|
/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()
|