Home
last modified time | relevance | path

Searched refs:scalarType (Results 1 – 21 of 21) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp1390 const glu::DataType scalarType = glu::getDataTypeScalarType(type); in makeMatrixVectorCompositeCaseDefinition() local
1392 const bool isConst = (scalarType != glu::TYPE_FLOAT) && (scalarType != glu::TYPE_DOUBLE); in makeMatrixVectorCompositeCaseDefinition()
1402 const bool isBoolElement = (scalarType == glu::TYPE_BOOL); in makeMatrixVectorCompositeCaseDefinition()
1404 const std::string accumType = glu::getDataTypeName(isBoolElement ? glu::TYPE_INT : scalarType); in makeMatrixVectorCompositeCaseDefinition()
1412 makeVector(makeSpecConstant("sc0", 1u, scalarType, specValue)), in makeMatrixVectorCompositeCaseDefinition()
1416 …generateShaderChecksumComputationCode(scalarType, varName, accumType, size1, size2, numCombination… in makeMatrixVectorCompositeCaseDefinition()
1417 computeExpectedValues(specValue, scalarType, numCombinations), in makeMatrixVectorCompositeCaseDefinition()
1418 (scalarType == glu::TYPE_DOUBLE ? (FeatureFlags)FEATURE_SHADER_FLOAT_64 : (FeatureFlags)0), in makeMatrixVectorCompositeCaseDefinition()
1446 const glu::DataType scalarType = glu::getDataTypeScalarType(elemType); in makeArrayCompositeCaseDefinition() local
1447 const bool isBoolData = (scalarType == glu::TYPE_BOOL); in makeArrayCompositeCaseDefinition()
[all …]
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp410 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 <<()
DglsRandomShaderProgram.cpp51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT : in mapToBasicType() local
57 return glu::DataType(scalarType + numComps - 1); in mapToBasicType()
DglsUniformBlockCase.cpp626 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/
Des31fUniformLocationTests.cpp328 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()
Des31fSSBOLayoutCase.cpp733 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 …]
Des31fShaderIntegerFunctionTests.cpp82 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()
Des31fShaderCommonFunctionTests.cpp369 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() local
380 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()
Des31fSeparateShaderTests.cpp136 const DataType scalarType = rnd.chooseWeighted<DataType>( in randomType() local
138 return getDataTypeVector(scalarType, size); in randomType()
/external/deqp/framework/opengl/
DgluShaderUtil.cpp702 DataType getDataTypeVector (DataType scalarType, int size) in getDataTypeVector() argument
705 switch (scalarType) in getDataTypeVector()
712 return (DataType)((int)scalarType + size - 1); in getDataTypeVector()
DgluShaderLibrary.cpp953 DataType scalarType = getDataTypeScalarType(expectedDataType); in parseValueElement() local
968 if (scalarType == TYPE_FLOAT) in parseValueElement()
981 else if (scalarType == TYPE_INT || scalarType == TYPE_UINT) in parseValueElement()
996 DE_ASSERT(scalarType == TYPE_BOOL); in parseValueElement()
DgluShaderUtil.hpp219 DataType getDataTypeVector (DataType scalarType, int size);
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp648 const glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValue() local
679 switch (scalarType) in generateValue()
973 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in generateImmScalarVectorSrc() local
987 switch (scalarType) in generateImmScalarVectorSrc()
1466 bool compareComponents (glu::DataType scalarType, const void* ref, const void* res, int numComps) in compareComponents() argument
1468 if (scalarType == glu::TYPE_FLOAT) in compareComponents()
1481 else if (scalarType == glu::TYPE_BOOL) in compareComponents()
1494 DE_ASSERT(scalarType == glu::TYPE_INT || scalarType == glu::TYPE_UINT); in compareComponents()
1518 const glu::DataType scalarType = glu::getDataTypeScalarType(refEntry.type); in compareBufferVarData() local
1565 isOk = isOk && compareComponents(scalarType, resCompPtr, refCompPtr, 1); in compareBufferVarData()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp84 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() local
95 switch (scalarType) in operator <<()
290 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; in addFunctionCases() local
292 if ((!intTypes && scalarType == glu::TYPE_INT) || (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases()
305 …group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), g… in addFunctionCases()
DvktShaderCommonFunctionTests.cpp312 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() local
323 switch (scalarType) in operator <<()
420 const glu::DataType scalarType = scalarTypes[scalarTypeNdx]; in addFunctionCases() local
422 if ((!floatTypes && scalarType == glu::TYPE_FLOAT) || in addFunctionCases()
423 (!intTypes && scalarType == glu::TYPE_INT) || in addFunctionCases()
424 (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases()
434 …group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), g… in addFunctionCases()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp295 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()
Des3fTransformFeedbackTests.cpp728 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/
DAMDILPeepholeOptimizer.cpp757 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/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp577 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValue() local
599 switch (scalarType) in generateValue()
976 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValueSrc() local
990 DE_ASSERT(scalarType == glu::TYPE_FLOAT); in generateValueSrc()
1016 switch (scalarType) in generateValueSrc()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp937 vk::VkFormat getVecFormat (DataType scalarType, int scalarSize) in getVecFormat() argument
939 switch (scalarType) in getVecFormat()
1024 const DataType scalarType = getDataTypeScalarType(basicType); in getVertexAttributeDescriptions() local
1025 const vk::VkFormat vecFmt = getVecFormat(scalarType, vecSize); in getVertexAttributeDescriptions()
/external/clang/lib/CodeGen/
DCGCall.cpp3787 llvm::Type *scalarType = RV.getScalarVal()->getType(); in EmitCall() local
3788 auto scalarSize = CGM.getDataLayout().getTypeAllocSize(scalarType); in EmitCall()
3789 auto scalarAlign = CGM.getDataLayout().getPrefTypeAlignment(scalarType); in EmitCall()