Home
last modified time | relevance | path

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

12

/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()
Des31fProgramUniformTests.cpp916 const glu::VarType& varType,
990 …ctor<BasicUniformReportRef>& basicUniformReportsDst, const glu::VarType& varType, const char* cons… in generateBasicUniforms() argument
992 if (varType.isBasicType()) in generateBasicUniforms()
995 const glu::DataType type = varType.getBasicType(); in generateBasicUniforms()
997 : generateRandomVarValue(varType.getBasicType(), rnd); in generateBasicUniforms()
999 basicUniformsDst.push_back(BasicUniform(varName, varType.getBasicType(), isActive, value)); in generateBasicUniforms()
1000 …basicUniformReportsDst.push_back(BasicUniformReportRef(varName, varType.getBasicType(), isActive)); in generateBasicUniforms()
1002 else if (varType.isArrayType()) in generateBasicUniforms()
1004 const int size = varType.getArraySize(); in generateBasicUniforms()
1008 for (int elemNdx = 0; elemNdx < varType.getArraySize(); elemNdx++) in generateBasicUniforms()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderIndexingTests.cpp139 …, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc e…
152 …, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc e… in ShaderIndexingCase() argument
155 m_varType = varType; in ShaderIndexingCase()
222 …ontext& context, const char* caseName, const char* description, DataType varType, IndexAccessType … in createVaryingArrayCase() argument
315 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType))); in createVaryingArrayCase()
319 if (varType == TYPE_FLOAT) in createVaryingArrayCase()
321 else if (varType == TYPE_FLOAT_VEC2) in createVaryingArrayCase()
323 else if (varType == TYPE_FLOAT_VEC3) in createVaryingArrayCase()
333 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType); in createVaryingArrayCase()
334 …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/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/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/openglcts/modules/common/
DglcShaderIndexingTests.cpp157 …e(Context& context, const char* name, const char* description, bool isVertexCase, DataType varType,
172 DataType varType, ShaderEvalFunc evalFunc, const char* vertShaderSource, in ShaderIndexingCase() argument
177 m_varType = varType; in ShaderIndexingCase()
245 glu::GLSLVersion glslVersion, DataType varType, in createVaryingArrayCase() argument
342 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType))); in createVaryingArrayCase()
346 if (varType == TYPE_FLOAT) in createVaryingArrayCase()
348 else if (varType == TYPE_FLOAT_VEC2) in createVaryingArrayCase()
350 else if (varType == TYPE_FLOAT_VEC3) in createVaryingArrayCase()
360 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType); in createVaryingArrayCase()
361 …return new ShaderIndexingCase(context, caseName, description, true, varType, evalFunc, vertexShade… in createVaryingArrayCase()
[all …]
/external/deqp/modules/glshared/
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 …]
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.hpp51 glu::VarType varType; //!< Symbol type. member
54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {} in Symbol()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/
DVarTypeTest.java30 VarType varType = ast.findFirst(VarType.class).get(); in resolveAPrimitive() local
32 ResolvedType resolvedType = varType.resolve(); in resolveAPrimitive()
40 VarType varType = ast.findFirst(VarType.class).get(); in resolveAReferenceType() local
42 ResolvedType resolvedType = varType.resolve(); in resolveAReferenceType()
50 VarType varType = ast.findFirst(VarType.class).get(); in failResolveNoInitializer() local
52 varType.resolve(); in failResolveNoInitializer()
58 VarType varType = ast.findFirst(VarType.class).get(); in failResolveWrongLocation() local
60 varType.resolve(); in failResolveWrongLocation()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp106 …src << "layout(location = "<< location << ") in " << glu::declare(input->varType, inputPrefix + in… in generatePassthroughVertexShader()
107 …<< "layout(location = " << location - 1 << ") flat out " << glu::declare(input->varType, outputPre… in generatePassthroughVertexShader()
137 …src << "layout(location = " << locationNumber << ") in " << glu::declare(input->varType, inputPre… in generateVertexShader()
142 DE_ASSERT(output->varType.isBasicType()); in generateVertexShader()
144 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
146 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
153 …src << "layout(location = " << locationNumber << ") flat out " << glu::declare(output->varType, ou… in generateVertexShader()
164 …src << "\t" << glu::declare(input->varType, input->name) << " = " << inputPrefix << input->name <<… in generateVertexShader()
168 src << "\t" << glu::declare(output->varType, output->name) << ";\n"; in generateVertexShader()
182 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
[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()
425 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
431 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
462 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
463 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
516 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
517 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
572 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
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()
549 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
555 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
599 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
600 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
611 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
612 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
695 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
DvktShaderExecutor.hpp44 glu::VarType varType; //!< Symbol type. member
47 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/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/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/lzma/CPP/7zip/Archive/
DIArchive.h273 …STDMETHOD(GetPropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_NO_THROW…
275 …STDMETHOD(GetArchivePropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_N…
513 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
515 …*propID = k[index]; *varType = k7z_PROPID_To_VARTYPE[(unsigned)*propID]; *name = 0; return S_OK; …
532 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
535 *propID = (PROPID)prop.PropID; *varType = prop.vt; \
/external/lzma/CPP/7zip/Archive/7z/
D7zProperties.cpp149 STDMETHODIMP CHandler::GetPropertyInfo(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) in GetPropertyInfo() argument
161 *varType = st.vt; in GetPropertyInfo()

12