/external/deqp/modules/glshared/ |
H A D | glsRandomShaderCase.cpp | 410 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 D | glsRandomShaderProgram.cpp | 51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT : local 57 return glu::DataType(scalarType + numComps - 1);
|
H A D | glsUniformBlockCase.cpp | 626 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/framework/opengl/ |
H A D | gluShaderUtil.cpp | 529 DataType getDataTypeVector (DataType scalarType, int size) argument 532 switch (scalarType) 538 return (DataType)((int)scalarType + size - 1);
|
H A D | gluShaderUtil.hpp | 200 DataType getDataTypeVector (DataType scalarType, int size);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fUniformLocationTests.cpp | 328 const glu::DataType scalarType = glu::getDataTypeScalarType(subType.getBasicType()); 329 const char* const typeName = glu::getDataTypeName(scalarType); 330 const string expectValue = de::floatToString(getExpectedValue(scalarType, location >= 0 ? location+subTypeIndex : -1, typeName), 3); 332 if (glu::isDataTypeSampler(scalarType)) 565 const glu::DataType scalarType = glu::getDataTypeScalarType(type.getBasicType()); 566 const char* const typeName = glu::getDataTypeName(scalarType); 567 const float expectedValue = getExpectedValue(scalarType, expectedLocation, typeName); 569 if (glu::isDataTypeSampler(scalarType)) 573 texList.push_back(createTexture(scalarType, expectedValue, binding).release());
|
H A D | es31fShaderIntegerFunctionTests.cpp | 82 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 D | es31fSSBOLayoutCase.cpp | 733 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...] |
H A D | es31fShaderCommonFunctionTests.cpp | 369 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 D | es31fSeparateShaderTests.cpp | 136 const DataType scalarType = rnd.chooseWeighted<DataType>( local 138 return getDataTypeVector(scalarType, size);
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 648 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...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 84 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 D | vktShaderCommonFunctionTests.cpp | 312 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 D | es3fShaderCommonFunctionTests.cpp | 295 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)));
|
H A D | es3fTransformFeedbackTests.cpp | 728 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);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 757 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/ubo/ |
H A D | vktUniformBlockCase.cpp | 573 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/ |
H A D | vktShaderLibrary.cpp | 937 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);
|