Home
last modified time | relevance | path

Searched refs:pixelNdx (Results 1 – 7 of 7) sorted by relevance

/external/deqp/modules/internal/
DditTextureFormatTests.cpp1278 for (int pixelNdx = 0; pixelNdx < numPixels; pixelNdx++) in getReferenceValues() local
1280 const deUint32* srcPixPtr = rawValues + pixelNdx*4; in getReferenceValues()
1281 T* dstPixPtr = (T*)&dst[pixelNdx]; in getReferenceValues()
1444 for (int pixelNdx = 0; pixelNdx < numPixels; pixelNdx++) in verifyRead() local
1446 if (!allComponentsEqual(res[pixelNdx], ref[pixelNdx])) in verifyRead()
1449 …estLog::Message << "ERROR: at pixel " << pixelNdx << ": expected " << ref[pixelNdx] << ", got " <<… in verifyRead()
1478 for (int pixelNdx = 0; pixelNdx < refAccess.getWidth(); pixelNdx++) in verifyGetPixDepth() local
1480 const float ref = refAccess.getPixel(pixelNdx, 0, 0).x(); in verifyGetPixDepth()
1481 const float res = combinedAccess.getPixDepth(pixelNdx, 0, 0); in verifyGetPixDepth()
1486 …<< TestLog::Message << "ERROR: at pixel " << pixelNdx << ": expected " << ref << ", got " << res <… in verifyGetPixDepth()
[all …]
/external/deqp/framework/common/
DtcuCompressedTexture.cpp525 for (int pixelNdx = 0; pixelNdx < ETC2_BLOCK_HEIGHT*ETC2_BLOCK_WIDTH; pixelNdx++) in decompressETC1Block() local
527 const int x = pixelNdx / ETC2_BLOCK_HEIGHT; in decompressETC1Block()
528 const int y = pixelNdx % ETC2_BLOCK_HEIGHT; in decompressETC1Block()
532 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC1Block()
620 for (int pixelNdx = 0; pixelNdx < ETC2_BLOCK_HEIGHT*ETC2_BLOCK_WIDTH; pixelNdx++) in decompressETC2Block() local
622 const int x = pixelNdx / ETC2_BLOCK_HEIGHT; in decompressETC2Block()
623 const int y = pixelNdx % ETC2_BLOCK_HEIGHT; in decompressETC2Block()
627 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC2Block()
736 for (int pixelNdx = 0; pixelNdx < ETC2_BLOCK_HEIGHT*ETC2_BLOCK_WIDTH; pixelNdx++) in decompressETC2Block() local
738 const int x = pixelNdx / ETC2_BLOCK_HEIGHT; in decompressETC2Block()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsBase.cpp599 for (deUint32 pixelNdx = 0u; pixelNdx < mipLevelSizeInPixels; ++pixelNdx) in iterate() local
601 residencyReferenceData[pixelOffset + pixelNdx] = MEMORY_BLOCK_BOUND_VALUE; in iterate()
646 for (deUint32 pixelNdx = pixelOffset; pixelNdx < residencyReferenceData.size(); ++pixelNdx) in iterate() local
648 residencyReferenceData[pixelNdx] = MEMORY_BLOCK_BOUND_VALUE; in iterate()
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp1346 for (int pixelNdx = 0; pixelNdx < (int)inputValues.size()/m_localSize; pixelNdx++) in iterate() local
1348 const deUint32 res = pixels[pixelNdx*4]; in iterate()
1352 ref += inputValues[pixelNdx*m_localSize + offs]; in iterate()
1355 throw tcu::TestError(string("Comparison failed for pixel ") + de::toString(pixelNdx)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp1111 for (deUint32 pixelNdx = 0; pixelNdx < pixelCount; pixelNdx++) in getUniqueColorsCount() local
1113 const deUint32 pixelValue = *((const deUint32*)image.getDataPtr() + pixelNdx); in getUniqueColorsCount()
2194 for (deUint32 pixelNdx = 0; pixelNdx < pixelCount; pixelNdx++) in verifySampleShadedImage() local
2196 …t deUint32 noSampleShadingValue = *((const deUint32*)noSampleshadingImage.getDataPtr() + pixelNdx); in verifySampleShadedImage()
2215 … sampleShadedValue = *((const deUint32*)sampleShadedImages[i].getAccess().getDataPtr() + pixelNdx); in verifySampleShadedImage()
DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp541 const deUint32 pixelNdx = globalSampleNdx / numCoverageSamples; in reportSampleError() local
542 const deUint32 x = pixelNdx % renderSize.x(); in reportSampleError()
543 const deUint32 y = pixelNdx / renderSize.x(); in reportSampleError()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp2083 for (deUint32 pixelNdx = 0; pixelNdx < imageArea; ++pixelNdx) in iterate() local
2085 const deUint32 res = bufferPtr[pixelNdx]; in iterate()
2089 ref += refBufferPtr[pixelNdx * m_localSize + offs]; in iterate()
2094 msg << "Comparison failed for pixel " << pixelNdx; in iterate()