Home | History | Annotate | Download | only in functional

Lines Matching defs:bits

66 	return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits());
734 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision)));
736 m_spec.source = "extracted = bitfieldExtract(value, offset, bits);";
752 const int bits = rnd.getInt(0, numBits);
753 const int offset = rnd.getInt(0, numBits-bits);
756 inBits[valueNdx] = bits;
768 const int bits = *((const int*)inputs[2]);
774 const deUint32 valMask = (bits == 32 ? ~0u : ((1u<<bits)-1u));
776 const deUint32 ref = baseVal | ((isSigned && (baseVal & (1<<(bits-1)))) ? ~valMask : 0u);
798 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision)));
800 m_spec.source = "result = bitfieldInsert(base, insert, offset, bits);";
816 const int bits = rnd.getInt(0, numBits);
817 const int offset = rnd.getInt(0, numBits-bits);
820 inBits[valueNdx] = bits;
835 const int bits = *((const int*)inputs[3]);
843 const deUint32 mask = bits == 32 ? ~0u : (1u<<bits)-1;