/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinition.cpp | 61 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()
|
D | es31fShaderIntegerFunctionTests.cpp | 81 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 …]
|
D | es31fShaderCommonFunctionTests.cpp | 368 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 524 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 536 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 606 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 629 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 706 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 736 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 818 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 827 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 881 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 401 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 …]
|
D | es31fProgramInterfaceQueryTestCase.cpp | 115 …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 …]
|
D | es31fSSBOLayoutCase.cpp | 377 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 …]
|
/external/deqp/framework/opengl/ |
D | gluVarTypeUtil.hpp | 189 …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()
|
D | gluVarTypeUtil.cpp | 140 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/ |
D | glsShaderExecUtil.cpp | 117 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader() 119 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() 155 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader() 157 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() 196 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader() 198 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader() 235 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader() 237 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader() 311 if (useIntOutputs && glu::isDataTypeFloatOrVec(output.varType.getBasicType())) in generateFragShaderOutputDecl() 313 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()); in generateFragShaderOutputDecl() [all …]
|
D | glsShaderLibraryCase.cpp | 154 const DataType basicType = val.type.getBasicType(); in genVertexShader() 178 if (getDataTypeScalarType(val.type.getBasicType()) == TYPE_FLOAT) in genVertexShader() 210 if (getDataTypeScalarType(val.type.getBasicType()) == TYPE_FLOAT) in genCompareOp() 254 const DataType basicType = val.type.getBasicType(); in genFragmentShader() 300 const DataType basicType = val.type.getBasicType(); in specializeVertexShader() 321 const DataType basicType = val.type.getBasicType(); in specializeVertexShader() 375 const DataType basicType = val.type.getBasicType(); in specializeFragmentShader() 395 const DataType basicType = val.type.getBasicType(); in specializeFragmentShader() 423 const char* const typeStr = getDataTypeName(val.type.getBasicType()); in generateUniformDeclarations() 443 const DataType basicType = val.type.getBasicType(); in generateVertexSpecialization() [all …]
|
D | glsUniformBlockCase.cpp | 420 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/ |
D | TypedConstant.java | 36 public final int getBasicType() { in getBasicType() method in TypedConstant 37 return getType().getBasicType(); in getBasicType()
|
D | Zeroes.java | 39 switch (type.getBasicType()) { in zeroFor()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 294 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 …]
|
D | es3fTransformFeedbackTests.cpp | 395 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())*(int)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/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 83 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 474 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 528 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 585 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 637 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 694 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 744 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 799 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 850 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 905 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 311 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 610 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 622 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 707 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 730 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 822 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 852 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 948 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 957 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 1022 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() [all …]
|
D | vktShaderExecutor.cpp | 151 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader() 153 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() 189 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader() 191 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() 222 if (useIntOutputs && glu::isDataTypeFloatOrVec(output.varType.getBasicType())) in generateFragShaderOutputDecl() 224 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()); in generateFragShaderOutputDecl() 231 else if (glu::isDataTypeBoolOrBVec(output.varType.getBasicType())) in generateFragShaderOutputDecl() 233 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()); in generateFragShaderOutputDecl() 240 else if (glu::isDataTypeMatrix(output.varType.getBasicType())) in generateFragShaderOutputDecl() 242 const int vecSize = glu::getDataTypeMatrixNumRows(output.varType.getBasicType()); in generateFragShaderOutputDecl() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
D | PhiTypeResolver.java | 74 && (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()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 169 const DataType valueType = val.type.getBasicType(); in genVertexShader() 193 res << " " << (getTransportType(val.type.getBasicType()) != val.type.getBasicType() ? "v_" : "") in genVertexShader() 223 if (getDataTypeScalarType(val.type.getBasicType()) == glu::TYPE_FLOAT) in genCompareOp() 257 const DataType valueType = val.type.getBasicType(); in genFragmentShader() 308 const DataType valueType = val.type.getBasicType(); in specializeVertexShader() 332 const DataType valueType = val.type.getBasicType(); in specializeVertexShader() 386 const DataType valueType = val.type.getBasicType(); in specializeFragmentShader() 411 const DataType basicType = val.type.getBasicType(); in specializeFragmentShader() 444 const DataType valueType = val.type.getBasicType(); in generateVertexSpecialization() 486 const char* const refTypeStr = getDataTypeName(val.type.getBasicType()); in generateFragmentSpecialization() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
D | TypeBearer.java | 50 public int getBasicType(); in getBasicType() method
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
D | RopToDop.java | 502 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/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 292 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() 333 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() 397 const glu::DataType basicType = type.getBasicType(); in computeReferenceLayout() 436 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 439 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout() 457 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 460 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout() 521 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 524 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout() 543 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 366 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() 420 glu::DataType basicType = type.getBasicType(); in computeStd140Layout() 460 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout() 463 glu::DataType elemBasicType = elemType.getBasicType(); in computeStd140Layout() 479 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout() 482 glu::DataType elemBasicType = elemType.getBasicType(); in computeStd140Layout() 709 basicTypes.insert(type.getBasicType()); in collectUniqueBasicTypes() 805 src << glu::getDataTypeName(type.getBasicType()) << " " << name; in generateDeclaration() 820 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration() 960 …u::DataType elementType = isArray ? type.getElementType().getBasicType() : type.getBasicType(); in generateCompareSrc()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
D | RegisterSpec.java | 307 public final int getBasicType() { in getBasicType() method in RegisterSpec 308 return type.getBasicType(); in getBasicType()
|