Home
last modified time | relevance | path

Searched refs:hostBuffer (Results 1 - 8 of 8) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalRenderingTestUtil.cpp65 de::SharedPtr<Draw::Buffer> hostBuffer = Draw::Buffer::createAndAlloc(vk, device, in createConditionalRenderingBuffer() local
72 deUint8* conditionBufferPtr = reinterpret_cast<deUint8*>(hostBuffer->getHostPtr()); in createConditionalRenderingBuffer()
75 vk::flushAlloc(vk, context.getDevice(), hostBuffer->getBoundMemory()); in createConditionalRenderingBuffer()
79 return hostBuffer; in createConditionalRenderingBuffer()
94 vk.cmdCopyBuffer(*cmdBuffer, hostBuffer->object(), deviceLocalBuffer->object(), 1, &copyInfo); in createConditionalRenderingBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalRenderingTestUtil.cpp65 de::SharedPtr<Draw::Buffer> hostBuffer = Draw::Buffer::createAndAlloc(vk, device, in createConditionalRenderingBuffer() local
72 deUint8* conditionBufferPtr = reinterpret_cast<deUint8*>(hostBuffer->getHostPtr()); in createConditionalRenderingBuffer()
75 vk::flushAlloc(vk, context.getDevice(), hostBuffer->getBoundMemory()); in createConditionalRenderingBuffer()
79 return hostBuffer; in createConditionalRenderingBuffer()
94 vk.cmdCopyBuffer(*cmdBuffer, hostBuffer->object(), deviceLocalBuffer->object(), 1, &copyInfo); in createConditionalRenderingBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryBindingTests.cpp907 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in pushData() local
912 hostBuffer[i] = static_cast<deUint8>(random.getNext() & 0xFFu); in pushData()
924 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in checkData() local
931 if (hostBuffer[i] != static_cast<deUint8>(random.getNext() & 0xFFu) ) in checkData()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryBindingTests.cpp907 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in pushData() local
912 hostBuffer[i] = static_cast<deUint8>(random.getNext() & 0xFFu); in pushData()
924 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in checkData() local
931 if (hostBuffer[i] != static_cast<deUint8>(random.getNext() & 0xFFu) ) in checkData()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineDynamicOffsetTests.cpp452 vector<deUint8> hostBuffer((size_t)bufferSize, 0); in init()
454 deMemcpy(&hostBuffer[(deUint32)colorBlockInputSize * colorIdx], &testColors[colorIdx], kColorSize); in init()
474 deMemcpy(m_bufferAlloc->getHostPtr(), hostBuffer.data(), (size_t)bufferSize); in init()
1020 vector<deUint8> hostBuffer((deUint32)bufferSize, 0); in init()
1022 deMemcpy(&hostBuffer[colorBlockInputSizeU32 * colorIdx], &testColors[colorIdx], kColorSize); in init()
1042 deMemcpy(m_bufferAlloc->getHostPtr(), hostBuffer.data(), (size_t)bufferSize); in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDynamicOffsetTests.cpp453 vector<deUint8> hostBuffer((size_t)bufferSize, 0); in init()
455 deMemcpy(&hostBuffer[(deUint32)colorBlockInputSize * colorIdx], &testColors[colorIdx], kColorSize); in init()
475 deMemcpy(m_bufferAlloc->getHostPtr(), hostBuffer.data(), (size_t)bufferSize); in init()
1024 vector<deUint8> hostBuffer((deUint32)bufferSize, 0); in init()
1026 deMemcpy(&hostBuffer[colorBlockInputSizeU32 * colorIdx], &testColors[colorIdx], kColorSize); in init()
1046 deMemcpy(m_bufferAlloc->getHostPtr(), hostBuffer.data(), (size_t)bufferSize); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp235 Data getHostBufferData (const OperationContext& context, const Buffer& hostBuffer, const VkDeviceSize size) in getHostBufferData() argument
239 const Allocation& alloc = hostBuffer.getAllocation(); in getHostBufferData()
251 void setHostBufferData (const OperationContext& context, const Buffer& hostBuffer, const Data& data) in setHostBufferData() argument
255 const Allocation& alloc = hostBuffer.getAllocation(); in setHostBufferData()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp234 Data getHostBufferData (const OperationContext& context, const Buffer& hostBuffer, const VkDeviceSize size) in getHostBufferData() argument
238 const Allocation& alloc = hostBuffer.getAllocation(); in getHostBufferData()
250 void setHostBufferData (const OperationContext& context, const Buffer& hostBuffer, const Data& data) in setHostBufferData() argument
254 const Allocation& alloc = hostBuffer.getAllocation(); in setHostBufferData()

Completed in 37 milliseconds