Searched defs:scalarType (Results 1 - 13 of 13) sorted by relevance

/external/deqp/framework/opengl/
H A DgluShaderUtil.cpp484 DataType getDataTypeVector (DataType scalarType, int size) argument
487 switch (scalarType)
493 return (DataType)((int)scalarType + size - 1);
/external/deqp/modules/gles31/functional/
H A Des31fSeparateShaderTests.cpp125 const DataType scalarType = rnd.chooseWeighted<DataType>( local
127 return getDataTypeVector(scalarType, size);
H A Des31fShaderIntegerFunctionTests.cpp82 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
93 switch (scalarType)
1123 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; local
1125 if ((!intTypes && scalarType == glu::TYPE_INT) || (!uintTypes && scalarType == glu::TYPE_UINT))
1138 group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx)));
H A Des31fShaderCommonFunctionTests.cpp322 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
333 switch (scalarType)
2081 const glu::DataType scalarType = scalarTypes[scalarTypeNdx];
2083 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) ||
2084 (!intTypes && scalarType == glu::TYPE_INT) ||
2085 (!uintTypes && scalarType == glu::TYPE_UINT))
2095 group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx)));
H A Des31fSSBOLayoutCase.cpp733 const glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); local
764 switch (scalarType)
1014 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
1028 switch (scalarType)
1633 bool compareComponents (glu::DataType scalarType, const void* ref, const void* res, int numComps) argument
1635 if (scalarType == glu::TYPE_FLOAT)
1648 else if (scalarType == glu::TYPE_BOOL)
1661 DE_ASSERT(scalarType == glu::TYPE_INT || scalarType == glu::TYPE_UINT);
1685 const glu::DataType scalarType local
[all...]
/external/deqp/modules/glshared/
H A DglsRandomShaderProgram.cpp51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT : local
57 return glu::DataType(scalarType + numComps - 1);
H A DglsRandomShaderCase.cpp348 const char* scalarType = DE_NULL; local
353 case rsg::VariableType::TYPE_FLOAT: scalarType = "float"; vecType = "vec"; break;
354 case rsg::VariableType::TYPE_INT: scalarType = "int"; vecType = "ivec"; break;
355 case rsg::VariableType::TYPE_BOOL: scalarType = "bool"; vecType = "bvec"; break;
356 case rsg::VariableType::TYPE_SAMPLER_2D: scalarType = "sampler2D"; break;
357 case rsg::VariableType::TYPE_SAMPLER_CUBE: scalarType = "samplerCube"; break;
364 message << scalarType << "("; local
H A DglsShaderLibrary.cpp730 DataType scalarType = getDataTypeScalarType(expectedDataType); local
745 if (scalarType == TYPE_FLOAT)
758 else if (scalarType == TYPE_INT || scalarType == TYPE_UINT)
773 DE_ASSERT(scalarType == TYPE_BOOL);
H A DglsUniformBlockCase.cpp626 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); local
648 switch (scalarType)
944 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); local
958 DE_ASSERT(scalarType == glu::TYPE_FLOAT);
984 switch (scalarType)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp757 Type *scalarType = AndMaskVec->getType()->getScalarType(); local
783 maskVals.push_back(ConstantInt::get(scalarType, maskVal, isSigned));
784 shiftVals.push_back(ConstantInt::get(scalarType, shiftVal, isSigned));
/external/deqp/modules/gles3/functional/
H A Des3fTransformFeedbackTests.cpp715 glu::DataType scalarType = glu::getDataTypeScalarType(type); local
730 if (scalarType == glu::TYPE_FLOAT)
1110 glu::DataType scalarType = glu::getDataTypeScalarType(attrib->type.getBasicType());
1118 if (scalarType == glu::TYPE_FLOAT) gl.vertexAttribPointer (loc, numComponents, GL_FLOAT, GL_FALSE, m_inputStride, ptr);
1119 else if (scalarType == glu::TYPE_INT) gl.vertexAttribIPointer (loc, numComponents, GL_INT, m_inputStride, ptr);
1120 else if (scalarType == glu::TYPE_UINT) gl.vertexAttribIPointer (loc, numComponents, GL_UNSIGNED_INT, m_inputStride, ptr);
H A Des3fShaderCommonFunctionTests.cpp295 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
306 switch (scalarType)
1647 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; local
1649 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) ||
1650 (!intTypes && scalarType == glu::TYPE_INT) ||
1651 (!uintTypes && scalarType == glu::TYPE_UINT))
1659 group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderType)));
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp757 Type *scalarType = AndMaskVec->getType()->getScalarType(); local
783 maskVals.push_back(ConstantInt::get(scalarType, maskVal, isSigned));
784 shiftVals.push_back(ConstantInt::get(scalarType, shiftVal, isSigned));

Completed in 297 milliseconds