Home
last modified time | relevance | path

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

/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.cpp529 DataType getDataTypeVector (DataType scalarType, int size) in getDataTypeVector() argument
532 switch (scalarType) in getDataTypeVector()
538 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.hpp200 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()
929 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in generateImmScalarVectorSrc() local
943 switch (scalarType) in generateImmScalarVectorSrc()
1411 bool compareComponents (glu::DataType scalarType, const void* ref, const void* res, int numComps) in compareComponents() argument
1413 if (scalarType == glu::TYPE_FLOAT) in compareComponents()
1426 else if (scalarType == glu::TYPE_BOOL) in compareComponents()
1439 DE_ASSERT(scalarType == glu::TYPE_INT || scalarType == glu::TYPE_UINT); in compareComponents()
1463 const glu::DataType scalarType = glu::getDataTypeScalarType(refEntry.type); in compareBufferVarData() local
1510 isOk = isOk && compareComponents(scalarType, resCompPtr, refCompPtr, 1); in compareBufferVarData()
[all …]
/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/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/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.cpp573 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValue() local
595 switch (scalarType) in generateValue()
890 glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); in generateValueSrc() local
904 DE_ASSERT(scalarType == glu::TYPE_FLOAT); in generateValueSrc()
930 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()