Home
last modified time | relevance | path

Searched refs:varType (Results 1 – 25 of 56) sorted by relevance

123

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp59 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType)) in containsMatchingSubtype() argument
61 if (varType.isBasicType() && predicate(varType.getBasicType())) in containsMatchingSubtype()
64 if (varType.isArrayType()) in containsMatchingSubtype()
65 return containsMatchingSubtype(varType.getElementType(), predicate); in containsMatchingSubtype()
67 if (varType.isStructType()) in containsMatchingSubtype()
68 for (int memberNdx = 0; memberNdx < varType.getStructPtr()->getNumMembers(); ++memberNdx) in containsMatchingSubtype()
69 if (containsMatchingSubtype(varType.getStructPtr()->getMember(memberNdx).getType(), predicate)) in containsMatchingSubtype()
78 if (containsMatchingSubtype(decls[varNdx].varType, predicate)) in containsMatchingSubtype()
115 static bool isIllegalVertexInput (const glu::VarType& varType) in isIllegalVertexInput() argument
118 if (!varType.isBasicType()) in isIllegalVertexInput()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp326 collectNamedStructureDefinitions(namedStructs, defaultBlock.variables[ndx].varType); in writeStructureDefinitions()
330 …dStructureDefinitions(namedStructs, defaultBlock.interfaceBlocks[blockNdx].variables[ndx].varType); in writeStructureDefinitions()
395 const glu::VarType& varType) in writeVariableReadAccumulateExpression() argument
397 if (varType.isBasicType()) in writeVariableReadAccumulateExpression()
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()
[all …]
Des31fShaderIntegerFunctionTests.cpp224 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
232 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
244 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
298 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
304 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
371 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
425 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
467 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
Des31fShaderCommonFunctionTests.cpp300 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
308 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
320 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
440 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
446 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
524 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
525 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
536 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
537 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
606 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
Des31fComputeShaderBuiltinVarTests.cpp78 … ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType);
112 …::ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType) in ComputeBuiltinVarCase() argument
115 , m_varType (varType) in ComputeBuiltinVarCase()
136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) in genBuiltinVarSource() argument
145 << " " << glu::getDataTypeName(varType) << " result[];\n" in genBuiltinVarSource()
/external/deqp/modules/gles3/functional/
Des3fShaderIndexingTests.cpp138 …, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc e…
151 …, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc e… in ShaderIndexingCase() argument
154 m_varType = varType; in ShaderIndexingCase()
221 …ontext& context, const char* caseName, const char* description, DataType varType, IndexAccessType … in createVaryingArrayCase() argument
314 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType))); in createVaryingArrayCase()
318 if (varType == TYPE_FLOAT) in createVaryingArrayCase()
320 else if (varType == TYPE_FLOAT_VEC2) in createVaryingArrayCase()
322 else if (varType == TYPE_FLOAT_VEC3) in createVaryingArrayCase()
332 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType); in createVaryingArrayCase()
333 …return new ShaderIndexingCase(context, caseName, description, true, varType, evalFunc, vertexShade… in createVaryingArrayCase()
[all …]
Des3fShaderCommonFunctionTests.cpp226 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
234 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
246 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
366 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
372 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
458 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
528 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderIndexingTests.cpp145 …, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc e…
161 …, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc e… in ShaderIndexingCase() argument
165 m_varType = varType; in ShaderIndexingCase()
251 …ontext& context, const char* caseName, const char* description, DataType varType, IndexAccessType … in createVaryingArrayCase() argument
341 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType))); in createVaryingArrayCase()
345 if (varType == TYPE_FLOAT) in createVaryingArrayCase()
347 else if (varType == TYPE_FLOAT_VEC2) in createVaryingArrayCase()
349 else if (varType == TYPE_FLOAT_VEC3) in createVaryingArrayCase()
359 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType); in createVaryingArrayCase()
371 …return new ShaderIndexingCase(context, caseName, description, true, varType, evalFunc, requirement… in createVaryingArrayCase()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderIndexingTests.cpp152 IndexingTestUniformSetup (const DataType varType, bool usesArray) in IndexingTestUniformSetup() argument
153 : m_varType(varType) in IndexingTestUniformSetup()
224 const DataType varType,
240 const DataType varType, in ShaderIndexingCase() argument
242 … name, description, isVertexCase, evalFunc, new IndexingTestUniformSetup(varType, usesArray), DE_N… in ShaderIndexingCase()
257 DataType varType, in createVaryingArrayCase() argument
362 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType))); in createVaryingArrayCase()
366 if (varType == TYPE_FLOAT) in createVaryingArrayCase()
368 else if (varType == TYPE_FLOAT_VEC2) in createVaryingArrayCase()
370 else if (varType == TYPE_FLOAT_VEC3) in createVaryingArrayCase()
[all …]
/external/deqp/modules/glshared/
DglsRandomShaderProgram.cpp34 static rr::GenericVecType mapToGenericVecType (const rsg::VariableType& varType) in mapToGenericVecType() argument
36 if (varType.isFloatOrVec()) in mapToGenericVecType()
38 else if (varType.isIntOrVec()) in mapToGenericVecType()
47 static glu::DataType mapToBasicType (const rsg::VariableType& varType) in mapToBasicType() argument
49 if (varType.isFloatOrVec() || varType.isIntOrVec() || varType.isBoolOrVec()) in mapToBasicType()
51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT : in mapToBasicType()
52 varType.isIntOrVec() ? glu::TYPE_INT : in mapToBasicType()
53 varType.isBoolOrVec() ? glu::TYPE_BOOL : glu::TYPE_LAST; in mapToBasicType()
54 const int numComps = varType.getNumElements(); in mapToBasicType()
59 else if (varType.getBaseType() == rsg::VariableType::TYPE_SAMPLER_2D) in mapToBasicType()
[all …]
DglsShaderExecUtil.cpp111 src << in << " " << glu::declare(input->varType, inputPrefix + input->name) << ";\n"; in generateVertexShader()
115 DE_ASSERT(output->varType.isBasicType()); in generateVertexShader()
117 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
119 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
126 …src << "flat " << out << " " << glu::declare(output->varType, outputPrefix + output->name) << ";\n… in generateVertexShader()
137 …src << "\t" << glu::declare(input->varType, input->name) << " = " << inputPrefix << input->name <<… in generateVertexShader()
141 src << "\t" << glu::declare(output->varType, output->name) << ";\n"; in generateVertexShader()
155 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
157 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
190 src << "flat in " << glu::declare(input->varType, inputPrefix + input->name) << "[];\n"; in generateGeometryShader()
[all …]
DglsShaderExecUtil.hpp51 glu::VarType varType; //!< Symbol type. member
54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {} in Symbol()
/external/javassist/src/main/javassist/compiler/ast/
DDeclarator.java25 protected int varType; field in Declarator
32 varType = type; in Declarator()
40 varType = CLASS; in Declarator()
51 varType = type; in Declarator()
60 Declarator d = new Declarator(this.varType, this.arrayDim + dim); in make()
70 public int getType() { return varType; } in getType()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp243 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
251 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
263 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
560 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
566 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
610 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
611 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
622 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
623 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
707 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
DvktShaderIntegerFunctionTests.cpp164 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
172 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
184 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
437 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
443 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
474 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
475 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
528 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
585 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
DvktShaderExecutor.cpp113 …src << "layout(location = "<< location << ") in " << glu::declare(input->varType, inputPrefix + in… in generatePassthroughVertexShader()
114 …<< "layout(location = " << location - 1 << ") flat out " << glu::declare(input->varType, outputPre… in generatePassthroughVertexShader()
144 …src << "layout(location = " << locationNumber << ") in " << glu::declare(input->varType, inputPre… in generateVertexShader()
149 DE_ASSERT(output->varType.isBasicType()); in generateVertexShader()
151 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
153 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
160 …src << "layout(location = " << locationNumber << ") flat out " << glu::declare(output->varType, ou… in generateVertexShader()
171 …src << "\t" << glu::declare(input->varType, input->name) << " = " << inputPrefix << input->name <<… in generateVertexShader()
175 src << "\t" << glu::declare(output->varType, output->name) << ";\n"; in generateVertexShader()
189 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
[all …]
/external/deqp/framework/opengl/
DgluVarType.hpp266 VarType varType; member
312 …DeclareVariable (const VarType& varType_, const std::string& name_, int indentLevel_) : varType(va… in DeclareVariable()
314 VarType varType; member
329 …e declare (const VarType& varType, const std::string& name, int indentLevel = 0) { return decl:… in declare() argument
DgluVarType.cpp263 , varType (varType_) in VariableDeclaration()
274 varType == other.varType && in operator ==()
342 str << declare(decl.varType, decl.name); in operator <<()
359 const VarType& type = decl.varType; in operator <<()
/external/opencv3/modules/ml/src/
Ddata.cpp155 Mat getVarType() const { return varType; } in getVarType()
215 varType.release(); in clear()
244 varType = _varType.getMat(); in setData()
303 if( !varType.empty() ) in setData()
305 CV_Assert( varType.checkVector(1, CV_8U, true) == nvars && in setData()
306 checkRange(varType, true, 0, VAR_ORDERED, VAR_CATEGORICAL+1) ); in setData()
310 varType.create(1, nvars, CV_8U); in setData()
311 varType = Scalar::all(VAR_ORDERED); in setData()
313varType.at<uchar>(ninputvars) = (uchar)(responses.type() < CV_32F ? VAR_CATEGORICAL : VAR_ORDERED); in setData()
319 CV_Assert( varType.at<uchar>(ninputvars + i) == VAR_ORDERED ); in setData()
[all …]
Dtree.cpp124 varType.clear(); in clear()
143 vtype.copyTo(varType); in startTraining()
207 int nallvars = (int)varType.size(); in initCompVarIdx()
427 if( varType[vi] == VAR_CATEGORICAL ) in findBestSplit()
1370 nvars = (int)varType.size(); in predictTrees()
1377 const uchar* vtype = &varType[0]; in predictTrees()
1552 fs << "var_all" << (int)varType.size(); in writeParams()
1556 int i, n = (int)varType.size(); in writeParams()
1558 if( varType[i] == VAR_ORDERED ) in writeParams()
1576 fs << "var_type" << varType; in writeParams()
[all …]
Dprecomp.hpp296 int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); } in getVarCount()
351 vector<uchar> varType; member in cv::ml::DTreesImpl
/external/lzma/CPP/7zip/Archive/
DIArchive.h203 …STDMETHOD(GetPropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_NO_THROW…
205 …STDMETHOD(GetArchivePropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_N…
405 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
407 …*propID = k[index]; *varType = k7z_PROPID_To_VARTYPE[(unsigned)*propID]; *name = 0; return S_OK; …
410 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
413 *propID = srcItem.propid; *varType = srcItem.vt; \
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp127 const glu::DataType varType,
146 …nVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::DataType varType);
158 …string genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localS…
172 …inVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::DataType varType) in ComputeBuiltinVarCase() argument
175 , m_varType (varType) in ComputeBuiltinVarCase()
196 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, co… in genBuiltinVarSource() argument
208 << " " << glu::getDataTypeName(varType) << " result[];\n" in genBuiltinVarSource()
367 const glu::DataType varType, in ComputeBuiltinVarInstance() argument
377 , m_varType (varType) in ComputeBuiltinVarInstance()
/external/opencv3/apps/traincascade/
Dold_ml.hpp656 const CvMat* sampleIdx=0, const CvMat* varType=0,
664 const CvMat* sampleIdx=0, const CvMat* varType=0,
776 const CvMat* sampleIdx=0, const CvMat* varType=0,
792 const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(),
884 const CvMat* sampleIdx=0, const CvMat* varType=0,
925 const CvMat* sampleIdx=0, const CvMat* varType=0,
935 const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(),
988 const CvMat* sampleIdx=0, const CvMat* varType=0,
1026 const CvMat* sampleIdx=0, const CvMat* varType=0,
1031 const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(),
[all …]
/external/opencv3/modules/ml/
Dprecomp.hpp296 int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); } in getVarCount()
351 vector<uchar> varType; member in cv::ml::DTreesImpl

123