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

1 2

  /test/vts/compilation_tools/vtsc/code_gen/common/
HalHidlCodeGenUtils.h 26 bool IsElidableType(const VariableType& type);
28 bool IsConstType(const VariableType& type);
HalHidlCodeGenUtils.cpp 22 bool IsElidableType(const VariableType& type) {
31 bool IsConstType(const VariableType& type) {
  /external/deqp/framework/randomshaders/
rsgVariableType.hpp 36 class VariableType
72 Member (const VariableType& type, const char* name)
73 : m_type(new VariableType(type))
88 m_type = new VariableType(*other.m_type);
102 m_type = new VariableType(*other.m_type);
123 const VariableType& getType (void) const { return *m_type; }
127 VariableType* m_type;
131 VariableType (void);
132 VariableType (Type baseType, int numElements = 0);
133 VariableType (Type baseType, const VariableType& elementType, int numElements)
    [all...]
rsgVariableType.cpp 32 VariableType& VariableType::operator= (const VariableType& other)
48 m_elementType = new VariableType(*other.m_elementType);
53 VariableType::VariableType (const VariableType& other)
59 bool VariableType::operator!= (const VariableType& other) const
76 bool VariableType::operator== (const VariableType& other) cons
    [all...]
rsgUtils.cpp 59 const VariableType& type = dst.getType();
63 case VariableType::TYPE_FLOAT:
73 case VariableType::TYPE_BOOL:
82 case VariableType::TYPE_INT:
83 case VariableType::TYPE_SAMPLER_2D:
84 case VariableType::TYPE_SAMPLER_CUBE:
93 case VariableType::TYPE_ARRAY:
101 case VariableType::TYPE_STRUCT:
129 case VariableType::TYPE_FLOAT:
130 case VariableType::TYPE_INT
    [all...]
rsgExecutionContext.cpp 37 return ExecValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data);
42 return ExecConstValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data);
123 const VariableType& type = dst.getType();
127 case VariableType::TYPE_ARRAY:
136 case VariableType::TYPE_STRUCT:
145 case VariableType::TYPE_FLOAT:
146 case VariableType::TYPE_INT:
147 case VariableType::TYPE_BOOL
    [all...]
rsgVariable.hpp 54 Variable (const VariableType& type, Storage storage, const char* name);
57 const VariableType& getType (void) const { return m_type; }
71 VariableType m_type;
rsgExpression.cpp 137 IsSamplerEntry (VariableType::Type type)
140 DE_ASSERT(m_type == VariableType::TYPE_SAMPLER_2D || m_type == VariableType::TYPE_SAMPLER_CUBE);
145 if (entry->getVariable()->getType() == VariableType(m_type, 1))
155 VariableType::Type m_type;
166 const VariableType& type = valueRange.getType();
171 case VariableType::TYPE_BOOL:
175 case VariableType::TYPE_INT:
195 case VariableType::TYPE_FLOAT:
225 const VariableType& type = valueRange.getType()
    [all...]
rsgVariableValue.hpp 77 StridedValueRead (const VariableType& type, const Scalar* value) : m_type(type), m_value(value) {}
79 const VariableType& getType (void) const { return m_type; }
83 const VariableType& m_type;
92 ConstStridedValueAccess (const VariableType& type, const Scalar* valuePtr) : m_type(&type), m_value(const_cast<Scalar*>(valuePtr)) {}
94 const VariableType& getType (void) const { return *m_type; }
118 const VariableType* m_type;
127 StridedValueAccess (const VariableType& type, Scalar* valuePtr) : ConstStridedValueAccess<Stride>(type, valuePtr) {}
186 DE_ASSERT(this->getType() == VariableType(VariableType::TYPE_FLOAT, Size));
201 ConstValueRangeAccess (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) : m_type(&type), m_min(const_cast<Scalar*>(minV (…)
    [all...]
rsgShaderGenerator.cpp 139 VariableType::Type baseType = valueRange.getType().getBaseType();
140 TCU_CHECK(baseType == VariableType::TYPE_FLOAT ||
141 baseType == VariableType::TYPE_INT ||
142 baseType == VariableType::TYPE_BOOL);
153 case VariableType::TYPE_FLOAT: min = 0.0f; max = 1.0f; break;
154 case VariableType::TYPE_INT: min = 0; max = 1; break;
155 case VariableType::TYPE_BOOL: min = false; max = true; break;
206 Variable* fragColorVar = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::STORAGE_SHADER_OUT, getFragColorName(m_state));
221 main.setReturnType(VariableType(VariableType::TYPE_VOID))
    [all...]
rsgVariableValue.cpp 60 case VariableType::TYPE_FLOAT:
73 case VariableType::TYPE_INT:
74 case VariableType::TYPE_SAMPLER_2D:
75 case VariableType::TYPE_SAMPLER_CUBE:
88 case VariableType::TYPE_BOOL:
158 ValueRange::ValueRange (const VariableType& type)
165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal)
174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal)
222 case VariableType::TYPE_FLOAT:
235 case VariableType::TYPE_INT
    [all...]
rsgShader.hpp 46 const VariableType& getReturnType (void) const { return m_returnType; }
47 void setReturnType (const VariableType& type) { m_returnType = type; }
59 VariableType m_returnType;
rsgBinaryOps.cpp 122 vector<VariableType::Type> baseTypes;
124 if (Float) baseTypes.push_back(VariableType::TYPE_FLOAT);
125 if (Int) baseTypes.push_back(VariableType::TYPE_INT);
126 if (Bool) baseTypes.push_back(VariableType::TYPE_BOOL);
128 VariableType::Type baseType = state.getRandom().choose<VariableType::Type>(baseTypes.begin(), baseTypes.end());
131 valueRange = ValueRange(VariableType(baseType, numElements));
143 VariableType::Type baseType = this->m_type.getBaseType();
153 if ((baseType == VariableType::TYPE_FLOAT || baseType == VariableType::TYPE_INT) && isUndefinedValueRange(dst)
    [all...]
rsgUtils.hpp 46 int getTypeConstructorDepth (const VariableType& type);
48 VariableType computeRandomType (GeneratorState& state, int maxScalars);
rsgExpression.hpp 118 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); }
136 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)); }
154 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)); }
280 VariableType m_valueType;
rsgProgramExecutor.cpp 47 VaryingStorage (const VariableType& type, int numVertices);
50 ValueAccess getValue (const VariableType& type, int vtxNdx);
51 ConstValueAccess getValue (const VariableType& type, int vtxNdx) const;
57 VaryingStorage::VaryingStorage (const VariableType& type, int numVertices)
62 ValueAccess VaryingStorage::getValue (const VariableType& type, int vtxNdx)
67 ConstValueAccess VaryingStorage::getValue (const VariableType& type, int vtxNdx) const
78 VaryingStorage* getStorage (const VariableType& type, const char* name);
97 VaryingStorage* VaryingStore::getStorage (const VariableType& type, const char* name)
140 TCU_CHECK(valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT);
153 TCU_CHECK(dst.getType().getBaseType() == VariableType::TYPE_FLOAT)
    [all...]
rsgGeneratorState.hpp 38 class VariableType;
rsgVariable.cpp 31 Variable::Variable (const VariableType& type, Storage storage, const char* name)
rsgVariableManager.hpp 66 Variable* allocate (const VariableType& type, Variable::Storage storage, const char* name);
207 Variable* allocate (const VariableType& type);
208 Variable* allocate (const VariableType& type, Variable::Storage storage, const char* name);
rsgVariableManager.cpp 74 case VariableType::TYPE_ARRAY:
82 case VariableType::TYPE_STRUCT:
114 Variable* VariableScope::allocate (const VariableType& type, Variable::Storage storage, const char* name)
237 Variable* VariableManager::allocate (const VariableType& type)
242 Variable* VariableManager::allocate (const VariableType& type, Variable::Storage storage, const char* name)
rsgStatement.cpp 120 m_expression = generator.generate(ValueRange(VariableType(VariableType::TYPE_VOID)));
431 ValueRange range = ValueRange(VariableType::getScalarType(VariableType::TYPE_BOOL));
  /external/deqp/modules/glshared/
glsRandomShaderProgram.cpp 34 static rr::GenericVecType mapToGenericVecType (const rsg::VariableType& varType)
47 static glu::DataType mapToBasicType (const rsg::VariableType& varType)
59 else if (varType.getBaseType() == rsg::VariableType::TYPE_SAMPLER_2D)
61 else if (varType.getBaseType() == rsg::VariableType::TYPE_SAMPLER_CUBE)
141 TCU_CHECK_INTERNAL(m_positionVar && m_positionVar->getType().getBaseType() == rsg::VariableType::TYPE_FLOAT && m_positionVar->getType().getNumElements() == 4);
142 TCU_CHECK_INTERNAL(m_fragColorVar && m_fragColorVar->getType().getBaseType() == rsg::VariableType::TYPE_FLOAT && m_fragColorVar->getType().getNumElements() == 4);
162 const rsg::VariableType& uniformType = uniformVar->getType();
184 const rsg::VariableType& attribType = attribVar->getType();
225 const rsg::VariableType& varType = var->getType();
263 const rsg::VariableType& varType = var->getType()
    [all...]
glsRandomShaderCase.cpp 165 TCU_CHECK(input->getVariable()->getType().getBaseType() == rsg::VariableType::TYPE_FLOAT);
224 const rsg::VariableType& type = uniformIter->getVariable()->getType();
231 if (type == rsg::VariableType(rsg::VariableType::TYPE_SAMPLER_2D, 1))
233 else if (type == rsg::VariableType(rsg::VariableType::TYPE_SAMPLER_CUBE, 1))
378 case rsg::VariableType::TYPE_FLOAT:
389 case rsg::VariableType::TYPE_INT:
390 case rsg::VariableType::TYPE_BOOL:
391 case rsg::VariableType::TYPE_SAMPLER_2D
    [all...]
glsFragOpInteractionCase.cpp 89 const rsg::VariableType& type = var->getType();
92 TCU_CHECK_INTERNAL(type.getBaseType() == rsg::VariableType::TYPE_FLOAT && de::inRange(type.getNumElements(), 1, 4));
335 case rsg::VariableType::TYPE_FLOAT:
346 case rsg::VariableType::TYPE_INT:
347 case rsg::VariableType::TYPE_BOOL:
348 case rsg::VariableType::TYPE_SAMPLER_2D:
349 case rsg::VariableType::TYPE_SAMPLER_CUBE:
540 const rsg::VariableType& varType = shaderIn->getVariable()->getType();
545 DE_ASSERT(varType.getBaseType() == rsg::VariableType::TYPE_FLOAT);
  /test/vts-testcase/fuzz/iface_fuzzer/include/
ProtoFuzzerMutator.h 115 // of different VariableType to mutation/random delegation function for that
116 // VariableType.
117 std::unordered_map<VariableType, VarMutateFn> mutate_fns_;
118 std::unordered_map<VariableType, VarRandomGenFn> random_gen_fns_;

Completed in 412 milliseconds

1 2