Home
last modified time | relevance | path

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

/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DType.java247 private final int basicType; field in Type
429 private Type(String descriptor, int basicType, int newAt) { in Type() argument
434 if ((basicType < 0) || (basicType >= BT_COUNT)) { in Type()
443 this.basicType = basicType; in Type()
459 private Type(String descriptor, int basicType) { in Type() argument
460 this(descriptor, basicType, -1); in Type()
500 switch (basicType) { in toHuman()
529 switch (basicType) { in getFrameType()
544 return basicType; in getBasicType()
549 switch (basicType) { in getBasicFrameType()
[all …]
/external/deqp/framework/opengl/
DgluVarTypeUtil.hpp294 DataType basicType = curType.getBasicType(); in findNext() local
296 if (isDataTypeMatrix(basicType)) in findNext()
298 else if (isDataTypeVector(basicType)) in findNext()
349 DataType basicType = curType->getBasicType(); in isValidTypePath() local
353 if (!isDataTypeMatrix(basicType)) in isValidTypePath()
356 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in isValidTypePath()
362 if (!isDataTypeVector(basicType)) in isValidTypePath()
365 basicType = getDataTypeScalarType(basicType); in isValidTypePath()
396 DataType basicType = curType->getBasicType(); in getVarType() local
401 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in getVarType()
[all …]
DgluVarType.cpp42 VarType::VarType (DataType basicType, Precision precision) in VarType() argument
45 m_data.basic.type = basicType; in VarType()
DgluVarType.hpp53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
/external/mesa3d/src/mesa/main/
Duniform_query.cpp385 log_uniform(const void *values, enum glsl_base_type basicType, in log_uniform() argument
405 switch (basicType) { in log_uniform()
583 enum glsl_base_type basicType; in _mesa_uniform() local
598 basicType = GLSL_TYPE_FLOAT; in _mesa_uniform()
602 basicType = GLSL_TYPE_FLOAT; in _mesa_uniform()
606 basicType = GLSL_TYPE_FLOAT; in _mesa_uniform()
610 basicType = GLSL_TYPE_FLOAT; in _mesa_uniform()
614 basicType = GLSL_TYPE_UINT; in _mesa_uniform()
618 basicType = GLSL_TYPE_UINT; in _mesa_uniform()
622 basicType = GLSL_TYPE_UINT; in _mesa_uniform()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderSharedVarTests.cpp74 …SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, …
92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVe… in getBasicCaseDescription() argument
97 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize; in getBasicCaseDescription()
101 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Pre… in SharedBasicVarCase() argument
102 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()) in SharedBasicVarCase()
103 , m_basicType (basicType) in SharedBasicVarCase()
368 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++) in init() local
370 if (glu::isDataTypeBoolOrBVec(DataType(basicType))) in init()
373 …d(new SharedBasicVarCase(m_context, getDataTypeName(DataType(basicType)), DataType(basicType), PRE… in init()
380 …const string name = string(getDataTypeName(DataType(basicType))) + "_" + getPrecisionName(Preci… in init()
[all …]
Des31fSSBOLayoutCase.cpp377 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
379 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
382 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
383 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
389 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
418 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local
420 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
423 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
424 : glu::getDataTypeMatrixNumRows(basicType); in computeStd430BaseAlignment()
430 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment()
[all …]
Des31fSeparateShaderTests.cpp204 const DataType basicType = input.varType.getBasicType(); in printInputColor() local
207 switch (getDataTypeScalarType(basicType)) in printInputColor()
215 DataType floatType = getDataTypeFloatScalars(basicType); in printInputColor()
224 if (isDataTypeScalarOrVector(basicType)) in printInputColor()
226 switch (getDataTypeScalarSize(basicType)) in printInputColor()
244 else if (isDataTypeMatrix(basicType)) in printInputColor()
246 int rows = getDataTypeMatrixNumRows(basicType); in printInputColor()
247 int columns = getDataTypeMatrixNumColumns(basicType); in printInputColor()
Des31fShaderIntegerFunctionTests.cpp81 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() local
82 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<()
83 const int numComponents = glu::getDataTypeScalarSize(basicType); in operator <<()
86 str << glu::getDataTypeName(basicType) << "("; in operator <<()
Des31fProgramInterfaceDefinitionUtil.cpp818 static bool containsSubType (const glu::VarType& complexType, glu::DataType basicType) in containsSubType() argument
822 return complexType.getBasicType() == basicType; in containsSubType()
826 return containsSubType(complexType.getElementType(), basicType); in containsSubType()
831 if (containsSubType(complexType.getStructPtr()->getMember(ndx).getType(), basicType)) in containsSubType()
Des31fShaderCommonFunctionTests.cpp367 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() local
368 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<()
369 const int numComponents = glu::getDataTypeScalarSize(basicType); in operator <<()
372 str << glu::getDataTypeName(basicType) << "("; in operator <<()
Des31fProgramUniformTests.cpp239 const glu::DataType basicType = type.getBasicType(); in getDistinctSamplerTypes() local
240 …if (glu::isDataTypeSampler(basicType) && std::find(dst.begin(), dst.end(), basicType) == dst.end()) in getDistinctSamplerTypes()
241 dst.push_back(basicType); in getDistinctSamplerTypes()
Des31fProgramInterfaceQueryTests.cpp557 …const glu::DataType basicType = static_cast<const ResourceDefinition::Variable*>(resource… in generateProgramDefinitionFromResource() local
559 …::VariableDeclaration variable (glu::VarType(basicType, getDataTypeDefaultPrecision(basicTy… in generateProgramDefinitionFromResource()
566 if (glu::isDataTypeImage(basicType)) in generateProgramDefinitionFromResource()
571 if (basicType >= glu::TYPE_IMAGE_2D && basicType <= glu::TYPE_IMAGE_3D) in generateProgramDefinitionFromResource()
573 else if (basicType >= glu::TYPE_INT_IMAGE_2D && basicType <= glu::TYPE_INT_IMAGE_3D) in generateProgramDefinitionFromResource()
575 else if (basicType >= glu::TYPE_UINT_IMAGE_2D && basicType <= glu::TYPE_UINT_IMAGE_3D) in generateProgramDefinitionFromResource()
582 if (basicType == glu::TYPE_UINT_ATOMIC_COUNTER) in generateProgramDefinitionFromResource()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp496 const glu::DataType basicType = symbol.varType.getBasicType(); in execute() local
497 const int vecSize = glu::getDataTypeScalarSize(basicType); in execute()
499 if (glu::isDataTypeFloatOrVec(basicType)) in execute()
501 else if (glu::isDataTypeIntOrIVec(basicType)) in execute()
503 else if (glu::isDataTypeUintOrUVec(basicType)) in execute()
505 else if (glu::isDataTypeMatrix(basicType)) in execute()
507 int numRows = glu::getDataTypeMatrixNumRows(basicType); in execute()
508 int numCols = glu::getDataTypeMatrixNumColumns(basicType); in execute()
686 const glu::DataType basicType = outputType.getBasicType(); in getRenderbufferFormatForOutput() local
687 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput()
[all …]
DglsUniformBlockCase.cpp128 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() argument
132 m_data.basicType = basicType; in VarType()
420 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
422 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
425 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
426 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
431 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
474 glu::DataType basicType = type.getBasicType(); in computeStd140Layout() local
478 entry.type = basicType; in computeStd140Layout()
484 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout()
[all …]
DglsUniformBlockCase.hpp76 VarType (glu::DataType basicType, deUint32 flags);
86 glu::DataType getBasicType (void) const { return m_data.basicType; } in getBasicType()
109 glu::DataType basicType; member
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopToDop.java525 int basicType = ref.getBasicType(); in dopFor() local
526 switch (basicType) { in dopFor()
538 int basicType = ref.getBasicType(); in dopFor() local
539 switch (basicType) { in dopFor()
551 int basicType = ref.getBasicType(); in dopFor() local
552 switch (basicType) { in dopFor()
564 int basicType = ref.getBasicType(); in dopFor() local
565 switch (basicType) { in dopFor()
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp175 const glu::DataType basicType = type.getBasicType(); in getDistinctSamplerTypes() local
176 …if (glu::isDataTypeSampler(basicType) && std::find(dst.begin(), dst.end(), basicType) == dst.end()) in getDistinctSamplerTypes()
177 dst.push_back(basicType); in getDistinctSamplerTypes()
225 …const glu::DataType basicType = (glu::DataType)s_testDataTypes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(s… in generateRandomType() local
226 …const glu::Precision precision = glu::isDataTypeBoolOrBVec(basicType) ? glu::PRECISION_LAST : glu:… in generateRandomType()
227 …return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType… in generateRandomType()
/external/deqp/modules/gles3/functional/
Des3fUniformApiTests.cpp235 const glu::DataType basicType = type.getBasicType(); in getDistinctSamplerTypes() local
236 …if (glu::isDataTypeSampler(basicType) && std::find(dst.begin(), dst.end(), basicType) == dst.end()) in getDistinctSamplerTypes()
237 dst.push_back(basicType); in getDistinctSamplerTypes()
285 …const glu::DataType basicType = (glu::DataType)s_testDataTypes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(s… in generateRandomType() local
286 …const glu::Precision precision = glu::isDataTypeBoolOrBVec(basicType) ? glu::PRECISION_LAST : glu:… in generateRandomType()
287 …return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType… in generateRandomType()
Des3fShaderCommonFunctionTests.cpp294 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() local
295 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<()
296 const int numComponents = glu::getDataTypeScalarSize(basicType); in operator <<()
299 str << glu::getDataTypeName(basicType) << "("; in operator <<()
Des3fFragmentOutputTests.cpp1055 …glu::DataType basicType = rnd.choose<glu::DataType>(&outputTypes[0], &outputTypes[0] + DE_LENGTH_… in createRandomCase() local
1059 outputs.push_back(FragmentOutput(basicType, precision, curLoc, arrayLen)); in createRandomCase()
1062 outTypes.push_back(basicType); in createRandomCase()