/external/deqp/framework/randomshaders/ |
H A D | rsgVariableType.hpp | 36 class VariableType class in namespace:rsg 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 (Typ 177 inline VariableType::VariableType (void) function in class:rsg::VariableType 186 inline VariableType::VariableType (Type baseType, int numElements) function in class:rsg::VariableType 196 inline VariableType::VariableType (Type baseType, const VariableType& elementType, int numElements) function in class:rsg::VariableType 206 inline VariableType::VariableType (Type baseType, const char* typeName) function in class:rsg::VariableType [all...] |
H A D | rsgVariableType.cpp | 32 VariableType& VariableType::operator= (const VariableType& other) 48 m_elementType = new VariableType(*other.m_elementType); 53 VariableType::VariableType (const VariableType& other) function in class:rsg::VariableType 59 bool VariableType::operator!= (const VariableType& other) const 76 bool VariableType [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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;
|
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | 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(VariableTyp [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | rsgShader.hpp | 46 const VariableType& getReturnType (void) const { return m_returnType; } 47 void setReturnType (const VariableType& type) { m_returnType = type; } 59 VariableType m_returnType;
|
H A D | rsgUtils.hpp | 46 int getTypeConstructorDepth (const VariableType& type); 48 VariableType computeRandomType (GeneratorState& state, int maxScalars);
|
H A D | 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;
|
H A D | 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 [all...] |
H A D | rsgGeneratorState.hpp | 38 class VariableType;
|
H A D | rsgVariable.cpp | 31 Variable::Variable (const VariableType& type, Storage storage, const char* name)
|
H A D | 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);
|
H A D | 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)
|
H A D | rsgStatement.cpp | 120 m_expression = generator.generate(ValueRange(VariableType(VariableType::TYPE_VOID))); 431 ValueRange range = ValueRange(VariableType::getScalarType(VariableType::TYPE_BOOL));
|
H A D | rsgBinaryOps.hpp | 58 VariableType m_type;
|
/external/deqp/modules/glshared/ |
H A D | glsRandomShaderCase.cpp | 157 TCU_CHECK(input->getVariable()->getType().getBaseType() == rsg::VariableType::TYPE_FLOAT); 216 const rsg::VariableType& type = uniformIter->getVariable()->getType(); 223 if (type == rsg::VariableType(rsg::VariableType::TYPE_SAMPLER_2D, 1)) 225 else if (type == rsg::VariableType(rsg::VariableType::TYPE_SAMPLER_CUBE, 1)) 316 case rsg::VariableType::TYPE_FLOAT: 327 case rsg::VariableType::TYPE_INT: 328 case rsg::VariableType::TYPE_BOOL: 329 case rsg::VariableType [all...] |
H A D | 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 [all...] |
H A D | 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: 495 const rsg::VariableType& varType = shaderIn->getVariable()->getType(); 500 DE_ASSERT(varType.getBaseType() == rsg::VariableType::TYPE_FLOAT);
|
/external/lldb/source/Symbol/ |
H A D | Symbol.cpp | 395 ENUM_TO_CSTRING(VariableType);
|