Home
last modified time | relevance | path

Searched refs:VK_CHECK (Results 1 – 25 of 65) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp107 VK_CHECK(m_vkd.allocateCommandBuffers(m_device, &cmdBufferAllocateInfo, m_primaryCommandBuffers)); in CommandBufferBareTestEnvironment()
245VK_CHECK(m_vkd.bindImageMemory(m_device, *m_colorImage, m_colorImageMemory->getMemory(), m_colorIm… in CommandBufferRenderPassTestEnvironment()
342 VK_CHECK(m_vkd.beginCommandBuffer(m_primaryCommandBuffers[0], &commandBufferBeginInfo)); in beginPrimaryCommandBuffer()
369 VK_CHECK(m_vkd.beginCommandBuffer(*m_secondaryCommandBuffer, &commandBufferBeginInfo)); in beginSecondaryCommandBuffer()
399 VK_CHECK(m_vkd.queueSubmit(m_queue, 1, &submitInfo, *fence)); in submitPrimaryCommandBuffer()
401 VK_CHECK(m_vkd.waitForFences(m_device, 1, &fence.get(), VK_TRUE, ~0ull)); in submitPrimaryCommandBuffer()
429VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffse… in readColorAttachment()
483 VK_CHECK(m_vkd.endCommandBuffer(m_primaryCommandBuffers[0])); in readColorAttachment()
590 VK_CHECK(vk.resetCommandPool(vkDevice, *cmdPool, VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT)); in resetPoolReleaseResourcesBitTest()
611 VK_CHECK(vk.resetCommandPool(vkDevice, *cmdPool, 0u)); in resetPoolNoFlagsTest()
[all …]
DvktApiCopiesAndBlittingTests.cpp251VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()… in uploadImage()
366 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in uploadImage()
370 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in uploadImage()
385 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *fence)); in uploadImage()
386 VK_CHECK(vk.waitForFences(vkDevice, 1, &fence.get(), true, ~(0ull) /* infinity */)); in uploadImage()
470VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readImage()
554 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in readImage()
558 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in readImage()
573 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *fence)); in readImage()
574 VK_CHECK(vk.waitForFences(device, 1, &fence.get(), 0, ~(0ull) /* infinity */)); in readImage()
[all …]
DvktApiSmokeTests.cpp362VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBuffe… in renderTriangleTest()
379VK_CHECK(vk.bindBufferMemory(vkDevice, *readImageBuffer, readImageBufferMemory->getMemory(), readI… in renderTriangleTest()
403 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleTest()
734 VK_CHECK(vk.beginCommandBuffer(*cmdBuf, &cmdBufBeginParams)); in renderTriangleTest()
857 VK_CHECK(vk.endCommandBuffer(*cmdBuf)); in renderTriangleTest()
872 VK_CHECK(vk.flushMappedMemoryRanges(vkDevice, 1u, &range)); in renderTriangleTest()
897 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in renderTriangleTest()
898 VK_CHECK(vk.waitForFences(vkDevice, 1u, &fence.get(), DE_TRUE, ~0ull)); in renderTriangleTest()
914 VK_CHECK(vk.invalidateMappedMemoryRanges(vkDevice, 1u, &range)); in renderTriangleTest()
974VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBuffe… in renderTriangleUnusedResolveAttachmentTest()
[all …]
DvktApiBufferViewAccessTests.cpp179VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in BufferViewTestInstance()
199VK_CHECK(vk.bindBufferMemory(vkDevice, *m_resultBuffer, m_resultBufferAlloc->getMemory(), m_result… in BufferViewTestInstance()
337 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_uniformBuffer, m_uniformBufferAlloc->getMemory(), 0)); in BufferViewTestInstance()
613VK_CHECK(vk.bindBufferMemory(vkDevice, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertex… in BufferViewTestInstance()
675 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in BufferViewTestInstance()
760 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in BufferViewTestInstance()
821 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get())); in iterate()
822 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *m_fence)); in iterate()
823 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity */)); in iterate()
839 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get())); in iterate()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkRefUtilImpl.inl132 VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object));
139 VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object));
146 VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object));
153 VK_CHECK(vk.createFence(device, pCreateInfo, pAllocator, &object));
160 VK_CHECK(vk.createSemaphore(device, pCreateInfo, pAllocator, &object));
167 VK_CHECK(vk.createEvent(device, pCreateInfo, pAllocator, &object));
174 VK_CHECK(vk.createQueryPool(device, pCreateInfo, pAllocator, &object));
181 VK_CHECK(vk.createBuffer(device, pCreateInfo, pAllocator, &object));
188 VK_CHECK(vk.createBufferView(device, pCreateInfo, pAllocator, &object));
195 VK_CHECK(vk.createImage(device, pCreateInfo, pAllocator, &object));
[all …]
DvkQueryUtil.cpp37 VK_CHECK(vk.enumeratePhysicalDevices(instance, &numDevices, DE_NULL)); in enumeratePhysicalDevices()
42 VK_CHECK(vk.enumeratePhysicalDevices(instance, &numDevices, &devices[0])); in enumeratePhysicalDevices()
116VK_CHECK(vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, fl… in getPhysicalDeviceImageFormatProperties()
158 VK_CHECK(vkp.enumerateInstanceLayerProperties(&numLayers, DE_NULL)); in enumerateInstanceLayerProperties()
163 VK_CHECK(vkp.enumerateInstanceLayerProperties(&numLayers, &properties[0])); in enumerateInstanceLayerProperties()
175 VK_CHECK(vkp.enumerateInstanceExtensionProperties(layerName, &numExtensions, DE_NULL)); in enumerateInstanceExtensionProperties()
180 VK_CHECK(vkp.enumerateInstanceExtensionProperties(layerName, &numExtensions, &properties[0])); in enumerateInstanceExtensionProperties()
192 VK_CHECK(vki.enumerateDeviceLayerProperties(physicalDevice, &numLayers, DE_NULL)); in enumerateDeviceLayerProperties()
197 VK_CHECK(vki.enumerateDeviceLayerProperties(physicalDevice, &numLayers, &properties[0])); in enumerateDeviceLayerProperties()
209VK_CHECK(vki.enumerateDeviceExtensionProperties(physicalDevice, layerName, &numExtensions, DE_NULL… in enumerateDeviceExtensionProperties()
[all …]
DvkWsiUtil.cpp244 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object)); in createSurface()
255VK_CHECK(vki.getPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, &result… in getPhysicalDeviceSurfaceSupport()
268 VK_CHECK(vki.getPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, &capabilities)); in getPhysicalDeviceSurfaceCapabilities()
279 VK_CHECK(vki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &numFormats, DE_NULL)); in getPhysicalDeviceSurfaceFormats()
285VK_CHECK(vki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &numFormats, &formats[0])… in getPhysicalDeviceSurfaceFormats()
299 VK_CHECK(vki.getPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, &numModes, DE_NULL)); in getPhysicalDeviceSurfacePresentModes()
305VK_CHECK(vki.getPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, &numModes, &modes[0]… in getPhysicalDeviceSurfacePresentModes()
319 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, DE_NULL)); in getSwapchainImages()
325 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, &images[0])); in getSwapchainImages()
DvkRefUtil.cpp38 VK_CHECK(vk.createGraphicsPipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); in createGraphicsPipeline()
49 VK_CHECK(vk.createComputePipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); in createComputePipeline()
57 VK_CHECK(vk.allocateCommandBuffers(device, pAllocateInfo, &object)); in allocateCommandBuffer()
65 VK_CHECK(vk.allocateDescriptorSets(device, pAllocateInfo, &object)); in allocateDescriptorSet()
DvkMemUtil.cpp60 VK_CHECK(vkd.mapMemory(device, mem, offset, size, flags, &hostPtr)); in mapMemory()
224 VK_CHECK(vkd.flushMappedMemoryRanges(device, 1u, &range)); in flushMappedMemoryRange()
238 VK_CHECK(vkd.invalidateMappedMemoryRanges(device, 1u, &range)); in invalidateMappedMemoryRange()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp43VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer()
54VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset()… in Image()
285 VK_CHECK(vk.beginCommandBuffer(commandBuffer, &commandBufBeginParams)); in beginCommandBuffer()
290 VK_CHECK(vk.endCommandBuffer(commandBuffer)); in endCommandBuffer()
319 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
320 VK_CHECK(vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull)); in submitCommandsAndWait()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp530 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in setupUniformData()
601 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
789VK_CHECK(vk.bindImageMemory(vkDevice, vkTexture, allocation->getMemory(), allocation->getOffset())… in uploadImage2D()
853 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in copyTilingImageToOptimal()
910 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in copyTilingImageToOptimal()
934 VK_CHECK(vk.resetFences(vkDevice, 1, &fence.get())); in copyTilingImageToOptimal()
935 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *fence)); in copyTilingImageToOptimal()
936 VK_CHECK(vk.waitForFences(vkDevice, 1, &fence.get(), true, ~(0ull) /* infinity*/)); in copyTilingImageToOptimal()
969VK_CHECK(vk.bindImageMemory(vkDevice, *vkTexture, allocation->getMemory(), allocation->getOffset()… in useSampler2D()
1132VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in render()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp507VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in PushConstantGraphicsTestInstance()
644VK_CHECK(vk.bindBufferMemory(vkDevice, *m_uniformBuffer, m_uniformBufferAlloc->getMemory(), m_unif… in PushConstantGraphicsTestInstance()
934VK_CHECK(vk.bindBufferMemory(vkDevice, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertex… in PushConstantGraphicsTestInstance()
1004 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in PushConstantGraphicsTestInstance()
1049 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in PushConstantGraphicsTestInstance()
1087 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get())); in iterate()
1088 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *m_fence)); in iterate()
1089 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity*/)); in iterate()
1292VK_CHECK(vk.bindBufferMemory(vkDevice, *m_outBuffer, m_outBufferAlloc->getMemory(), m_outBufferAll… in PushConstantComputeTestInstance()
1388 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in PushConstantComputeTestInstance()
[all …]
DvktPipelineCacheTests.cpp482VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory()
523 VK_CHECK(vk.bindImageMemory(vkDevice, *image, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); in createImage2DAndBindMemory()
644 VK_CHECK(vk.resetFences(vkDevice, 1u, &m_fence.get())); in iterate()
658 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *m_fence)); in iterate()
660 VK_CHECK(vk.waitForFences(vkDevice, 1u, &m_fence.get(), true, ~(0ull) /* infinity*/)); in iterate()
1106 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in prepareCommandBuffer()
1112 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in prepareCommandBuffer()
1391 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in prepareCommandBuffer()
1400 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in prepareCommandBuffer()
1491 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, DE_NULL)); in MergeCacheTestInstance()
[all …]
DvktPipelineImageUtil.cpp201VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment()
295 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in readColorAttachment()
299 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in readColorAttachment()
314 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *fence)); in readColorAttachment()
315 VK_CHECK(vk.waitForFences(device, 1, &fence.get(), 0, ~(0ull) /* infinity */)); in readColorAttachment()
359VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in uploadTestTexture()
467 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in uploadTestTexture()
472 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in uploadTestTexture()
487 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *fence)); in uploadTestTexture()
488 VK_CHECK(vk.waitForFences(device, 1, &fence.get(), true, ~(0ull) /* infinity */)); in uploadTestTexture()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp44VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer()
55VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset()… in Image()
405 VK_CHECK(vk.beginCommandBuffer(commandBuffer, &commandBufBeginParams)); in beginCommandBuffer()
409 VK_CHECK(vk.endCommandBuffer(commandBuffer)); in endCommandBuffer()
438 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
439 VK_CHECK(vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull)); in submitCommandsAndWait()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp46VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer()
57VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset()… in Image()
477 VK_CHECK(vk.beginCommandBuffer(commandBuffer, &commandBufBeginParams)); in beginCommandBuffer()
482 VK_CHECK(vk.endCommandBuffer(commandBuffer)); in endCommandBuffer()
507 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, DE_NULL)); in submitCommands()
541 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
542 VK_CHECK(vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull)); in submitCommandsAndWait()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSwapchainTests.cpp1209VK_CHECK(vkd.bindBufferMemory(device, *m_vertexBuffer, m_vertexBufferMemory->getMemory(), m_vertex… in TriangleRenderer()
1229 VK_CHECK(vkd.flushMappedMemoryRanges(device, 1u, &memRange)); in TriangleRenderer()
1251 VK_CHECK(m_vkd.beginCommandBuffer(cmdBuffer, &cmdBufBeginParams)); in recordFrame()
1283 VK_CHECK(m_vkd.endCommandBuffer(cmdBuffer)); in recordFrame()
1454VK_CHECK(vkd.waitForFences(device, 1u, &imageReadyFence, VK_TRUE, std::numeric_limits<deUint64>::m… in basicRenderTest()
1456 VK_CHECK(vkd.resetFences(device, 1, &imageReadyFence)); in basicRenderTest()
1469 VK_CHECK(acquireResult); in basicRenderTest()
1503 VK_CHECK(vkd.queueSubmit(devHelper.queue, 1u, &submitInfo, (VkFence)0)); in basicRenderTest()
1504 VK_CHECK(vkd.queuePresentKHR(devHelper.queue, &presentInfo)); in basicRenderTest()
1508 VK_CHECK(vkd.deviceWaitIdle(device)); in basicRenderTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.cpp298 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in readUsingBuffer()
336 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in readUsingBuffer()
353 VK_CHECK(m_vk.queueWaitIdle(queue)); in readUsingBuffer()
432 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in copyToLinearImage()
440 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in copyToLinearImage()
457 VK_CHECK(m_vk.queueWaitIdle(queue)); in copyToLinearImage()
584 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in upload()
623 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in upload()
640 VK_CHECK(m_vk.queueWaitIdle(queue)); in upload()
705 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in uploadUsingBuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp321 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in readUsingBuffer()
359 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in readUsingBuffer()
376 VK_CHECK(m_vk.queueWaitIdle(queue)); in readUsingBuffer()
455 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in copyToLinearImage()
463 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in copyToLinearImage()
480 VK_CHECK(m_vk.queueWaitIdle(queue)); in copyToLinearImage()
607 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in upload()
646 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in upload()
663 VK_CHECK(m_vk.queueWaitIdle(queue)); in upload()
728 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in uploadUsingBuffer()
[all …]
DvktDrawIndexedTest.cpp167 VK_CHECK(m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in iterate()
169 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate()
288 VK_CHECK(m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in iterate()
290 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate()
293 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate()
DvktDrawSimpleTest.cpp160 VK_CHECK(m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in iterate()
162 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate()
266 VK_CHECK(m_vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in iterate()
268 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate()
271 VK_CHECK(m_vk.queueWaitIdle(queue)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.cpp321 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in readUsingBuffer()
359 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in readUsingBuffer()
376 VK_CHECK(m_vk.queueWaitIdle(queue)); in readUsingBuffer()
455 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in copyToLinearImage()
463 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in copyToLinearImage()
480 VK_CHECK(m_vk.queueWaitIdle(queue)); in copyToLinearImage()
607 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in upload()
646 VK_CHECK(m_vk.endCommandBuffer(*copyCmdBuffer)); in upload()
663 VK_CHECK(m_vk.queueWaitIdle(queue)); in upload()
728 VK_CHECK(m_vk.beginCommandBuffer(*copyCmdBuffer, &beginInfo)); in uploadUsingBuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp638 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
811VK_CHECK(vk.bindImageMemory(vkDevice, colorImages.back().get()->get(), colorImageAlloc->getMemory(… in execute()
1238 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in execute()
1268 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in execute()
1299 VK_CHECK(vk.resetFences(vkDevice, 1, &fence.get())); in execute()
1300 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, *fence)); in execute()
1301 VK_CHECK(vk.waitForFences(vkDevice, 1, &fence.get(), DE_TRUE, ~(0ull) /* infinity*/)); in execute()
1381VK_CHECK(vk.bindBufferMemory(vkDevice, *readImageBuffer, readImageBufferMemory->getMemory(), readI… in execute()
1401 VK_CHECK(vk.beginCommandBuffer(*copyCmdBuffer, &cmdBufferBeginInfo)); in execute()
1403 VK_CHECK(vk.endCommandBuffer(*copyCmdBuffer)); in execute()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp70VK_CHECK(vkdi.bindBufferMemory(device, *buffer, bufferMemory->getMemory(), bufferMemory->getOffset… in createBufferAndBindMemory()
371 VK_CHECK(vkdi.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in iterate()
375 VK_CHECK(vkdi.endCommandBuffer(*cmdBuffer)); in iterate()
400 VK_CHECK(vkdi.queueSubmit(m_context.getUniversalQueue(), 1, &submitInfo, *cmdCompleteFence)); in iterate()
401VK_CHECK(vkdi.waitForFences(device, 1, &cmdCompleteFence.get(), 0u, infiniteTimeout)); // \note: t… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/
DvktSynchronization.cpp174VK_CHECK(vkd.bindBufferMemory(device, *buffer.buffer, buffer.allocation->getMemory(), buffer.alloc… in createVulkanBuffer()
192 VK_CHECK(vkd.flushMappedMemoryRanges(device, 1, &range)); in createVulkanBuffer()
257VK_CHECK(vkd.bindImageMemory(device, *image.image, image.allocation->getMemory(), image.allocation… in createVulkanImage()
420 VK_CHECK(deviceInterface.allocateCommandBuffers(device, &commandBufferInfo, &commandBuffer)); in createCommandBuffer()
436 VK_CHECK(deviceInterface.createFence(device, &fenceState, DE_NULL, &fence[ndx])); in createFences()
906 VK_CHECK(deviceInterface.beginCommandBuffer(testContext.cmdBuffer.get(), &commandBufRecordState)); in generateWork()
974 VK_CHECK(deviceInterface.endCommandBuffer(transferInfo.commandBuffer)); in generateWork()
1038 VK_CHECK(deviceInterface.queueSubmit(queue, 1, &submitInfo, testContext.fences[0])); in testFences()
1087 VK_CHECK(deviceInterface.invalidateMappedMemoryRanges(device, 1, &range)); in testFences()
1110VK_CHECK(deviceInterface.createSemaphore(device, &semaCreateInfo, allocationCallbacks, &semaphore)… in createSemaphore()
[all …]

123