Home
last modified time | relevance | path

Searched refs:getBasicType (Results 1 – 25 of 39) sorted by relevance

12

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp61 if (varType.isBasicType() && predicate(varType.getBasicType())) in containsMatchingSubtype()
120 if (glu::isDataTypeBoolOrBVec(varType.getBasicType())) in isIllegalVertexInput()
131 …aTypeScalar(varType.getBasicType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isD… in isIllegalVertexOutput()
133 if (glu::isDataTypeBoolOrBVec(varType.getBasicType())) in isIllegalVertexOutput()
177 …aTypeScalar(varType.getBasicType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isD… in isIllegalFragmentOutput()
179 …if (glu::isDataTypeBoolOrBVec(varType.getBasicType()) || isOpaqueType || glu::isDataTypeMatrix(var… in isIllegalFragmentOutput()
201 …return glu::isDataTypeIntOrIVec(varType.getBasicType()) || glu::isDataTypeUintOrUVec(varType.getBa… in isTypeIntegerOrContainsIntegers()
Des31fShaderIntegerFunctionTests.cpp81 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<()
371 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
425 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
467 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
519 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
561 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
611 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
651 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
702 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
742 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
Des31fShaderCommonFunctionTests.cpp367 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<()
523 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
535 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
605 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
628 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
705 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
735 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
817 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
826 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
880 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp401 if (glu::isDataTypeScalar(varType.getBasicType())) in writeVariableReadAccumulateExpression()
403 else if (glu::isDataTypeVector(varType.getBasicType())) in writeVariableReadAccumulateExpression()
405 else if (glu::isDataTypeMatrix(varType.getBasicType())) in writeVariableReadAccumulateExpression()
407 else if (glu::isDataTypeSamplerMultisample(varType.getBasicType())) in writeVariableReadAccumulateExpression()
409 else if (glu::isDataTypeSampler(varType.getBasicType())) in writeVariableReadAccumulateExpression()
411 else if (glu::isDataTypeImage(varType.getBasicType())) in writeVariableReadAccumulateExpression()
413 else if (varType.getBasicType() == glu::TYPE_UINT_ATOMIC_COUNTER) in writeVariableReadAccumulateExpression()
570 if (glu::isDataTypeScalar(varType.getBasicType())) in writeVariableWriteExpression()
571 buf << glu::getDataTypeName(varType.getBasicType()) << "(" << sourceVec4Name << ".y)"; in writeVariableWriteExpression()
572 …else if (glu::isDataTypeVector(varType.getBasicType()) || glu::isDataTypeMatrix(varType.getBasicTy… in writeVariableWriteExpression()
[all …]
Des31fProgramInterfaceQueryTestCase.cpp115 …return glu::getDataTypeScalarSize(type.getBasicType()) * getTypeSize(glu::getDataTypeScalarType(ty… in getVarTypeSize()
379 …age << "Verifying type, expecting " << glu::getDataTypeName(variable->getBasicType()) << tcu::Test… in validateSingleVariable()
381 if (variable->getBasicType() != glu::getDataTypeFromGLType(propValue)) in validateSingleVariable()
528 …cCounter = glu::isDataTypeAtomicCounter(component.getVariableType()->getBasicType()); // atomic c… in validateSingleVariable()
536 …mponent.getVariableType()->getBasicType()) * getTypeSize(glu::getDataTypeScalarType(component.getV… in validateSingleVariable()
657 const bool isMatrix = glu::isDataTypeMatrix(component.getVariableType()->getBasicType()); in validateSingleVariable()
691 const bool isMatrix = glu::isDataTypeMatrix(component.getVariableType()->getBasicType()); in validateSingleVariable()
700 …component.getVariableType()->getBasicType())) : (glu::getDataTypeMatrixNumColumns(component.getVar… in validateSingleVariable()
701 …jorElements * getTypeSize(glu::getDataTypeScalarType(component.getVariableType()->getBasicType())); in validateSingleVariable()
713 …erBlock && !glu::isDataTypeAtomicCounter(component.getVariableType()->getBasicType())) ? (-1) : (0… in validateSingleVariable()
[all …]
Des31fSSBOLayoutCase.cpp377 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment()
418 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment()
482 const glu::DataType basicType = type.getBasicType(); in computeReferenceLayout()
521 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
524 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
542 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
545 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
606 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
609 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
628 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
[all …]
Des31fUniformLocationTests.cpp138 if (glu::isDataTypeVector(type.getBasicType())) in getFirstComponentName()
140 else if (glu::isDataTypeMatrix(type.getBasicType())) in getFirstComponentName()
328 const glu::DataType scalarType = glu::getDataTypeScalarType(subType.getBasicType()); in genShaderSources()
565 const glu::DataType scalarType = glu::getDataTypeScalarType(type.getBasicType()); in render()
584 switch (type.getBasicType()) in render()
Des31fProgramUniformTests.cpp221 return predicate(type.getBasicType()); in typeContainsMatchingBasicType()
239 const glu::DataType basicType = type.getBasicType(); in getDistinctSamplerTypes()
257 return glu::isDataTypeSampler(type.getBasicType()) ? 1 : 0; in getNumSamplersInType()
1005 const glu::DataType type = varType.getBasicType(); in generateBasicUniforms()
1007 : generateRandomVarValue(varType.getBasicType(), rnd); in generateBasicUniforms()
1009 basicUniformsDst.push_back(BasicUniform(varName, varType.getBasicType(), isActive, value)); in generateBasicUniforms()
1010 …basicUniformReportsDst.push_back(BasicUniformReportRef(varName, varType.getBasicType(), isActive)); in generateBasicUniforms()
1030 const glu::DataType elemBasicType = varType.getElementType().getBasicType(); in generateBasicUniforms()
1045 …ortRef(arrayRootName.c_str(), minSize, size, varType.getElementType().getBasicType(), isParentActi… in generateBasicUniforms()
/external/deqp/framework/opengl/
DgluVarTypeUtil.hpp189 …nst VarType& type) const { return type.isBasicType() && isDataTypeScalar(type.getBasicType()); } }; in operator ()()
190 …ype& type) const { return type.isBasicType() && isDataTypeScalarOrVector(type.getBasicType()); } }; in operator ()()
247 DE_ASSERT(isDataTypeMatrix(parentType.getBasicType())); in removeTraversed()
248 if (curComp.index+1 < getDataTypeMatrixNumColumns(parentType.getBasicType())) in removeTraversed()
253 DE_ASSERT(isDataTypeVector(parentType.getBasicType())); in removeTraversed()
254 if (curComp.index+1 < getDataTypeScalarSize(parentType.getBasicType())) in removeTraversed()
294 DataType basicType = curType.getBasicType(); in findNext()
349 DataType basicType = curType->getBasicType(); in isValidTypePath()
396 DataType basicType = curType->getBasicType(); in getVarType()
DgluVarTypeUtil.cpp140 else if (curType.isBasicType() && isDataTypeMatrix(curType.getBasicType())) in parseTypePath()
142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType.getBasicType()))); in parseTypePath()
145 else if (curType.isBasicType() && isDataTypeVector(curType.getBasicType())) in parseTypePath()
147 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeScalarSize(curType.getBasicType()))); in parseTypePath()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp113 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
115 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
134 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
150 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
152 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
188 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader()
190 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader()
212 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader()
230 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader()
232 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader()
[all …]
DglsUniformBlockCase.cpp420 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment()
474 glu::DataType basicType = type.getBasicType(); in computeStd140Layout()
514 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
517 glu::DataType elemBasicType = elemType.getBasicType(); in computeStd140Layout()
533 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
536 glu::DataType elemBasicType = elemType.getBasicType(); in computeStd140Layout()
762 basicTypes.insert(type.getBasicType()); in collectUniqueBasicTypes()
861 src << glu::getDataTypeName(type.getBasicType()) << " " << name; in generateDeclaration()
876 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
1006 …u::DataType elementType = isArray ? type.getElementType().getBasicType() : type.getBasicType(); in generateCompareSrc()
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DTypedConstant.java36 public final int getBasicType() { in getBasicType() method in TypedConstant
37 return getType().getBasicType(); in getBasicType()
DZeroes.java39 switch (type.getBasicType()) { in zeroFor()
DCstType.java104 switch (primitiveType.getBasicType()) { in forBoxedPrimitiveType()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp294 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<()
446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
458 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
528 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
551 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
628 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
658 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
740 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
749 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
803 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
Des3fTransformFeedbackTests.cpp395 DE_ASSERT(subType.isBasicType() && glu::isDataTypeScalarOrVector(subType.getBasicType())); in genShaderSources()
401 int scalarSize = glu::getDataTypeScalarSize(subType.getBasicType()); in genShaderSources()
460 inputStride += glu::getDataTypeScalarSize(type.getBasicType())*sizeof(deUint32); in computeInputLayout()
537 const bool isFloat = glu::isDataTypeFloatOrVec(attrib.type.getBasicType()); in genAttributeData()
538 const bool isInt = glu::isDataTypeIntOrIVec(attrib.type.getBasicType()); in genAttributeData()
539 const bool isUint = glu::isDataTypeUintOrUVec(attrib.type.getBasicType()); in genAttributeData()
541 const int numComps = glu::getDataTypeScalarSize(attrib.type.getBasicType()); in genAttributeData()
725 glu::DataType type = attribute.type.getBasicType(); in compareTransformFeedbackOutput()
1123 glu::DataType scalarType = glu::getDataTypeScalarType(attrib->type.getBasicType()); in runTest()
1124 int numComponents = glu::getDataTypeScalarSize(attrib->type.getBasicType()); in runTest()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DPhiTypeResolver.java74 && (definsn.getResult().getBasicType() == Type.BT_VOID)) { in run()
140 if (rs.getBasicType() != Type.BT_VOID) { in resolveResultType()
162 if (rs.getBasicType() == Type.BT_VOID){ in resolveResultType()
DSCCP.java271 switch (((TypedConstant) cA).getBasicType()) { in simulateBranch()
302 switch (((TypedConstant) cA).getBasicType()) { in simulateBranch()
520 resultConstant = simulateMath(insn, result.getBasicType()); in simulateStmt()
DEscapeAnalysis.java225 result.getTypeBearer().getBasicType() == Type.BT_OBJECT) { in processInsn()
230 result.getTypeBearer().getBasicType() == Type.BT_OBJECT) { in processInsn()
236 result.getTypeBearer().getBasicType() == Type.BT_OBJECT) { in processInsn()
420 if (putValue.getTypeBearer().getBasicType() != Type.BT_OBJECT) { in processUse()
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DTypeBearer.java50 public int getBasicType(); in getBasicType() method
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopToDop.java502 switch (resultReg.getBasicType()) { in dopFor()
525 int basicType = ref.getBasicType(); in dopFor()
538 int basicType = ref.getBasicType(); in dopFor()
551 int basicType = ref.getBasicType(); in dopFor()
564 int basicType = ref.getBasicType(); in dopFor()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRegisterSpec.java307 public final int getBasicType() { in getBasicType() method in RegisterSpec
308 return type.getBasicType(); in getBasicType()
DRops.java1682 switch (type.getBasicType()) { in opCmpl()
1699 switch (type.getBasicType()) { in opCmpg()
1784 switch (type.getBasicType()) { in opAget()
1807 switch (type.getBasicType()) { in opAput()
1833 switch (elementType.getBasicType()) { in opNewArray()
1892 switch (type.getBasicType()) { in opGetField()
1915 switch (type.getBasicType()) { in opPutField()
1938 switch (type.getBasicType()) { in opGetStatic()
1961 switch (type.getBasicType()) { in opPutStatic()
/external/llvm/unittests/IR/
DMetadataTest.cpp92 MDTypeRef getBasicType(StringRef Name) { in getBasicType() function in __anon68cdb3b90111::MetadataTest
99 getBasicType("basictype"), 1, 2, 0, 0) in getDerivedType()
968 MDTypeRef BaseType = getBasicType("basic"); in TEST_F()
1005 Scope, getBasicType("basic2"), 2, 3, 4, 5, ExtraData)); in TEST_F()
1029 MDTypeRef BaseType = getBasicType("basic"); in TEST_F()
1105 Context, Tag, Name, File, Line, Scope, getBasicType("other"), in TEST_F()
1685 MDTypeRef Type = getBasicType("basic"); in TEST_F()
1696 MDTemplateTypeParameter::get(Context, Name, getBasicType("other"))); in TEST_F()
1707 MDTypeRef Type = getBasicType("basic"); in TEST_F()
1723 getBasicType("other"), Value)); in TEST_F()
[all …]

12