Home | History | Annotate | Download | only in randomshaders

Lines Matching full:generatorstate

164 void computeRandomValueRangeForInfElements (GeneratorState& state, ValueRangeAccess valueRange)
259 bool canAllocateVariable (const GeneratorState& state, const VariableType& type)
272 template <class T> float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) { return T::getWeight(state, valueRange); }
273 template <class T> Expression* create (GeneratorState& state, ConstValueRangeAccess valueRange) { return new T(state, valueRange); }
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 numSpecs, ConstValueRangeAccess valueRange)
349 Expression* Expression::createRandom (GeneratorState& state, ConstValueRangeAccess valueRange)
354 Expression* Expression::createRandomLValue (GeneratorState& state, ConstValueRangeAccess valueRange)
359 FloatLiteral::FloatLiteral (GeneratorState& state, ConstValueRangeAccess valueRange)
387 float FloatLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
411 void FloatLiteral::tokenize (GeneratorState& state, TokenStream& str) const
417 IntLiteral::IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange)
442 float IntLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
465 void IntLiteral::tokenize (GeneratorState& state, TokenStream& str) const
471 BoolLiteral::BoolLiteral (GeneratorState& state, ConstValueRangeAccess valueRange)
490 float BoolLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
502 void BoolLiteral::tokenize (GeneratorState& state, TokenStream& str) const
674 ConstructorOp::ConstructorOp (GeneratorState& state, ConstValueRangeAccess valueRange)
737 Expression* ConstructorOp::createNextChild (GeneratorState& state)
761 float ConstructorOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
775 void ConstructorOp::tokenize (GeneratorState& state, TokenStream& str) const
815 AssignOp::AssignOp (GeneratorState& state, ConstValueRangeAccess valueRange)
885 float AssignOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
906 Expression* AssignOp::createNextChild (GeneratorState& state)
929 void AssignOp::tokenize (GeneratorState& state, TokenStream& str) const
959 Variable* allocateNewVariable (GeneratorState& state, ConstValueRangeAccess valueRange)
1082 VariableRead::VariableRead (GeneratorState& state, ConstValueRangeAccess valueRange)
1148 float VariableRead::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
1166 VariableWrite::VariableWrite (GeneratorState& state, ConstValueRangeAccess valueRange)
1209 float VariableWrite::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
1223 ParenOp::ParenOp (GeneratorState& state, ConstValueRangeAccess valueRange)
1235 Expression* ParenOp::createNextChild (GeneratorState& state)
1246 void ParenOp::tokenize (GeneratorState& state, TokenStream& str) const
1253 float ParenOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
1266 SwizzleOp::SwizzleOp (GeneratorState& state, ConstValueRangeAccess valueRange)
1307 Expression* SwizzleOp::createNextChild (GeneratorState& state)
1335 void SwizzleOp::tokenize (GeneratorState& state, TokenStream& str) const
1358 float SwizzleOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
1407 TexLookup::TexLookup (GeneratorState& state, ConstValueRangeAccess valueRange)
1478 Expression* TexLookup::createNextChild (GeneratorState& state)
1545 void TexLookup::tokenize (GeneratorState& state, TokenStream& str) const
1592 float TexLookup::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)