Home
last modified time | relevance | path

Searched refs:compPtr (Results 1 – 8 of 8) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp483 const deUint8* compPtr = vecPtr + compSize*compNdx; in createMask() local
484 const size_t offset = compPtr - (deUint8*)basePtr0; in createMask()
926 deUint8* compPtr = vecPtr + compSize*compNdx; in generateValue() local
932 case glu::TYPE_DOUBLE: *((double*)compPtr) = (double) (sign * value); break; in generateValue()
933 case glu::TYPE_FLOAT: *((float*)compPtr) = (float) (sign * value); break; in generateValue()
934 case glu::TYPE_INT: *((deInt32*)compPtr) = (deInt32) (sign * value); break; in generateValue()
935 case glu::TYPE_UINT: *((deUint32*)compPtr) = (deUint32)( value); break; in generateValue()
1228 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc() local
1229 const float compVal = (scalarType == glu::TYPE_FLOAT) ? *((const float*)compPtr) in generateValueSrc()
1230 : (scalarType == glu::TYPE_DOUBLE) ? (float)*((const double*)compPtr) in generateValueSrc()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp760 deUint8* compPtr = vecPtr + compSize*compNdx; in generateValue() local
764 case glu::TYPE_FLOAT: *((float*)compPtr) = (float)rnd.getInt(-9, 9); break; in generateValue()
765 case glu::TYPE_INT: *((int*)compPtr) = rnd.getInt(-9, 9); break; in generateValue()
766 case glu::TYPE_UINT: *((deUint32*)compPtr) = (deUint32)rnd.getInt(0, 9); break; in generateValue()
767 case glu::TYPE_INT8: *((deInt8*)compPtr) = (deInt8)rnd.getInt(-9, 9); break; in generateValue()
768 case glu::TYPE_UINT8: *((deUint8*)compPtr) = (deUint8)rnd.getInt(0, 9); break; in generateValue()
769 case glu::TYPE_INT16: *((deInt16*)compPtr) = (deInt16)rnd.getInt(-9, 9); break; in generateValue()
770 case glu::TYPE_UINT16: *((deUint16*)compPtr) = (deUint16)rnd.getInt(0, 9); break; in generateValue()
771 … case glu::TYPE_FLOAT16: *((deFloat16*)compPtr) = deFloat32To16((float)rnd.getInt(-9, 9)); break; in generateValue()
774 case glu::TYPE_BOOL: *((deUint32*)compPtr) = rnd.getBool() ? rnd.getUint32()|1u : 0u; break; in generateValue()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp797 deUint8* const compPtr = vecPtr + compSize*compNdx; in generateValue() local
801 case glu::TYPE_FLOAT: *((float*)compPtr) = (float)rnd.getInt(-9, 9); break; in generateValue()
802 case glu::TYPE_INT: *((int*)compPtr) = rnd.getInt(-9, 9); break; in generateValue()
803 case glu::TYPE_UINT: *((deUint32*)compPtr) = (deUint32)rnd.getInt(0, 9); break; in generateValue()
804 case glu::TYPE_INT8: *((deInt8*)compPtr) = (deInt8)rnd.getInt(-9, 9); break; in generateValue()
805 case glu::TYPE_UINT8: *((deUint8*)compPtr) = (deUint8)rnd.getInt(0, 9); break; in generateValue()
806 case glu::TYPE_INT16: *((deInt16*)compPtr) = (deInt16)rnd.getInt(-9, 9); break; in generateValue()
807 case glu::TYPE_UINT16: *((deUint16*)compPtr) = (deUint16)rnd.getInt(0, 9); break; in generateValue()
808 … case glu::TYPE_FLOAT16: *((deFloat16*)compPtr) = deFloat32To16((float)rnd.getInt(-9, 9)); break; in generateValue()
811 case glu::TYPE_BOOL: *((deUint32*)compPtr) = rnd.getBool() ? rnd.getUint32()|1u : 0u; break; in generateValue()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp620 deUint8* compPtr = vecPtr + compSize * compNdx; in generateValue() local
625 *((float*)compPtr) = (float)rnd.getInt(-9, 9); in generateValue()
628 *((int*)compPtr) = rnd.getInt(-9, 9); in generateValue()
631 *((deUint32*)compPtr) = (deUint32)rnd.getInt(0, 9); in generateValue()
636 *((deUint32*)compPtr) = rnd.getBool() ? rnd.getUint32() | 1u : 0u; in generateValue()
880 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx * entry.matrixStride + colNdx * comp… in generateValueSrc() local
886 src << de::floatToString(*((const float*)compPtr), 1); in generateValueSrc()
894 const deUint8* compPtr = elemPtr + scalarNdx * compSize; in generateValueSrc() local
902 src << de::floatToString(*((const float*)compPtr), 1); in generateValueSrc()
905 src << *((const int*)compPtr); in generateValueSrc()
[all …]
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp647 deUint8* compPtr = vecPtr + compSize*compNdx; in generateValue() local
651 case glu::TYPE_FLOAT: *((float*)compPtr) = (float)rnd.getInt(-9, 9); break; in generateValue()
652 case glu::TYPE_INT: *((int*)compPtr) = rnd.getInt(-9, 9); break; in generateValue()
653 case glu::TYPE_UINT: *((deUint32*)compPtr) = (deUint32)rnd.getInt(0, 9); break; in generateValue()
656 case glu::TYPE_BOOL: *((deUint32*)compPtr) = rnd.getBool() ? rnd.getUint32()|1u : 0u; break; in generateValue()
968 … const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx*entry.matrixStride + colNdx*compSize in generateValueSrc() local
974 src << de::floatToString(*((const float*)compPtr), 1); in generateValueSrc()
982 const deUint8* compPtr = elemPtr + scalarNdx*compSize; in generateValueSrc() local
989 case glu::TYPE_FLOAT: src << de::floatToString(*((const float*)compPtr), 1); break; in generateValueSrc()
990 case glu::TYPE_INT: src << *((const int*)compPtr); break; in generateValueSrc()
[all …]
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp757 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()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp336 char* compPtr = byteBuffer; in genInputBuffer() local
339 m_chosenGenerator(m_random, reinterpret_cast<void*>(compPtr)); in genInputBuffer()
340 compPtr += m_componentSize; in genInputBuffer()
/external/dng_sdk/source/
Ddng_lossless_jpeg.cpp1196 JpegComponentInfo *compPtr = &info.compInfo [ci]; in DecoderStructInit() local
1198 if (compPtr->hSampFactor != 1 || in DecoderStructInit()
1199 compPtr->vSampFactor != 1) in DecoderStructInit()