Home | History | Annotate | Download | only in functional

Lines Matching full:rnd

137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues)
148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask;
154 dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength);
370 de::Random rnd (deStringHash(getName()) ^ 0x235facu);
419 generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(easyCases));
420 generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(easyCases));
466 de::Random rnd (deStringHash(getName()) ^ 0x235facu);
513 generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(easyCases));
514 generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(easyCases));
560 de::Random rnd (deStringHash(getName()) ^ 0x235facu);
597 const deUint32 base0 = rnd.getUint32();
598 const deUint32 base1 = rnd.getUint32();
599 const int adj0 = rnd.getInt(0, 20);
600 const int adj1 = rnd.getInt(0, 20);
650 de::Random rnd (deStringHash(getName()) ^ 0x224fa1u);
688 const deInt32 base0 = (deInt32)rnd.getUint32();
689 const deInt32 base1 = (deInt32)rnd.getUint32();
690 const int adj0 = rnd.getInt(0, 20);
691 const int adj1 = rnd.getInt(0, 20);
741 de::Random rnd (deStringHash(getName()) ^ 0xa113fca2u);
752 const int bits = rnd.getInt(0, numBits);
753 const int offset = rnd.getInt(0, numBits-bits);
759 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues);
805 de::Random rnd (deStringHash(getName()) ^ 0x12c2acff);
816 const int bits = rnd.getInt(0, numBits);
817 const int offset = rnd.getInt(0, numBits-bits);
823 generateRandomInputData(rnd, m_shaderType, type, precision, inBase, numValues);
824 generateRandomInputData(rnd, m_shaderType, type, precision, inInsert, numValues);
879 de::Random rnd (deStringHash(getName()) ^ 0xff23a4);
884 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues);
928 de::Random rnd (deStringHash(getName()) ^ 0xab2cca4);
933 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues);
988 de::Random rnd (deStringHash(getName()) ^ 0x9923c2af);
993 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues);
1066 de::Random rnd (deStringHash(getName()) ^ 0x742ac4e);
1071 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues);