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

/external/deqp/framework/opengl/
H A DgluShaderUtil.cpp529 DataType getDataTypeVector (DataType scalarType, int size) argument
532 switch (scalarType)
538 return (DataType)((int)scalarType + size - 1);
H A DgluShaderLibrary.cpp953 DataType scalarType = getDataTypeScalarType(expectedDataType); local
968 if (scalarType == TYPE_FLOAT)
981 else if (scalarType == TYPE_INT || scalarType == TYPE_UINT)
996 DE_ASSERT(scalarType == TYPE_BOOL);
/external/deqp/modules/gles31/functional/
H A Des31fSeparateShaderTests.cpp136 const DataType scalarType = rnd.chooseWeighted<DataType>( local
138 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.cpp369 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
380 switch (scalarType)
2132 const glu::DataType scalarType = scalarTypes[scalarTypeNdx];
2134 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) ||
2135 (!intTypes && scalarType == glu::TYPE_INT) ||
2136 (!uintTypes && scalarType == glu::TYPE_UINT))
2146 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.cpp410 const char* scalarType = DE_NULL; local
415 case rsg::VariableType::TYPE_FLOAT: scalarType = "float"; vecType = "vec"; break;
416 case rsg::VariableType::TYPE_INT: scalarType = "int"; vecType = "ivec"; break;
417 case rsg::VariableType::TYPE_BOOL: scalarType = "bool"; vecType = "bvec"; break;
418 case rsg::VariableType::TYPE_SAMPLER_2D: scalarType = "sampler2D"; break;
419 case rsg::VariableType::TYPE_SAMPLER_CUBE: scalarType = "samplerCube"; break;
426 message << scalarType << "("; local
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/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp84 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
95 switch (scalarType)
290 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; local
292 if ((!intTypes && scalarType == glu::TYPE_INT) || (!uintTypes && scalarType == glu::TYPE_UINT))
305 group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx)));
H A DvktShaderCommonFunctionTests.cpp312 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
323 switch (scalarType)
420 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; local
422 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) ||
423 (!intTypes && scalarType == glu::TYPE_INT) ||
424 (!uintTypes && scalarType == glu::TYPE_UINT))
434 group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx)));
/external/deqp/modules/gles3/functional/
H A Des3fTransformFeedbackTests.cpp728 glu::DataType scalarType = glu::getDataTypeScalarType(type); local
743 if (scalarType == glu::TYPE_FLOAT)
1123 glu::DataType scalarType = glu::getDataTypeScalarType(attrib->type.getBasicType());
1131 if (scalarType == glu::TYPE_FLOAT) gl.vertexAttribPointer (loc, numComponents, GL_FLOAT, GL_FALSE, m_inputStride, ptr);
1132 else if (scalarType == glu::TYPE_INT) gl.vertexAttribIPointer (loc, numComponents, GL_INT, m_inputStride, ptr);
1133 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));
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktShaderLibrary.cpp937 vk::VkFormat getVecFormat (DataType scalarType, int scalarSize) argument
939 switch (scalarType)
1024 const DataType scalarType = getDataTypeScalarType(basicType); local
1025 const vk::VkFormat vecFmt = getVecFormat(scalarType, vecSize);
/external/deqp/external/vulkancts/modules/vulkan/ubo/
H A DvktUniformBlockCase.cpp573 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); local
595 switch (scalarType)
890 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); local
904 DE_ASSERT(scalarType == glu::TYPE_FLOAT);
930 switch (scalarType)
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOLayoutCase.cpp648 const glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); local
679 switch (scalarType)
929 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); local
943 switch (scalarType)
1411 bool compareComponents (glu::DataType scalarType, const void* ref, const void* res, int numComps) argument
1413 if (scalarType == glu::TYPE_FLOAT)
1426 else if (scalarType == glu::TYPE_BOOL)
1439 DE_ASSERT(scalarType == glu::TYPE_INT || scalarType == glu::TYPE_UINT);
1463 const glu::DataType scalarType local
[all...]

Completed in 1441 milliseconds