Home
last modified time | relevance | path

Searched refs:VarType (Results 1 – 25 of 60) sorted by relevance

123

/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutTests.cpp42 using glu::VarType;
78 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk);
161 const glu::VarType& lastType = lastVar.getType(); in generateBlock()
162 …const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UN… in generateBlock()
200 …const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSI… in generateBufferVar()
211 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool… in generateType()
222 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); in generateType()
223 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY); in generateType()
229 vector<glu::VarType> memberTypes; in generateType()
245 return glu::VarType(&structType); in generateType()
[all …]
Des31fUniformBlockTests.cpp62 …BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& ty… in BlockBasicTypeCase()
77 …es (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 l… in createBlockBasicTypeCases()
99 typeS.addMember("a", VarType(glu::TYPE_UINT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init()
100 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2, PRECISION_MEDIUM), 4)); in init()
101 typeS.addMember("c", VarType(glu::TYPE_UINT, PRECISION_LOW)); in init()
104 block.addUniform(Uniform("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM))); in init()
105 block.addUniform(Uniform("s", VarType(VarType(VarType(&typeS), 3), 2))); in init()
106 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_MEDIUM))); in init()
210 …const VarType childType (VarType(type, glu::isDataTypeBoolOrBVec(type) ? 0 : PRECISION_HIGH), chi… in init()
211 const VarType parentType (childType, parentSize); in init()
[all …]
Des31fShaderIntegerFunctionTests.cpp71 const glu::VarType& type;
74 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue()
361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase()
364 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
457 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UsubBorrowCase()
458 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UsubBorrowCase()
459 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision))); in UsubBorrowCase()
460 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase()
[all …]
Des31fUniformLocationTests.cpp66 using glu::VarType;
78 VarType type;
84 …UniformInfo (VarType type_, ShaderStage declareLocation_, ShaderStage layoutLocation_, ShaderStage… in UniformInfo()
127 string getUniformName (int ndx, const glu::VarType& type, const glu::TypeComponentVector& path) in getUniformName()
135 string getFirstComponentName (const glu::VarType& type) in getFirstComponentName()
327 const glu::VarType subType = glu::getVarType(uniformInfo.type, subTypeIter.getPath()); in genShaderSources()
562 const glu::VarType type = glu::getVarType(uniformInfo.type, subTypeIter.getPath()); in render()
692 glu::VarType createVarType (glu::DataType type) in createVarType()
694 …return glu::VarType(type, glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_H… in createVarType()
791 UniformInfo uniform (VarType(createVarType(type), 8), in init()
[all …]
Des31fShaderCommonFunctionTests.cpp357 const glu::VarType& type;
360 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue()
502 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
503 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
584 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase()
585 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in SignCase()
690 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundEvenCase()
691 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundEvenCase()
801 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in ModfCase()
802 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in ModfCase()
[all …]
Des31fProgramInterfaceDefinitionUtil.hpp46 …VariablePathComponent (const glu::VarType* type) :m_type(TYPE_TYPE) { m_data.type = type; } in VariablePathComponent()
57 …const glu::VarType* getVariableType (void) const { DE_ASSERT(isVariableType()); return m_data… in getVariableType()
73 const glu::VarType* type;
179 …std::vector<std::string>& resources, const std::string& name, const glu::VarType& type, deUint32 r…
/external/deqp/framework/opengl/
DgluVarType.hpp47 class VarType class
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.eleme… in getElementType()
72 VarType& operator= (const VarType& other);
74 bool operator== (const VarType& other) const;
[all …]
DgluVarTypeUtil.hpp100 bool isValidTypePath (const VarType& type, Iterator begin, Iterator end);
103 VarType getVarType (const VarType& type, Iterator begin, Iterator end);
105 inline bool isValidTypePath (const VarType& type, const TypeComponentVector& path) { return isVal… in isValidTypePath()
106 inline VarType getVarType (const VarType& type, const TypeComponentVector& path) { return getVarT… in getVarType()
109 void parseTypePath (const char* nameWithPath, const VarType& type, TypeComponentVector& path);
115 …TypeAccessFormat (const VarType& type_, const TypeComponentVector& path_) : type(type_), path(path… in TypeAccessFormat()
117 const VarType& type;
128 SubTypeAccess (const VarType& type);
143 VarType getType (void) const { return getVarType(m_type, m_path); } in getType()
152 VarType m_type;
[all …]
DgluVarType.cpp31 VarType::VarType (void) in VarType() function in glu::VarType
36 VarType::VarType (const VarType& other) in VarType() function in glu::VarType
42 VarType::VarType (DataType basicType, Precision precision) in VarType() function in glu::VarType
49 VarType::VarType (const VarType& elementType, int arraySize) in VarType() function in glu::VarType
54 m_data.array.elementType = new VarType(elementType); in VarType()
57 VarType::VarType (const StructType* structPtr) in VarType() function in glu::VarType
63 VarType::~VarType (void) in ~VarType()
69 VarType& VarType::operator= (const VarType& other) in operator =()
82 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =()
91 int VarType::getScalarSize (void) const in getScalarSize()
[all …]
DgluVarTypeUtil.cpp85 SubTypeAccess::SubTypeAccess (const VarType& type) in SubTypeAccess()
97 void parseTypePath (const char* nameWithPath, const VarType& type, TypeComponentVector& path) in parseTypePath()
107 VarType curType = getVarType(type, path); in parseTypePath()
164 const VarType* curType = &format.type; in operator <<()
/external/deqp/modules/glshared/
DglsUniformBlockCase.hpp71 class VarType class
74 VarType (void);
75 VarType (const VarType& other);
76 VarType (glu::DataType basicType, deUint32 flags);
77 VarType (const VarType& elementType, int arraySize);
78 explicit VarType (const StructType* structPtr);
79 ~VarType (void);
88 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType()
93 VarType& operator= (const VarType& other);
112 VarType* elementType;
[all …]
DglsRandomUniformBlockCase.cpp146 VarType type = generateType(rnd, 0, true); in generateUniform()
156 VarType RandomUniformBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType()
166 vector<VarType> memberTypes; in generateType()
187 return VarType(&structType); in generateType()
193 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType()
194 return VarType(elementType, arrayLength); in generateType()
243 return VarType(type, flags); in generateType()
DglsUniformBlockCase.cpp115 VarType::VarType (void) in VarType() function in deqp::gls::ub::VarType
121 VarType::VarType (const VarType& other) in VarType() function in deqp::gls::ub::VarType
128 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() function in deqp::gls::ub::VarType
135 VarType::VarType (const VarType& elementType, int arraySize) in VarType() function in deqp::gls::ub::VarType
140 m_data.array.elementType = new VarType(elementType); in VarType()
143 VarType::VarType (const StructType* structPtr) in VarType() function in deqp::gls::ub::VarType
150 VarType::~VarType (void) in ~VarType()
156 VarType& VarType::operator= (const VarType& other) in operator =()
170 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =()
181 void StructType::addMember (const char* name, const VarType& type, deUint32 flags) in addMember()
[all …]
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp60 …BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& ty… in BlockBasicTypeCase()
75 …es (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 l… in createBlockBasicTypeCases()
97 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in init()
98 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
99 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
102 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init()
130 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init()
131 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
132 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
135 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in init()
[all …]
Des3fTransformFeedbackTests.cpp98 Varying (const char* name_, const glu::VarType& type_, Interpolation interp_) in Varying()
106 glu::VarType type; //!< Variable type.
120 Attribute (const std::string& name_, const glu::VarType& type_, int offset_) in Attribute()
128 glu::VarType type;
149 glu::VarType type;
185 void addVarying (const char* name, const glu::VarType& type, Interpolation interp);
221 void ProgramSpec::addVarying (const char* name, const glu::VarType& type, Interpolation interp) in addVarying()
345 const glu::VarType& type = var->type; in genShaderSources()
349 glu::VarType attribType = glu::getVarType(type, vecIter.getPath()); in genShaderSources()
388 const glu::VarType& type = var->type; in genShaderSources()
[all …]
Des3fShaderCommonFunctionTests.cpp284 const glu::VarType& type;
287 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue()
425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
426 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
507 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase()
508 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in SignCase()
613 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundEvenCase()
614 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundEvenCase()
724 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in ModfCase()
725 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in ModfCase()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderManager.java47 import com.jme3.shader.VarType;
349 u.setValue(VarType.Matrix4, worldMatrix); in updateUniformBindings()
352 u.setValue(VarType.Matrix4, viewMatrix); in updateUniformBindings()
355 u.setValue(VarType.Matrix4, projMatrix); in updateUniformBindings()
358 u.setValue(VarType.Matrix4, viewProjMatrix); in updateUniformBindings()
363 u.setValue(VarType.Matrix4, tempMat4); in updateUniformBindings()
371 u.setValue(VarType.Matrix3, tempMat3); in updateUniformBindings()
376 u.setValue(VarType.Matrix4, tempMat4); in updateUniformBindings()
381 u.setValue(VarType.Matrix4, tempMat4); in updateUniformBindings()
386 u.setValue(VarType.Matrix3, tempMat3); in updateUniformBindings()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java49 import com.jme3.shader.VarType;
371 private String checkSetParam(VarType type, String name) { in checkSetParam()
402 public void setParam(String name, VarType type, Object value) { in setParam()
481 public void setTextureParam(String name, VarType type, Texture value) { in setTextureParam()
516 VarType paramType = null; in setTexture()
519 paramType = VarType.Texture2D; in setTexture()
522 paramType = VarType.TextureArray; in setTexture()
525 paramType = VarType.Texture3D; in setTexture()
528 paramType = VarType.TextureCubeMap; in setTexture()
544 setParam(name, VarType.Matrix4, value); in setMatrix4()
[all …]
DMatParam.java39 import com.jme3.shader.VarType;
52 protected VarType type;
61 public MatParam(VarType type, String name, Object value, FixedFuncBinding ffBinding) { in MatParam()
89 public VarType getVarType() { in getVarType()
311 type = ic.readEnum("varType", VarType.class, null); in read()
DTechnique.java114 void notifySetParam(String paramName, VarType type, Object value) { in notifySetParam()
140 void updateUniformParam(String paramName, VarType type, Object value, boolean ifNotOwner) { in updateUniformParam()
152 u.setValue(VarType.Int, value); in updateUniformParam()
161 void updateUniformParam(String paramName, VarType type, Object value) { in updateUniformParam()
/external/jmonkeyengine/engine/src/core/com/jme3/shader/
DVarType.java35 public enum VarType { enum
65 VarType(){ in VarType() method in VarType
68 VarType(boolean multiData, boolean textureType){ in VarType() method in VarType
DUniform.java59 protected VarType varType;
120 varType = ic.readEnum("varType", VarType.class, null); in read()
188 public VarType getVarType() { in getVarType()
261 public void setValue(VarType type, Object value){ in setValue()
398 varType = VarType.Vector4Array; in setVector4Length()
407 if (varType != null && varType != VarType.Vector4Array) in setVector4InArray()
/external/llvm/tools/llvm-pdbdump/
DVariableDumper.cpp40 auto VarType = Var.getType(); in start() local
50 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
53 if (isa<PDBSymbolTypeEnum>(*VarType)) in start()
58 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
67 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
74 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp154 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predic… in typeContainsMatchingBasicType()
171 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type) in getDistinctSamplerTypes()
190 static int getNumSamplersInType (const glu::VarType& type) in getNumSamplersInType()
207 static glu::VarType generateRandomType (const int maxDepth, int& curStructIdx, vector<const StructT… in generateRandomType()
221 …return isArray ? glu::VarType(glu::VarType(structType), rnd.getInt(1, 5)) : glu::VarType(structTyp… in generateRandomType()
227 …return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType in generateRandomType()
263 glu::VarType type;
265 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {} in Uniform()
333 …res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)… in basic()
341 …ms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec)… in basicArray()
[all …]
/external/clang/test/SemaCXX/
Dreturn.cpp89 template <class VarType>
90 void Test(const VarType& value) { in Test()

123