HomeSort by relevance Sort by last modified time
    Searched refs:varType (Results 1 - 25 of 44) sorted by null

1 2

  /external/deqp/modules/gles31/functional/
es31fProgramInterfaceDefinition.cpp 59 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType))
61 if (varType.isBasicType() && predicate(varType.getBasicType()))
64 if (varType.isArrayType())
65 return containsMatchingSubtype(varType.getElementType(), predicate);
67 if (varType.isStructType())
68 for (int memberNdx = 0; memberNdx < varType.getStructPtr()->getNumMembers(); ++memberNdx)
69 if (containsMatchingSubtype(varType.getStructPtr()->getMember(memberNdx).getType(), predicate))
78 if (containsMatchingSubtype(decls[varNdx].varType, predicate)
    [all...]
es31fShaderCommonFunctionTests.cpp 299 sizes[ndx] = symbols[ndx].varType.getScalarSize();
307 totalSize += sym->varType.getScalarSize();
319 const int scalarSize = var.varType.getScalarSize();
357 const glu::VarType& type;
360 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {}
439 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
445 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
502 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
503 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
523 const glu::DataType type = m_spec.inputs[0].varType.getBasicType()
    [all...]
es31fProgramInterfaceDefinitionUtil.cpp 170 void generateVariableTypeResourceNames (std::vector<std::string>& resources, const std::string& name, const glu::VarType& type, deUint32 resourceNameGenerationFlags)
288 static void collectNamedStructureDefinitions (std::vector<const glu::StructType*>& dst, const glu::VarType& type)
326 collectNamedStructureDefinitions(namedStructs, defaultBlock.variables[ndx].varType);
330 collectNamedStructureDefinitions(namedStructs, defaultBlock.interfaceBlocks[blockNdx].variables[ndx].varType);
395 const glu::VarType& varType)
397 if (varType.isBasicType())
401 if (glu::isDataTypeScalar(varType.getBasicType()))
403 else if (glu::isDataTypeVector(varType.getBasicType()))
405 else if (glu::isDataTypeMatrix(varType.getBasicType())
    [all...]
es31fShaderIntegerFunctionTests.cpp 71 const glu::VarType& type;
74 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {}
224 sizes[ndx] = symbols[ndx].varType.getScalarSize();
232 totalSize += sym->varType.getScalarSize();
244 const int scalarSize = var.varType.getScalarSize();
298 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
304 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision)))
    [all...]
es31fComputeShaderBuiltinVarTests.cpp 78 ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType);
112 ComputeBuiltinVarCase::ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType)
115 , m_varType (varType)
136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize)
145 << " " << glu::getDataTypeName(varType) << " result[];\n"
es31fProgramUniformTests.cpp 218 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predicate)
235 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type)
254 static int getNumSamplersInType (const glu::VarType& type)
309 glu::VarType type;
311 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {}
379 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)));
387 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3)));
398 structType->addMember("m0", glu::VarType(type0, prec0));
399 structType->addMember("m1", glu::VarType(type1, prec1))
    [all...]
es31fSeparateShaderTests.cpp 91 using glu::VarType;
204 const DataType basicType = input.varType.getBasicType();
349 const VarType varType (type, PRECISION_HIGHP);
358 VariableDeclaration(varType, vtxName, STORAGE_OUT, getGluInterpolation(vtxCompatInterp), loc));
360 VariableDeclaration(varType, frgName, STORAGE_IN, getGluInterpolation(frgInterp), loc));
399 const VarType varType (TYPE_FLOAT, PRECISION_HIGHP);
402 oss << VariableDeclaration(varType, varName, STORAGE_UNIFORM) << ";\n";
404 oss << VariableDeclaration(varType, varName, STORAGE_CONST
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/shader/
Uniform.java 59 protected VarType varType;
73 oc.write(varType, "varType", null);
75 switch (varType){
120 varType = ic.readEnum("varType", VarType.class, null);
122 switch (varType){
167 if (varType != null)
    [all...]
  /external/javassist/src/main/javassist/compiler/ast/
Declarator.java 25 protected int varType;
32 varType = type;
40 varType = CLASS;
51 varType = type;
60 Declarator d = new Declarator(this.varType, this.arrayDim + dim);
70 public int getType() { return varType; }
  /external/deqp/modules/gles3/functional/
es3fShaderIndexingTests.cpp 138 ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource);
151 ShaderIndexingCase::ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource)
154 m_varType = varType;
221 static ShaderIndexingCase* createVaryingArrayCase (Context& context, const char* caseName, const char* description, DataType varType, IndexAccessType vertAccess, IndexAccessType fragAccess)
314 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType)));
318 if (varType == TYPE_FLOAT)
320 else if (varType == TYPE_FLOAT_VEC2)
322 else if (varType == TYPE_FLOAT_VEC3)
332 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType);
333 return new ShaderIndexingCase(context, caseName, description, true, varType, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str())
    [all...]
es3fShaderCommonFunctionTests.cpp 226 sizes[ndx] = symbols[ndx].varType.getScalarSize();
234 totalSize += sym->varType.getScalarSize();
246 const int scalarSize = var.varType.getScalarSize();
284 const glu::VarType& type;
287 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {}
366 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
372 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
426 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType()
    [all...]
es3fUniformApiTests.cpp 214 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predicate)
231 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type)
250 static int getNumSamplersInType (const glu::VarType& type)
267 static glu::VarType generateRandomType (const int maxDepth, int& curStructIdx, vector<const StructType*>& structTypesDst, Random& rnd)
281 return isArray ? glu::VarType(glu::VarType(structType), rnd.getInt(1, 5)) : glu::VarType(structType);
287 return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType(basicType, precision)
    [all...]
  /external/deqp/modules/gles2/functional/
es2fShaderIndexingTests.cpp 145 ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, deUint32 requirements, const char* vertShaderSource, const char* fragShaderSource);
161 ShaderIndexingCase::ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, deUint32 requirements, const char* vertShaderSource, const char* fragShaderSource)
165 m_varType = varType;
251 static ShaderIndexingCase* createVaryingArrayCase (Context& context, const char* caseName, const char* description, DataType varType, IndexAccessType vertAccess, IndexAccessType fragAccess)
341 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType)));
345 if (varType == TYPE_FLOAT)
347 else if (varType == TYPE_FLOAT_VEC2)
349 else if (varType == TYPE_FLOAT_VEC3)
359 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType);
371 return new ShaderIndexingCase(context, caseName, description, true, varType, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str())
    [all...]
es2fUniformApiTests.cpp 154 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predicate)
171 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type)
190 static int getNumSamplersInType (const glu::VarType& type)
207 static glu::VarType generateRandomType (const int maxDepth, int& curStructIdx, vector<const StructType*>& structTypesDst, Random& rnd)
221 return isArray ? glu::VarType(glu::VarType(structType), rnd.getInt(1, 5)) : glu::VarType(structType);
227 return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType(basicType, precision)
    [all...]
  /external/deqp/modules/glshared/
glsRandomShaderProgram.cpp 34 static rr::GenericVecType mapToGenericVecType (const rsg::VariableType& varType)
36 if (varType.isFloatOrVec())
38 else if (varType.isIntOrVec())
47 static glu::DataType mapToBasicType (const rsg::VariableType& varType)
49 if (varType.isFloatOrVec() || varType.isIntOrVec() || varType.isBoolOrVec())
51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT :
52 varType.isIntOrVec() ? glu::TYPE_INT :
53 varType.isBoolOrVec() ? glu::TYPE_BOOL : glu::TYPE_LAST
    [all...]
glsShaderExecUtil.cpp 107 src << in << " " << glu::declare(input->varType, input->name) << ";\n";
111 DE_ASSERT(output->varType.isBasicType());
113 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
115 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
117 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP);
122 src << "flat " << out << " " << glu::declare(output->varType, output->name) << ";\n";
134 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
135 src << "\t" << glu::declare(output->varType, output->name) << ";\n";
150 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
152 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType())
    [all...]
glsShaderExecUtil.hpp 51 glu::VarType varType; //!< Symbol type.
54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {}
  /external/lzma/CPP/7zip/Archive/
IArchive.h 132 STDMETHOD(GetPropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) x; \
134 STDMETHOD(GetArchivePropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) x;
190 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
193 *propID = srcItem.propid; *varType = srcItem.vt; *name = 0; return S_OK; } \
196 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
199 *propID = srcItem.propid; *varType = srcItem.vt; \
    [all...]
  /external/deqp/framework/opengl/
gluVarType.hpp 47 class VarType
50 VarType (void);
51 VarType (const VarType& other);
53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
54 VarType (const VarType& elementType, int arraySize); //!< Array type constructor.
55 explicit VarType (const StructType* structPtr); //!< Struct type constructor.
56 ~VarType (void);
65 const VarType& getElementType (void) const { DE_ASSERT(isArrayType()); return *m_data.array.elementType;
    [all...]
gluVarType.cpp 31 VarType::VarType (void)
36 VarType::VarType (const VarType& other)
42 VarType::VarType (DataType basicType, Precision precision)
49 VarType::VarType (const VarType& elementType, int arraySize
    [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zProperties.cpp 150 STDMETHODIMP CHandler::GetPropertyInfo(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType)
159 *varType = srcItem.vt;
  /external/lzma/CPP/7zip/Archive/Common/
HandlerOut.cpp 108 VARTYPE VarType;
133 static bool ConvertProperty(PROPVARIANT srcProp, VARTYPE varType, NCOM::CPropVariant &destProp)
135 if (varType == srcProp.vt)
140 if (varType == VT_UI1)
151 else if (varType == VT_BOOL)
352 if (nameToPropID.VarType == VT_BSTR)
354 else if (nameToPropID.VarType == VT_BOOL)
370 if (!ConvertProperty(propValue, nameToPropID.VarType, prop.Value))
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
Filter.java 379 Class varType,
389 MutableFrameFormat format = ObjectFormat.fromClass(varType,
608 Class varType = generator.type();
610 addProgramPort(name, varName, field, varType, hasDefault);
  /external/javassist/src/main/javassist/compiler/
CodeGen.java 780 int varType = d.getType();
790 atArrayVariableAssign((ArrayInit)right, varType, varArray, varClass);
792 atAssignCore(expr, op, right, varType, varArray, varClass);
795 if (is2word(varType, varArray))
802 else if (varType == DOUBLE)
804 else if (varType == FLOAT)
806 else if (varType == LONG)
808 else if (isRefType(varType))
813 exprType = varType;
819 int varType, int varArray, String varClass) throws CompileError
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
cdonts.h     [all...]

Completed in 315 milliseconds

1 2