Home
last modified time | relevance | path

Searched refs:varType (Results 1 – 25 of 38) 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/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp102 if(glu::isDataTypeFloatType(symIter->varType.getBasicType())) in packFloat16Bit()
104 if(glu::isDataTypeVector(symIter->varType.getBasicType())) in packFloat16Bit()
106 for(int i = 0; i < glu::getDataTypeScalarSize(symIter->varType.getBasicType()); i++) in packFloat16Bit()
111 else if (glu::isDataTypeMatrix(symIter->varType.getBasicType())) in packFloat16Bit()
115 switch (symIter->varType.getBasicType()) in packFloat16Bit()
184 …src << "layout(location = "<< location << ") in " << glu::declare(input->varType, inputPrefix + in… in generatePassthroughVertexShader()
185 …<< "layout(location = " << location - 1 << ") flat out " << glu::declare(input->varType, outputPre… in generatePassthroughVertexShader()
216 …src << "layout(location = " << locationNumber << ") in " << glu::declare(input->varType, inputPre… in generateVertexShader()
222 DE_ASSERT(output->varType.isBasicType()); in generateVertexShader()
224 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/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/compute/
DvktComputeShaderBuiltinVarTests.cpp129 const glu::DataType varType,
148 …Context& context, const string& name, const char* varName, glu::DataType varType, bool readByCompo…
160 …string genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localS…
175 …Context& context, const string& name, const char* varName, glu::DataType varType, bool readByCompo… in ComputeBuiltinVarCase() argument
178 , m_varType (varType) in ComputeBuiltinVarCase()
200 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, co… in genBuiltinVarSource() argument
218 << " " << glu::getDataTypeName(varType) << " result[];\n" in genBuiltinVarSource()
225 if (readByComponent && varType != glu::TYPE_UINT) { in genBuiltinVarSource()
226 switch(varType) in genBuiltinVarSource()
397 const glu::DataType varType, in ComputeBuiltinVarInstance() argument
[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.cpp264 , varType (varType_) in VariableDeclaration()
275 varType == other.varType && in operator ==()
343 str << declare(decl.varType, decl.name); in operator <<()
360 const VarType& type = decl.varType; in operator <<()
/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…
523 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
525 …*propID = k[index]; *varType = k7z_PROPID_To_VARTYPE[(unsigned)*propID]; *name = 0; return S_OK; …
542 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
545 *propID = (PROPID)prop.PropID; *varType = prop.vt; \
/external/lzma/CPP/7zip/Common/
DMethodProps.cpp293 static bool ConvertProperty(const PROPVARIANT &srcProp, VARTYPE varType, NCOM::CPropVariant &destPr… in ConvertProperty() argument
295 if (varType == srcProp.vt) in ConvertProperty()
301 if (varType == VT_UI8 && srcProp.vt == VT_UI4) in ConvertProperty()
307 if (varType == VT_BOOL) in ConvertProperty()
/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