/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolOcclusionTests.cpp | 354 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::V… in iterate() local 356 beginCommandBuffer(vk, *cmdBuffer); in iterate() 358 …initialTransitionColor2DImage(vk, *cmdBuffer, m_stateObjects->m_colorAttachmentImage->object(), vk… in iterate() 360 …initialTransitionDepth2DImage(vk, *cmdBuffer, m_stateObjects->m_DepthImage->object(), vk::VK_IMAGE… in iterate() 366 vk.cmdResetQueryPool(*cmdBuffer, m_queryPool, 0, NUM_QUERIES_IN_POOL); in iterate() 368 …beginRenderPass(vk, *cmdBuffer, *m_stateObjects->m_renderPass, *m_stateObjects->m_framebuffer, vk:… in iterate() 370 vk.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_stateObjects->m_pipeline); in iterate() 374 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 376 …vk.cmdBeginQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY, m_testVector.queryControlFlag… in iterate() 377 vk.cmdEndQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY); in iterate() [all …]
|
D | vktQueryPoolStatisticsTests.cpp | 330 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, cmdPool, VK_COMMAND_B… in executeTest() local 333 beginCommandBuffer(vk, *cmdBuffer); in executeTest() 334 vk.cmdResetQueryPool(*cmdBuffer, *queryPool, 0u, 1u); in executeTest() 336 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in executeTest() 337 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipelineLayout, 0u, 1u, &desc… in executeTest() 339 vk.cmdBeginQuery(*cmdBuffer, *queryPool, 0u, (VkQueryControlFlags)0u); in executeTest() 340 …vk.cmdDispatch(*cmdBuffer, m_parameters[parametersNdx].groupSize.x(), m_parameters[parametersNdx].… in executeTest() 341 vk.cmdEndQuery(*cmdBuffer, *queryPool, 0u); in executeTest() 343 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, in executeTest() 345 endCommandBuffer(vk, *cmdBuffer); in executeTest() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageCompressionTranscodingSupport.cpp | 507 void copyDataToImage (const VkCommandBuffer& cmdBuffer, 511 virtual void executeShader (const VkCommandBuffer& cmdBuffer, 515 bool copyResultAndCompare (const VkCommandBuffer& cmdBuffer, 524 bool decompressImage (const VkCommandBuffer& cmdBuffer, 543 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAN… in iterate() local 598 copyDataToImage(*cmdBuffer, imageData[compressedNdx], mipMapSizes, true); in iterate() 601 copyDataToImage(*cmdBuffer, imageData[1], mipMapSizes, false); in iterate() 635 executeShader(*cmdBuffer, *descriptorSetLayout, *descriptorPool, imageData); in iterate() 646 … if (!copyResultAndCompare(*cmdBuffer, imageData[resultImageNdx].getImage(imageNdx), offset, size)) in iterate() 652 if (!decompressImage(*cmdBuffer, imageData, mipMapSizes)) in iterate() [all …]
|
D | vktImageLoadStoreTests.cpp | 260 …arrierBetweenShaderInvocations (Context& context, const VkCommandBuffer cmdBuffer, const VkImage i… in commandImageWriteBarrierBetweenShaderInvocations() argument 270 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_S… in commandImageWriteBarrierBetweenShaderInvocations() 273 void commandBufferWriteBarrierBeforeHostRead (Context& context, const VkCommandBuffer cmdBuffer, co… in commandBufferWriteBarrierBeforeHostRead() argument 281 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT,… in commandBufferWriteBarrierBeforeHostRead() 286 const VkCommandBuffer cmdBuffer, in commandCopyImageToBuffer() argument 306 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_… in commandCopyImageToBuffer() 307 …vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ©R… in commandCopyImageToBuffer() 308 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDe… in commandCopyImageToBuffer() 426 virtual void commandBeforeCompute (const VkCommandBuffer cmdBuffer) = 0; 427 virtual void commandBetweenShaderInvocations (const VkCommandBuffer cmdBuffer) = 0; [all …]
|
D | vktImageMultisampleLoadStoreTests.cpp | 324 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_B… in test() local 335 beginCommandBuffer(vk, *cmdBuffer); in test() 336 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in test() 345 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COMPUTE_SHA… in test() 360 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &des… in test() 361 vk.cmdDispatch(*cmdBuffer, workSize.x(), workSize.y(), workSize.z()); in test() 364 endCommandBuffer(vk, *cmdBuffer); in test() 365 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in test() 373 beginCommandBuffer(vk, *cmdBuffer); in test() 374 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in test() [all …]
|
D | vktImageTranscodingSupportTests.cpp | 379 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMA… in transcode() local 401 beginCommandBuffer(vk, *cmdBuffer); in transcode() 402 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in transcode() 405 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, (VkD… in transcode() 406 …vk.cmdCopyBufferToImage(*cmdBuffer, srcImageBuffer->get(), srcImage->get(), VK_IMAGE_LAYOUT_TRANSF… in transcode() 407 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_FRAGMENT_SHADE… in transcode() 409 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderSize); in transcode() 415 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, &de… in transcode() 416 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer->get(), vertexBufferOffset); in transcode() 417 vk.cmdDraw(*cmdBuffer, vertexCount, 1, 0, 0); in transcode() [all …]
|
D | vktImageQualifiersTests.cpp | 325 virtual void commandsBeforeCompute (const VkCommandBuffer cmdBuffer, 328 virtual void commandsAfterCompute (const VkCommandBuffer cmdBuffer, 394 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(deviceInterface, device, *cmdPool, V… in iterate() local 397 beginCommandBuffer(deviceInterface, *cmdBuffer); in iterate() 399 deviceInterface.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate() 400 …deviceInterface.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout,… in iterate() 402 commandsBeforeCompute(*cmdBuffer, bufferSizeInBytes); in iterate() 405 deviceInterface.cmdDispatch(*cmdBuffer, numGroups.x(), numGroups.y(), numGroups.z()); in iterate() 407 commandsAfterCompute(*cmdBuffer, bufferSizeInBytes); in iterate() 409 endCommandBuffer(deviceInterface, *cmdBuffer); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicClass.cpp | 92 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in iterate() local 135 beginCommandBuffer(vk, *cmdBuffer); in iterate() 144 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTAC… in iterate() 155 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea, clearColor); in iterate() 158 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in iterate() 162 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, DE_LENGTH_OF_ARRAY(buffers), buffers, offsets); in iterate() 165 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate() 167 drawCommand (*cmdBuffer); in iterate() 168 endRenderPass(vk, *cmdBuffer); in iterate() 171 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 236 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate() local 240 beginCommandBuffer(vk, *cmdBuffer); in iterate() 242 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate() 243 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &des… in iterate() 245 vk.cmdDispatch(*cmdBuffer, m_workSize.x(), m_workSize.y(), m_workSize.z()); in iterate() 247 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT… in iterate() 249 endCommandBuffer(vk, *cmdBuffer); in iterate() 253 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in iterate() 407 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate() local 411 beginCommandBuffer(vk, *cmdBuffer); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineFramebufferAttachmentTests.cpp | 427 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in test() local 478 beginCommandBuffer(vk, *cmdBuffer); in test() 498 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BI… in test() 506 …vk.cmdClearColorImage(*cmdBuffer, caseDef.multisample ? *msColorImage : *colorImage, VK_IMAGE_LAYO… in test() 524 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHME… in test() 532 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, caseDef.renderSize.x()… in test() 534 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &vertexBuffer.get(), &vertexBufferOffset); in test() 538 vk.cmdNextSubpass(*cmdBuffer, VK_SUBPASS_CONTENTS_INLINE); in test() 540 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **pipeline[layerNdx]); in test() 541 vk.cmdDraw(*cmdBuffer, 4u, 1u, layerNdx*4u, 0u); in test() [all …]
|
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 951 const VkCommandBuffer cmdBuffer, in recordBeginRenderPass() argument 978 vk.cmdBeginRenderPass(cmdBuffer, &renderPassBeginInfo, subpassContents); in recordBeginRenderPass() 1006 const VkCommandBuffer cmdBuffer, in recordImageBarrier() argument 1031 …vk.cmdPipelineBarrier(cmdBuffer, srcStageMask, dstStageMask, (VkDependencyFlags)0, 0u, DE_NULL, 0u… in recordImageBarrier() 1035 const VkCommandBuffer cmdBuffer, in recordWaitEventWithImage() argument 1062 cmdBuffer, // VkCommandBuffer commandBuffer, in recordWaitEventWithImage() 1076 const VkCommandBuffer cmdBuffer, in recordCopyImageToBuffer() argument 1093 …vk.cmdCopyImageToBuffer(cmdBuffer, srcImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dstBuffer, 1u, … in recordCopyImageToBuffer() 1110 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDe… in recordCopyImageToBuffer() 1116 const VkCommandBuffer cmdBuffer, in recordClearAttachments() argument [all …]
|
D | vktPipelineMultisampleImageTests.cpp | 770 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in renderMultisampledImage() local 803 beginCommandBuffer(vk, *cmdBuffer); in renderMultisampledImage() 807 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, caseDef.renderSize.x()… in renderMultisampledImage() 810 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &vertexBuffer.get(), &vertexBufferOffset); in renderMultisampledImage() 816 vk.cmdNextSubpass(*cmdBuffer, VK_SUBPASS_CONTENTS_INLINE); in renderMultisampledImage() 818 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **pipelines[layerNdx]); in renderMultisampledImage() 820 vk.cmdDraw(*cmdBuffer, static_cast<deUint32>(vertices.size()), 1u, 0u, 0u); in renderMultisampledImage() 823 endRenderPass(vk, *cmdBuffer); in renderMultisampledImage() 825 endCommandBuffer(vk, *cmdBuffer); in renderMultisampledImage() 826 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in renderMultisampledImage() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDispatchTests.cpp | 94 vk::VkCommandBuffer cmdBuffer, 144 vk::VkCommandBuffer cmdBuffer, in recordDispatch() argument 153 vk.cmdDispatch(cmdBuffer, 1, 1, 1); in recordDispatch() 158 vk.cmdDispatchIndirect(cmdBuffer, *indirectBuffer, 0); in recordDispatch() 163 vk.cmdDispatchBase(cmdBuffer, 0, 0, 0, 1, 1, 1); in recordDispatch() 217 …const vk::Unique<vk::VkCommandBuffer> cmdBuffer(vk::allocateCommandBuffer(vk, device, *cmdPool, vk… in iterate() local 235 beginCommandBuffer(vk, *cmdBuffer); in iterate() 237 vk::VkCommandBuffer targetCmdBuffer = *cmdBuffer; in iterate() 285 beginConditionalRendering(vk, *cmdBuffer, *conditionalBuffer, m_conditionalData); in iterate() 290 recordDispatch(vk, *cmdBuffer, indirectBuffer); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.cpp | 1596 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(context, *cmdPool)); in makeTessellationEvaluationFrameBufferTest() local 1631 beginCommandBuffer(context.getDeviceInterface(), *cmdBuffer); in makeTessellationEvaluationFrameBufferTest() 1634 context.getDeviceInterface().cmdSetViewport(*cmdBuffer, 0, 1, &viewport); in makeTessellationEvaluationFrameBufferTest() 1635 context.getDeviceInterface().cmdSetScissor(*cmdBuffer, 0, 1, &scissor); in makeTessellationEvaluationFrameBufferTest() 1637 …beginRenderPass(context.getDeviceInterface(), *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0,… in makeTessellationEvaluationFrameBufferTest() 1639 …context.getDeviceInterface().cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelin… in makeTessellationEvaluationFrameBufferTest() 1643 context.getDeviceInterface().cmdBindDescriptorSets(*cmdBuffer, in makeTessellationEvaluationFrameBufferTest() 1648 …context.getDeviceInterface().cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, vertexBuffer.getBufferPtr(),… in makeTessellationEvaluationFrameBufferTest() 1649 context.getDeviceInterface().cmdDraw(*cmdBuffer, 2 * width, 1, 0, 0); in makeTessellationEvaluationFrameBufferTest() 1651 endRenderPass(context.getDeviceInterface(), *cmdBuffer); in makeTessellationEvaluationFrameBufferTest() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 454 Move<VkCommandBuffer> cmdBuffer; in iterate() local 1074 cmdBuffer = allocateCommandBuffer(vk, *m_deviceGroup, &cmdBufParams); in iterate() 1079 beginCommandBuffer(vk, *cmdBuffer); in iterate() 1100 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE… in iterate() 1102 endCommandBuffer(vk, *cmdBuffer); in iterate() 1104 SubmitBufferAndWaitForIdle(vk, cmdBuffer.get(), deviceMask); in iterate() 1171 beginCommandBuffer(vk, *cmdBuffer); in iterate() 1254 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, (VkD… in iterate() 1256 …vk.cmdCopyBuffer(*cmdBuffer, stagingVertexBuffer.get(), vertexBuffer.get(), 1u, &vertexBufferCopy); in iterate() 1257 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_VERTEX_INPUT_B… in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationBasicFenceTests.cpp | 51 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneFenceCase() local 70 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in basicOneFenceCase() 84 beginCommandBuffer(vk, *cmdBuffer); in basicOneFenceCase() 85 endCommandBuffer(vk, *cmdBuffer); in basicOneFenceCase() 117 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicMultiFenceCase() local 154 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in basicMultiFenceCase() 159 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &info)); in basicMultiFenceCase() 160 endCommandBuffer(vk, *cmdBuffer); in basicMultiFenceCase() 219 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicMultiFenceWaitAllFalseCase() local 256 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in basicMultiFenceWaitAllFalseCase() [all …]
|
D | vktSynchronizationBasicSemaphoreTests.cpp | 55 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneQueueCase() local 73 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in basicOneQueueCase() 84 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in basicOneQueueCase() 91 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &info)); in basicOneQueueCase() 92 endCommandBuffer(vk, *cmdBuffer); in basicOneQueueCase() 188 Move<VkCommandBuffer> cmdBuffer[COUNT]; in basicMultiQueueCase() local 254 cmdBuffer[FIRST] = (makeCommandBuffer(vk, *logicalDevice, *cmdPool[FIRST])); in basicMultiQueueCase() 255 cmdBuffer[SECOND] = (makeCommandBuffer(vk, *logicalDevice, *cmdPool[SECOND])); in basicMultiQueueCase() 263 submitInfo[FIRST].pCommandBuffers = &cmdBuffer[FIRST].get(); in basicMultiQueueCase() 273 submitInfo[SECOND].pCommandBuffers = &cmdBuffer[SECOND].get(); in basicMultiQueueCase() [all …]
|
D | vktSynchronizationOperation.cpp | 86 …virtual void recordCommands (OperationContext& context, const VkCommandBuffer cmdBuffer, const VkD… 503 void recordCommands (const VkCommandBuffer cmdBuffer) in recordCommands() argument 508 …vk.cmdFillBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_resour… in recordCommands() 510 …vk.cmdUpdateBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_reso… in recordCommands() 615 void recordCommands (const VkCommandBuffer cmdBuffer) in recordCommands() argument 622 vk.cmdCopyBuffer(cmdBuffer, m_resource.getBuffer().handle, **m_hostBuffer, 1u, ©Region); in recordCommands() 626 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDe… in recordCommands() 629 vk.cmdCopyBuffer(cmdBuffer, **m_hostBuffer, m_resource.getBuffer().handle, 1u, ©Region); in recordCommands() 695 virtual void recordCopyCommand (const VkCommandBuffer cmdBuffer) = 0; 725 void recordCommands (const VkCommandBuffer cmdBuffer) in recordCommands() argument [all …]
|
D | vktSynchronizationOperationSingleQueueTests.cpp | 86 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in iterate() local 91 beginCommandBuffer(vk, *cmdBuffer); in iterate() 93 m_writeOp->recordCommands(*cmdBuffer); in iterate() 94 vk.cmdSetEvent(*cmdBuffer, *event, writeSync.stageMask); in iterate() 100 …vk.cmdWaitEvents(*cmdBuffer, 1u, &event.get(), writeSync.stageMask, readSync.stageMask, 0u, DE_NUL… in iterate() 106 …vk.cmdWaitEvents(*cmdBuffer, 1u, &event.get(), writeSync.stageMask, readSync.stageMask, 0u, DE_NUL… in iterate() 109 m_readOp->recordCommands(*cmdBuffer); in iterate() 111 endCommandBuffer(vk, *cmdBuffer); in iterate() 112 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in iterate() 141 const Move<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in iterate() local [all …]
|
D | vktSynchronizationBasicEventTests.cpp | 87 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in deviceResetSetEventCase() local 96 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in deviceResetSetEventCase() 102 beginCommandBuffer(vk, *cmdBuffer); in deviceResetSetEventCase() 103 vk.cmdSetEvent(*cmdBuffer, *event, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT); in deviceResetSetEventCase() 104 endCommandBuffer(vk, *cmdBuffer); in deviceResetSetEventCase() 112 beginCommandBuffer(vk, *cmdBuffer); in deviceResetSetEventCase() 113 vk.cmdResetEvent(*cmdBuffer, *event, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT); in deviceResetSetEventCase() 114 endCommandBuffer(vk, *cmdBuffer); in deviceResetSetEventCase() 133 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in deviceWaitForEventCase() local 142 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in deviceWaitForEventCase() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderPassUtil.cpp | 310 VkCommandBuffer cmdBuffer, in cmdBeginRenderPass() argument 316 vk.cmdBeginRenderPass(cmdBuffer, pRenderPassBegin, pSubpassBeginInfo->contents); in cmdBeginRenderPass() 320 VkCommandBuffer cmdBuffer, in cmdNextSubpass() argument 327 vk.cmdNextSubpass(cmdBuffer, pSubpassBeginInfo->contents); in cmdNextSubpass() 331 VkCommandBuffer cmdBuffer, in cmdEndRenderPass() argument 336 vk.cmdEndRenderPass(cmdBuffer); in cmdEndRenderPass() 340 VkCommandBuffer cmdBuffer, in cmdBeginRenderPass() argument 344 vk.cmdBeginRenderPass2KHR(cmdBuffer, pRenderPassBegin, pSubpassBeginInfo); in cmdBeginRenderPass() 348 VkCommandBuffer cmdBuffer, in cmdNextSubpass() argument 355 vk.cmdNextSubpass2KHR(cmdBuffer, pSubpassBeginInfo, pSubpassEndInfo); in cmdNextSubpass() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawInvertedDepthRangesTests.cpp | 250 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_… in draw() local 254 beginCommandBuffer(vk, *cmdBuffer); in draw() 256 vk.cmdSetViewport(*cmdBuffer, 0u, 1u, &viewport); in draw() 262 …initialTransitionColor2DImage(vk, *cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERA… in draw() 263 …vk.cmdClearColorImage(*cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &clearCol… in draw() 274 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHME… in draw() 277 beginRenderPass(vk, *cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, 256u, 256u)); in draw() 283 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &buffer, &offset); in draw() 286 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in draw() 287 vk.cmdDraw(*cmdBuffer, 3, 1, 0, 0); in draw() [all …]
|
D | vktDrawDifferingInterpolationTests.cpp | 174 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local 304 beginCommandBuffer(vk, *cmdBuffer, 0u); in iterate() 306 …initialTransitionColor2DImage(vk, *cmdBuffer, colorTargetImages[frameIdx]->object(), VK_IMAGE_LAYO… in iterate() 309 vk.cmdClearColorImage(*cmdBuffer, colorTargetImages[frameIdx]->object(), in iterate() 312 vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, in iterate() 316 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea); in iterate() 317 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &buffer, &vertexBufferOffset); in iterate() 318 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in iterate() 319 vk.cmdDraw(*cmdBuffer, 3u, 1u, 0u, 0u); in iterate() 320 endRenderPass(vk, *cmdBuffer); in iterate() [all …]
|
D | vktDrawNegativeViewportHeightTests.cpp | 251 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_… in draw() local 255 beginCommandBuffer(vk, *cmdBuffer); in draw() 257 vk.cmdSetViewport(*cmdBuffer, 0u, 1u, &viewport); in draw() 263 …initialTransitionColor2DImage(vk, *cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERA… in draw() 265 …vk.cmdClearColorImage(*cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &clearCol… in draw() 281 vk.cmdSetViewport(*cmdBuffer, 0u, 1u, &zeroViewportHeight); in draw() 293 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHME… in draw() 296 beginRenderPass(vk, *cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, WIDTH, HEIGHT)); in draw() 302 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &buffer, &offset); in draw() 305 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in draw() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 184 const VkCommandBuffer cmdBuffer, in imageBarrier() argument 208 …vk.cmdPipelineBarrier(cmdBuffer, srcStageMask, dstStageMask, (VkDependencyFlags)0, 0u, (const VkMe… in imageBarrier() 252 VkCommandBuffer cmdBuffer, 302 Move<VkCommandBuffer> cmdBuffer; in iterate() local 326 cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in iterate() 378 beginCommandBuffer(vk, *cmdBuffer); in iterate() 380 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate() 385 …vk.cmdClearColorImage(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &r… in iterate() 387 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate() 392 …beginRenderPass(vk, *cmdBuffer, *renderPass, *frameBuffer, makeRect2D(0, 0, m_extent.width, m_exte… in iterate() [all …]
|