Lines Matching refs:compPtr
757 deUint8* const compPtr = vecPtr + compSize*compNdx; in generateValue() local
761 case glu::TYPE_FLOAT: *((float*)compPtr) = (float)rnd.getInt(-9, 9); break; in generateValue()
762 case glu::TYPE_INT: *((int*)compPtr) = rnd.getInt(-9, 9); break; in generateValue()
763 case glu::TYPE_UINT: *((deUint32*)compPtr) = (deUint32)rnd.getInt(0, 9); break; in generateValue()
766 case glu::TYPE_BOOL: *((deUint32*)compPtr) = rnd.getBool() ? rnd.getUint32()|1u : 0u; break; in generateValue()
989 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc() local
995 src << de::floatToString(*((const float*)compPtr), 1); in generateImmMatrixSrc()
1018 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc() local
1025 case glu::TYPE_FLOAT: src << de::floatToString(*((const float*)compPtr), 1); break; in generateImmScalarVectorSrc()
1026 case glu::TYPE_INT: src << *((const int*)compPtr); break; in generateImmScalarVectorSrc()
1027 case glu::TYPE_UINT: src << *((const deUint32*)compPtr) << "u"; break; in generateImmScalarVectorSrc()
1028 case glu::TYPE_BOOL: src << (*((const deUint32*)compPtr) != 0u ? "true" : "false"); break; in generateImmScalarVectorSrc()