Home
last modified time | relevance | path

Searched refs:byteNdx (Results 1 – 11 of 11) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuThreadUtil.cpp289 for (int byteNdx = 0; byteNdx < (int)m_a->getSize(); byteNdx++) in exec() local
291 if (m_a->getData()[byteNdx] != m_b->getData()[byteNdx]) in exec()
294 thread.newMessage() << "CompareData failed at offset :" << byteNdx << Message::End; in exec()
DtcuAstcUtil.cpp210 for (int byteNdx = 0; byteNdx < WORD_BYTES; byteNdx++) in Block128() local
211 m_words[wordNdx] |= (Word)src[wordNdx*WORD_BYTES + byteNdx] << (8*byteNdx); in Block128()
1676 for (int byteNdx = 0; byteNdx < WORD_BYTES; byteNdx++) in assignToMemory() local
1677 dst[wordNdx*WORD_BYTES + byteNdx] = (deUint8)((m_words[wordNdx] >> (8*byteNdx)) & 0xff); in assignToMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseBinding.cpp435 for (size_t byteNdx = 0; byteNdx < mipLevelSizeInBytes; byteNdx++) in iterate() local
437 const deUint8 res = *(outputData + bufferOffset + byteNdx); in iterate()
438 const deUint8 ref = referenceData[bufferOffset + byteNdx]; in iterate()
442 if (!(byteNdx & 0x01) && (ignoreLsb6Bits)) in iterate()
444 else if (!(byteNdx & 0x01) && (ignoreLsb4Bits)) in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp801 for (deUint32 byteNdx = 0u; byteNdx < mipLevelSizeinBytes/8; byteNdx += 8) in iterate() local
803 void* prtData = &referenceData[bufferOffset + byteNdx]; in iterate()
804 *(static_cast<deUint64*>(prtData)) = (deUint64)((mipmapNdx + byteNdx) % 0x0FFFFFFF); in iterate()
809 for (deUint32 byteNdx = 0u; byteNdx < mipLevelSizeinBytes; ++byteNdx) in iterate() local
811 referenceData[bufferOffset + byteNdx] = (deUint8)( (mipmapNdx + byteNdx) % 127u ); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationCrossInstanceSharingTests.cpp1219 size_t byteNdx = 0; in iterate() local
1222 for (; actual.data[byteNdx] == expected.data[byteNdx]; byteNdx++) in iterate()
1227 … log << TestLog::Message << "First different byte at offset: " << byteNdx << TestLog::EndMessage; in iterate()
1230 if (byteNdx > 8) in iterate()
1235 byteNdx -= 8; in iterate()
1238 byteNdx = 0; in iterate()
1240 for (size_t i = 0; i < maxBytesLogged && byteNdx < expected.size; i++, byteNdx++) in iterate()
1242 expectedData << (i > 0 ? ", " : "") << (deUint32)expected.data[byteNdx]; in iterate()
1243 actualData << (i > 0 ? ", " : "") << (deUint32)actual.data[byteNdx]; in iterate()
1246 if (expected.size > byteNdx) in iterate()
DvktSynchronizationWin32KeyedMutexTests.cpp1771 size_t byteNdx = 0; in iterate() local
1774 for (; actual.data[byteNdx] == expected.data[byteNdx]; byteNdx++) in iterate()
1779 log << TestLog::Message << "First different byte at offset: " << byteNdx << TestLog::EndMessage; in iterate()
1782 if (byteNdx > 8) in iterate()
1787 byteNdx -= 8; in iterate()
1790 byteNdx = 0; in iterate()
1792 for (size_t i = 0; i < maxBytesLogged && byteNdx < expected.size; i++, byteNdx++) in iterate()
1794 expectedData << (i > 0 ? ", " : "") << (deUint32)expected.data[byteNdx]; in iterate()
1795 actualData << (i > 0 ? ", " : "") << (deUint32)actual.data[byteNdx]; in iterate()
1798 if (expected.size > byteNdx) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrCopyTests.cpp737 for (size_t byteNdx = 0; byteNdx < planeSize; byteNdx++) in imageCopyTest() local
739 const deUint8 res = ((const deUint8*)result.getPlanePtr(planeNdx))[byteNdx]; in imageCopyTest()
740 const deUint8 ref = ((const deUint8*)reference.getPlanePtr(planeNdx))[byteNdx]; in imageCopyTest()
743 if (!(byteNdx & 0x01) && (ignoreLsb6Bits)) in imageCopyTest()
745 else if (!(byteNdx & 0x01) && (ignoreLsb4Bits)) in imageCopyTest()
750 …log << TestLog::Message << "Plane: " << planeNdx << ", Offset: " << byteNdx << ", Expected: " << (… in imageCopyTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp769 for (int byteNdx = 0; byteNdx < numBytes; ++byteNdx) in readChannel() local
771 result = (result << 8U) | (deUint64) (cPtr[numBytes - byteNdx - 1]); in readChannel()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp977 for (int byteNdx = 0; byteNdx < compressedLevel->getDataSize(); byteNdx++) in populateCompressedLevels() local
978 compressedData[byteNdx] = 0xFF & random.getUint32(); in populateCompressedLevels()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp4405 for (deUint32 byteNdx = 0; byteNdx < typNumBytes; ++byteNdx) in runAndVerifyDefaultPipeline() local
4406 data.push_back(provided[offset + byteNdx]); in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp3093 for (int byteNdx = 0; byteNdx < compressedDataSize; byteNdx++) in CompressedTextureForBlit() local
3094 compressedData[byteNdx] = 0xFF & random.getUint32(); in CompressedTextureForBlit()