/external/deqp/framework/randomshaders/ |
D | rsgExpression.hpp | 56 virtual Expression* createNextChild (GeneratorState& state) = DE_NULL; 57 virtual void tokenize (GeneratorState& state, TokenStream& str) const = DE_NULL; 64 static Expression* createRandom (GeneratorState& state, ConstValueRangeAccess valueRange); 65 static Expression* createRandomLValue (GeneratorState& state, ConstValueRangeAccess valueRange); 73 …Expression* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; … in createNextChild() 74 …void tokenize (GeneratorState& state, TokenStream& str) const { DE_UNREF(state); str << Tok… in tokenize() 90 VariableRead (GeneratorState& state, ConstValueRangeAccess valueRange); 94 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 100 VariableWrite (GeneratorState& state, ConstValueRangeAccess valueRange); 103 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); [all …]
|
D | rsgStatement.hpp | 43 virtual Statement* createNextChild (GeneratorState& state) = DE_NULL; 44 virtual void tokenize (GeneratorState& state, TokenStream& str) const = DE_NULL; 58 ExpressionStatement (GeneratorState& state); 61 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild() 62 void tokenize (GeneratorState& state, TokenStream& str) const; 65 static float getWeight (const GeneratorState& state); 74 DeclarationStatement (GeneratorState& state, Variable* variable = DE_NULL); 77 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild() 78 void tokenize (GeneratorState& state, TokenStream& str) const; 81 static float getWeight (const GeneratorState& state); [all …]
|
D | rsgBinaryOps.hpp | 47 Expression* createNextChild (GeneratorState& state); 48 void tokenize (GeneratorState& state, TokenStream& str) const; 55 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 72 …BinaryVecOp (GeneratorState& state, Token::Type operatorToken, ConstValueRangeAccess valueRange); 95 MulOp (GeneratorState& state, ConstValueRangeAccess valueRange); 98 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 117 AddOp (GeneratorState& state, ConstValueRangeAccess valueRange); 120 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 139 SubOp (GeneratorState& state, ConstValueRangeAccess valueRange); 142 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); [all …]
|
D | rsgStatement.cpp | 38 inline bool isCurrentTopStatementBlock (const GeneratorState& state) in isCurrentTopStatementBlock() 44 template <class T> float getWeight (const GeneratorState& state) { return T::getWeight(state); } in getWeight() 45 template <class T> Statement* create (GeneratorState& state) { return new T(state); } in create() 49 float (*getWeight) (const GeneratorState& state); 50 Statement* (*create) (GeneratorState& state); 53 const StatementSpec* chooseStatement (GeneratorState& state) in chooseStatement() 101 Statement* createStatement (GeneratorState& state) in createStatement() 116 ExpressionStatement::ExpressionStatement (GeneratorState& state) in ExpressionStatement() 128 float ExpressionStatement::getWeight (const GeneratorState& state) in getWeight() 139 BlockStatement::BlockStatement (GeneratorState& state) in BlockStatement() [all …]
|
D | rsgBuiltinFunctions.hpp | 39 …UnaryBuiltinVecFunc (GeneratorState& state, const char* function, ConstValueRangeAccess valueRang… 42 Expression* createNextChild (GeneratorState& state); 43 void tokenize (GeneratorState& state, TokenStream& str) const; 48 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 58 …ValueRangeWeight, ComputeValueRange, Evaluate>::UnaryBuiltinVecFunc (GeneratorState& state, const … in UnaryBuiltinVecFunc() 85 …nVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::createNextChild (GeneratorState& state) in createNextChild() 95 …VecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::tokenize (GeneratorState& state, TokenS… in tokenize() 121 …<GetValueRangeWeight, ComputeValueRange, Evaluate>::getWeight (const GeneratorState& state, ConstV… in getWeight() 166 …UnaryBuiltinVecTemplateProxy (GeneratorState& state, const char* function, ConstValueRangeAccess v… in UnaryBuiltinVecTemplateProxy() 177 …UnaryTrigonometricFunc (GeneratorState& state, const char* function, ConstValueRangeAccess valueRa… in UnaryTrigonometricFunc() [all …]
|
D | rsgGeneratorState.cpp | 31 GeneratorState::GeneratorState (const ProgramParameters& programParams, de::Random& random) in GeneratorState() function in rsg::GeneratorState 44 GeneratorState::~GeneratorState (void) in ~GeneratorState() 48 void GeneratorState::setShader (const ShaderParameters& shaderParams, Shader& shader) in setShader()
|
D | rsgExpression.cpp | 164 void computeRandomValueRangeForInfElements (GeneratorState& state, ValueRangeAccess valueRange) in computeRandomValueRangeForInfElements() 259 bool canAllocateVariable (const GeneratorState& state, const VariableType& type) in canAllocateVariable() 272 template <class T> float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)… in getWeight() 273 template <class T> Expression* create (GeneratorState& state, ConstValueRangeAccess valueRange) {… in create() 277 float (*getWeight) (const GeneratorState& state, ConstValueRangeAccess valueRange); 278 Expression* (*create) (GeneratorState& state, ConstValueRangeAccess valueRange); 329 const ExpressionSpec* chooseExpression (GeneratorState& state, const ExpressionSpec* specs, int num… in chooseExpression() 349 Expression* Expression::createRandom (GeneratorState& state, ConstValueRangeAccess valueRange) in createRandom() 354 Expression* Expression::createRandomLValue (GeneratorState& state, ConstValueRangeAccess valueRange) in createRandomLValue() 359 FloatLiteral::FloatLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in FloatLiteral() [all …]
|
D | rsgBinaryOps.cpp | 52 Expression* BinaryOp<Precedence, Assoc>::createNextChild (GeneratorState& state) in createNextChild() 76 float BinaryOp<Precedence, Assoc>::getWeight (const GeneratorState& state, ConstValueRangeAccess va… in getWeight() 93 void BinaryOp<Precedence, Assoc>::tokenize (GeneratorState& state, TokenStream& str) const in tokenize() 114 …ce, Float, Int, Bool, ComputeValueRange, EvaluateComp>::BinaryVecOp (GeneratorState& state, Token:… in BinaryVecOp() 281 MulOp::MulOp (GeneratorState& state, ConstValueRangeAccess valueRange) in MulOp() 286 float MulOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight() 331 AddOp::AddOp (GeneratorState& state, ConstValueRangeAccess valueRange) in AddOp() 336 float AddOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight() 381 SubOp::SubOp (GeneratorState& state, ConstValueRangeAccess valueRange) in SubOp() 386 float SubOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight() [all …]
|
D | rsgUtils.hpp | 45 int getConservativeValueExprDepth (const GeneratorState& state, ConstValueRangeAccess valueRange… 48 VariableType computeRandomType (GeneratorState& state, int maxScalars); 49 void computeRandomValueRange (GeneratorState& state, ValueRangeAccess valueRange);
|
D | rsgGeneratorState.hpp | 52 class GeneratorState class 55 GeneratorState (const ProgramParameters& programParams, de::Random& random); 56 ~GeneratorState (void);
|
D | rsgExpressionGenerator.hpp | 39 ExpressionGenerator (GeneratorState& state); 47 GeneratorState& m_state;
|
D | rsgFunctionGenerator.hpp | 38 FunctionGenerator (GeneratorState& state, Function& function); 46 GeneratorState& m_state;
|
D | rsgShaderGenerator.hpp | 39 ShaderGenerator (GeneratorState& state); 48 GeneratorState& m_state;
|
D | rsgVariable.hpp | 35 class GeneratorState; 68 void tokenizeDeclaration (GeneratorState& state, TokenStream& str) const;
|
D | rsgShader.hpp | 54 void tokenize (GeneratorState& state, TokenStream& stream) const; 106 void tokenize (GeneratorState& state, TokenStream& str) const;
|
D | rsgShaderGenerator.cpp | 39 ShaderGenerator::ShaderGenerator (GeneratorState& state) in ShaderGenerator() 53 const char* getFragColorName (const GeneratorState& state) in getFragColorName() 92 void genVertexPassthrough (GeneratorState& state, Shader& shader) in genVertexPassthrough() 124 void genFragmentPassthrough (GeneratorState& state, Shader& shader) in genFragmentPassthrough()
|
D | rsgShader.cpp | 93 void Shader::tokenize (GeneratorState& state, TokenStream& str) const in tokenize() 125 void Function::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
|
D | rsgUtils.cpp | 153 VariableType computeRandomType (GeneratorState& state, int maxScalars) in computeRandomType() 185 void computeRandomValueRange (GeneratorState& state, ValueRangeAccess valueRange) in computeRandomValueRange() 287 int getConservativeValueExprDepth (const GeneratorState& state, ConstValueRangeAccess valueRange) in getConservativeValueExprDepth()
|
D | rsgExpressionGenerator.cpp | 29 ExpressionGenerator::ExpressionGenerator (GeneratorState& state) in ExpressionGenerator()
|
D | rsgFunctionGenerator.cpp | 32 FunctionGenerator::FunctionGenerator (GeneratorState& state, Function& function) in FunctionGenerator()
|
D | rsgProgramGenerator.cpp | 49 GeneratorState state(programParams, rnd); in generate()
|
D | rsgVariable.cpp | 43 void Variable::tokenizeDeclaration (GeneratorState& state, TokenStream& str) const in tokenizeDeclaration()
|