Lines Matching refs:deUint32
97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
98 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<()
120 static inline deUint32 extendSignTo32 (deUint32 integer, deUint32 integerLength) in extendSignTo32()
124 return deUint32(0 - deInt32((integer & (1 << (integerLength - 1))) << 1)) | integer; in extendSignTo32()
127 static inline deUint32 getLowBitMask (int integerLength) in getLowBitMask()
134 return ((1u << ((deUint32)integerLength - 1u)) << 1u) - 1u; in getLowBitMask()
137 …haderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValu… in generateRandomInputData()
140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData()
141 const deUint32 integerMask = getLowBitMask(integerLength); in generateRandomInputData()
236 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data,… in getInputOutputPointers()
260 vector<deUint32> inputData (numInputScalars * m_numValues); in iterate()
261 vector<deUint32> outputData (numOutputScalars * m_numValues); in iterate()
284 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
287 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
375 const deUint32 integerMask = getLowBitMask(integerLength); in getInputValues()
377 deUint32* in0 = (deUint32*)values[0]; in getInputValues()
378 deUint32* in1 = (deUint32*)values[1]; in getInputValues()
382 deUint32 x; in getInputValues()
383 deUint32 y; in getInputValues()
429 const deUint32 mask0 = getLowBitMask(integerLength); in compare()
433 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
434 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
435 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
436 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
437 const deUint32 ref0 = in0+in1; in compare()
438 const deUint32 ref1 = (deUint64(in0)+deUint64(in1)) > 0xffffffffu ? 1u : 0u; in compare()
471 const deUint32 integerMask = getLowBitMask(integerLength); in getInputValues()
473 deUint32* in0 = (deUint32*)values[0]; in getInputValues()
474 deUint32* in1 = (deUint32*)values[1]; in getInputValues()
478 deUint32 x; in getInputValues()
479 deUint32 y; in getInputValues()
523 const deUint32 mask0 = getLowBitMask(integerLength); in compare()
527 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
528 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
529 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
530 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
531 const deUint32 ref0 = in0-in1; in compare()
532 const deUint32 ref1 = in0 >= in1 ? 0u : 1u; in compare()
564 deUint32* in0 = (deUint32*)values[0]; in getInputValues()
565 deUint32* in1 = (deUint32*)values[1]; in getInputValues()
570 deUint32 x; in getInputValues()
571 deUint32 y; in getInputValues()
597 const deUint32 base0 = rnd.getUint32(); in getInputValues()
598 const deUint32 base1 = rnd.getUint32(); in getInputValues()
616 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
617 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
618 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
619 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
621 const deUint32 ref0 = deUint32(mul64 >> 32); in compare()
622 const deUint32 ref1 = deUint32(mul64 & 0xffffffffu); in compare()
654 deUint32* in0 = (deUint32*)values[0]; in getInputValues()
655 deUint32* in1 = (deUint32*)values[1]; in getInputValues()
660 deUint32 x; in getInputValues()
661 deUint32 y; in getInputValues()
746 deUint32* inValue = (deUint32*)values[0]; in getInputValues()
772 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
773 const deUint32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
774 const deUint32 valMask = (bits == 32 ? ~0u : ((1u<<bits)-1u)); in compare()
775 const deUint32 baseVal = (offset == 32) ? (0) : ((value >> offset) & valMask); in compare()
776 const deUint32 ref = baseVal | ((isSigned && (baseVal & (1<<(bits-1)))) ? ~valMask : 0u); in compare()
809 deUint32* inBase = (deUint32*)values[0]; in getInputValues()
810 deUint32* inInsert = (deUint32*)values[1]; in getInputValues()
833 const deUint32 cmpMask = getLowBitMask(integerLength); in compare()
839 const deUint32 base = ((const deUint32*)inputs[0])[compNdx]; in compare()
840 const deUint32 insert = ((const deUint32*)inputs[1])[compNdx]; in compare()
841 const deInt32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
843 const deUint32 mask = bits == 32 ? ~0u : (1u<<bits)-1; in compare()
844 const deUint32 ref = (base & ~(mask<<offset)) | ((insert & mask)<<offset); in compare()
857 static inline deUint32 reverseBits (deUint32 v) in reverseBits()
882 deUint32* inValue = (deUint32*)values[0]; in getInputValues()
893 const deUint32 cmpMask = reverseBits(getLowBitMask(integerLength)); in compare()
897 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
898 const deInt32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
899 const deUint32 ref = reverseBits(value); in compare()
931 deUint32* inValue = (deUint32*)values[0]; in getInputValues()
942 const deUint32 countMask = getLowBitMask(integerLength); in compare()
946 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
962 static int findLSB (deUint32 value) in findLSB()
991 deUint32* inValue = (deUint32*)values[0]; in getInputValues()
1002 const deUint32 mask = getLowBitMask(integerLength); in compare()
1006 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
1025 return 31 - deClz32((deUint32)value); in findMSB()
1027 return 31 - deClz32(~(deUint32)value); in findMSB()
1032 static int findMSB (deUint32 value) in findMSB()
1040 static deUint32 toPrecision (deUint32 value, int numIntegerBits) in toPrecision()
1047 return (deInt32)extendSignTo32((deUint32)value & getLowBitMask(numIntegerBits), numIntegerBits); in toPrecision()
1069 deUint32* inValue = (deUint32*)values[0]; in getInputValues()
1084 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
1110 …parent, const char* functionName, bool intTypes, bool uintTypes, bool allPrec, deUint32 shaderBits) in addFunctionCases()