Home
last modified time | relevance | path

Searched refs:bufferPtr (Results 1 – 25 of 35) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFromHlslTests.cpp120 int* bufferPtr = static_cast<int*>(inAllocation->getHostPtr()); in iterate() local
121 memset(bufferPtr, 0, inBufferSizeBytes); in iterate()
122 bufferPtr[5] = testValue; in iterate()
206 const int* bufferPtr = static_cast<int*>(outAllocation->getHostPtr()); in iterate() local
207 if (*bufferPtr != testValue) in iterate()
DvktSpvAsmTrinaryMinMaxTests.cpp154 void genInputBuffer (void* bufferPtr, deUint32 numOperations);
329 void OperationManager::genInputBuffer (void* bufferPtr, deUint32 numOperations) in genInputBuffer() argument
332 char* byteBuffer = reinterpret_cast<char*>(bufferPtr); in genInputBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp741 deUint32 *bufferPtr = reinterpret_cast<deUint32*>(m_vertexNumBufferAlloc->getHostPtr()); in iterate() local
742 deMemset(bufferPtr, 0, (size_t)m_vertexNumBufferSize); in iterate()
744 initVertexIds(bufferPtr, (size_t)(m_vertexNumBufferSize / sizeof(deUint32))); in iterate()
975 const deUint64* bufferPtr = reinterpret_cast<const deUint64*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
976 return bufferPtr[vertexIndex] == *reinterpret_cast<const deUint64 *>(value); in isExpectedValueFromVertexBuffer()
980 const deUint32* bufferPtr = reinterpret_cast<const deUint32*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
981 return bufferPtr[vertexIndex] == *reinterpret_cast<const deUint32 *>(value); in isExpectedValueFromVertexBuffer()
988 const deInt64* bufferPtr = reinterpret_cast<const deInt64*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
989 return bufferPtr[vertexIndex] == *reinterpret_cast<const deInt64 *>(value); in isExpectedValueFromVertexBuffer()
993 const deInt32* bufferPtr = reinterpret_cast<const deInt32*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
[all …]
DvktRobustnessExtsTests.cpp1717 deUint8 *bufferPtr = DE_NULL; in iterate() local
1748 bufferPtr = (deUint8 *)buffer->getAllocation().getHostPtr(); in iterate()
1750 deMemset(bufferPtr, 0x3f, (size_t)size); in iterate()
1752 deMemset(bufferPtr, 0, m_data.bufferLen); in iterate()
1756 …deMemset(bufferPtr, 0, deIntRoundToPow2(m_data.bufferLen, (int)robustness2Properties.robustUniform… in iterate()
1761 …deMemset(bufferPtr, 0, deIntRoundToPow2(m_data.bufferLen, (int)robustness2Properties.robustStorage… in iterate()
1934 deUint32 *ptr = (deUint32 *)bufferPtr; in iterate()
1995 deUint32 *ptr = (deUint32 *)bufferPtr; in iterate()
2002 deUint32 *ptr = (deUint32 *)bufferPtr; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp266 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
273 const deUint32 res = bufferPtr[globalOffset + localOffset]; in iterate()
437 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
444 const deUint32 res = bufferPtr[globalOffset + localOffset]; in iterate()
610 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
617 const deUint32 res = bufferPtr[globalOffset + localOffset]; in iterate()
734 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr()); in iterate() local
736 *bufferPtr++ = rnd.getUint32(); in iterate()
810 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() local
815 const deUint32 res = *(bufferPtr + ndx); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp396 auto* bufferPtr = reinterpret_cast<unsigned char*>(bufferAlloc.getHostPtr()); in iterateAspect() local
406 fillWithRandomFloatingPoint<float>(rnd, bufferPtr, bufferSize); in iterateAspect()
408 fillWithRandomFloatingPoint<double>(rnd, bufferPtr, bufferSize); in iterateAspect()
410 fillWithRandomFloatingPoint<tcu::Float16>(rnd, bufferPtr, bufferSize); in iterateAspect()
412 fillWithRandomData24In32(rnd, bufferPtr, bufferSize); in iterateAspect()
414 fillWithRandomData(rnd, bufferPtr, bufferSize); in iterateAspect()
590 const auto layerBufferPtr = bufferPtr + layerBufferOffset; in iterateAspect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp180 deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
186 *bufferPtr++ = val; in iterate()
319 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
323 const deUint32 res = bufferPtr[ndx]; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemShaderTimeoutTests.cpp245 const deUint32* bufferPtr = static_cast<deUint32*>(storageAllocation.getHostPtr()); in iterate() local
248 const deUint32 res = bufferPtr[i]; in iterate()
DvktPostmortemUseAfterFreeTests.cpp335 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr()); in iterate() local
337 bufferPtr[i].x() = rnd.getUint32(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp2192 const deInt32* bufferPtr = (deInt32*)buffer->getAllocation().getHostPtr(); in validateIntBuffer() local
2202 if (bufferPtr[pos] != expectedValues[pos]) in validateIntBuffer()
2213 const deInt32* loggedData = (n == 0) ? bufferPtr : expectedValues.data(); in validateIntBuffer()
2223 if (bufferPtr[pos] == expectedValues[pos]) in validateIntBuffer()
2245 const deInt32* bufferPtr = (deInt32*)buffer->getAllocation().getHostPtr(); in validateFloatBuffer() local
2255 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateFloatBuffer()
2278 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateFloatBuffer()
2303 const deInt32* bufferPtr = (deInt32*)buffer->getAllocation().getHostPtr(); in validateVectorBuffer() local
2316 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateVectorBuffer()
2341 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateVectorBuffer()
[all …]
DvktRayTracingDataSpillTests.cpp1434 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1443 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1452 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1462 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1473 deMemcpy(bufferPtr, inputBufferValue.data(), de::dataSize(inputBufferValue)); \
1476 void fillInputBuffer (DataType dataType, VectorType vectorType, void* bufferPtr) in fillInputBuffer() argument
1494 deMemcpy(bufferPtr, &data, sizeof(data)); in fillInputBuffer()
1954 const auto& bufferPtr = ptr.second; in iterate() local
1957 deMemcpy(&outputVal, bufferPtr, sizeof(outputVal)); in iterate()
DvktRayTracingBuildTests.cpp521 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in validateBuffer() local
534 if (bufferPtr[pos] != expectedValue) in validateBuffer()
542 if (bufferPtr[pos] != anyHitValue) in validateBuffer()
DvktRayTracingNullASTests.cpp518 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in validateBuffer() local
526 if (bufferPtr[pos] != expectedValue) in validateBuffer()
DvktRayTracingProceduralGeometryTests.cpp233 void* bufferPtr = bufferAlloc.getHostPtr(); in clearBuffer() local
235 deMemset(bufferPtr, 1, static_cast<size_t>(bufferSize)); in clearBuffer()
DvktRayTracingTraceRaysTests.cpp572 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in iterate() local
584 if (bufferPtr[pos] != expectedResult) in iterate()
DvktRayTracingBuildLargeTests.cpp485 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in validateBuffer() local
494 if (bufferPtr[pos] != expectedValue) in validateBuffer()
DvktRayTracingBuildIndirectTests.cpp648 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in iterate() local
653 const deUint32* bufferPtrLevel = &bufferPtr[z * m_data.height * m_data.width]; in iterate()
DvktRayTracingBarrierTests.cpp847 auto* bufferPtr = bufferAlloc.getHostPtr(); in fillStd140Buffer() local
853 deMemcpy(bufferPtr, bufferData.data(), static_cast<size_t>(kBufferSize)); in fillStd140Buffer()
862 auto* bufferPtr = bufferAlloc.getHostPtr(); in fillStd430Buffer() local
867 deMemcpy(bufferPtr, bufferData.data(), static_cast<size_t>(kBufferSize430)); in fillStd430Buffer()
DvktRayTracingPipelineLibraryTests.cpp687 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in iterate() local
709 if (bufferPtr[pos] != expectedResult) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInterfaceMatchingTests.cpp380 const unsigned char* bufferPtr = static_cast<unsigned char*>(m_resultBufferAlloc->getHostPtr()); in iterate() local
381 if ((bufferPtr[0] > 254) && (bufferPtr[renderSize.x()*4+8] > 254)) in iterate()
384 …s resultAccess(textureFormat, tcu::IVec3((int)renderSize.x(), (int)renderSize.y(), 1u), bufferPtr); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp348 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() local
351 if (bufferPtr[0] != expectedResult) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryProceduralGeometryTests.cpp229 void* bufferPtr = bufferAlloc.getHostPtr(); in clearBuffer() local
231 deMemset(bufferPtr, 1, static_cast<size_t>(bufferSize)); in clearBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorSetTests.cpp380 deUint32 *bufferPtr = (deUint32 *)buffer->getAllocation().getHostPtr(); in descriptorSetLayoutBindingOrderingTest() local
381 *bufferPtr = 5; in descriptorSetLayoutBindingOrderingTest()
DvktApiPipelineTests.cpp1333 void* bufferPtr = bufferAlloc.getHostPtr(); in destroyEarlyTest() local
1336 deMemcpy(bufferPtr, bufferValues.data(), kBufferSize); in destroyEarlyTest()
1449 deMemcpy(outputData.data(), bufferPtr, kBufferSize); in destroyEarlyTest()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp1144 glw::GLvoid * bufferPtr = vertexBuffer.mapBufferPtr(); in makeTessellationEvaluationFrameBufferTest() local
1156 deMemcpy(bufferPtr, &data[0], data.size() * sizeof(tcu::Vec4)); in makeTessellationEvaluationFrameBufferTest()
1328 glw::GLvoid * bufferPtr = vertexBuffer.mapBufferPtr(); in makeGeometryFrameBufferTest() local
1339 deMemcpy(bufferPtr, &data[0], maxWidth * sizeof(tcu::Vec4)); in makeGeometryFrameBufferTest()
1782 glw::GLvoid * bufferPtr = vertexBuffer.mapBufferPtr(); in makeVertexFrameBufferTest() local
1793 deMemcpy(bufferPtr, &data[0], maxWidth * sizeof(tcu::Vec4)); in makeVertexFrameBufferTest()

12