Home
last modified time | relevance | path

Searched refs:cmdBuffer (Results 1 – 25 of 167) sorted by relevance

1234567

/external/angle/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.cpp129 void SecondaryCommandBuffer::executeCommands(VkCommandBuffer cmdBuffer) in executeCommands() argument
141 vkCmdBeginQuery(cmdBuffer, params->queryPool, params->query, params->flags); in executeCommands()
154 vkCmdBeginTransformFeedbackEXT(cmdBuffer, 0, params->bufferCount, in executeCommands()
162 vkCmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, params->pipeline); in executeCommands()
173 vkCmdBindDescriptorSets(cmdBuffer, params->pipelineBindPoint, params->layout, in executeCommands()
183 vkCmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, params->pipeline); in executeCommands()
190 vkCmdBindIndexBuffer(cmdBuffer, params->buffer, params->offset, in executeCommands()
204 vkCmdBindTransformFeedbackBuffersEXT(cmdBuffer, 0, params->bindingCount, in executeCommands()
216 vkCmdBindVertexBuffers(cmdBuffer, 0, params->bindingCount, buffers, offsets); in executeCommands()
222 vkCmdBlitImage(cmdBuffer, params->srcImage, in executeCommands()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp91 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in iterate() local
134 beginCommandBuffer(vk, *cmdBuffer); in iterate()
143 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTAC… in iterate()
154 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea, clearColor); in iterate()
157 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in iterate()
161 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, DE_LENGTH_OF_ARRAY(buffers), buffers, offsets); in iterate()
164 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
166 drawCommand (*cmdBuffer); in iterate()
167 endRenderPass(vk, *cmdBuffer); in iterate()
170 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolOcclusionTests.cpp364 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::V… in iterate() local
366 beginCommandBuffer(vk, *cmdBuffer); in iterate()
368 …initialTransitionColor2DImage(vk, *cmdBuffer, m_stateObjects->m_colorAttachmentImage->object(), vk… in iterate()
370 …initialTransitionDepth2DImage(vk, *cmdBuffer, m_stateObjects->m_DepthImage->object(), vk::VK_IMAGE… in iterate()
377 vk.cmdResetQueryPool(*cmdBuffer, m_queryPool, 0, NUM_QUERIES_IN_POOL); in iterate()
379 …beginRenderPass(vk, *cmdBuffer, *m_stateObjects->m_renderPass, *m_stateObjects->m_framebuffer, vk:… in iterate()
381 vk.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_stateObjects->m_pipeline); in iterate()
385 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
387 …vk.cmdBeginQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY, m_testVector.queryControlFlag… in iterate()
388 vk.cmdEndQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY); in iterate()
[all …]
DvktQueryPoolPerformanceTests.cpp573 …Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local
619 VK_CHECK(vkd.beginCommandBuffer(*cmdBuffer, &commandBufBeginParams)); in iterate()
621 …initialTransitionColor2DImage(vkd, *cmdBuffer, m_colorAttachmentImage->object(), VK_IMAGE_LAYOUT_G… in iterate()
629 vkd.cmdBeginQuery(*cmdBuffer, *queryPool, 0, VK_QUERY_CONTROL_PRECISE_BIT); in iterate()
631 beginRenderPass(vkd, *cmdBuffer, *m_renderPass, *m_framebuffer, in iterate()
636 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
641 vkd.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
643 vkd.cmdDraw(*cmdBuffer, 3, 1, 0, 0); in iterate()
645 endRenderPass(vkd, *cmdBuffer); in iterate()
647 vkd.cmdEndQuery(*cmdBuffer, *queryPool, 0); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp541 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer (vk, device, *cmdPool, VK_C… in iterate() local
552 beginCommandBuffer(vk, *cmdBuffer); in iterate()
554 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(m_imageExtent2D)); in iterate()
556 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in iterate()
563 …vk.cmdBindTransformFeedbackBuffersEXT(*cmdBuffer, 0, 1, &*tfBuf, &tfBufBindingOffsets[drawNdx], &t… in iterate()
565 …vk.cmdPushConstants(*cmdBuffer, *pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0u, sizeof(startValue… in iterate()
567 vk.cmdBeginTransformFeedbackEXT(*cmdBuffer, 0, 0, DE_NULL, DE_NULL); in iterate()
569 vk.cmdDraw(*cmdBuffer, numPoints, 1u, 0u, 0u); in iterate()
571 vk.cmdEndTransformFeedbackEXT(*cmdBuffer, 0, 0, DE_NULL, DE_NULL); in iterate()
574 endRenderPass(vk, *cmdBuffer); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp508 void copyDataToImage (const VkCommandBuffer& cmdBuffer,
512 virtual void executeShader (const VkCommandBuffer& cmdBuffer,
516 bool copyResultAndCompare (const VkCommandBuffer& cmdBuffer,
525 bool decompressImage (const VkCommandBuffer& cmdBuffer,
544 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAN… in iterate() local
599 copyDataToImage(*cmdBuffer, imageData[compressedNdx], mipMapSizes, true); in iterate()
602 copyDataToImage(*cmdBuffer, imageData[1], mipMapSizes, false); in iterate()
636 executeShader(*cmdBuffer, *descriptorSetLayout, *descriptorPool, imageData); in iterate()
647 … if (!copyResultAndCompare(*cmdBuffer, imageData[resultImageNdx].getImage(imageNdx), offset, size)) in iterate()
653 if (!decompressImage(*cmdBuffer, imageData, mipMapSizes)) in iterate()
[all …]
DvktImageMultisampleLoadStoreTests.cpp319 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_B… in test() local
330 beginCommandBuffer(vk, *cmdBuffer); in test()
331 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in test()
340 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COMPUTE_SHA… in test()
355 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &des… in test()
356 vk.cmdDispatch(*cmdBuffer, workSize.x(), workSize.y(), workSize.z()); in test()
359 endCommandBuffer(vk, *cmdBuffer); in test()
360 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in test()
368 beginCommandBuffer(vk, *cmdBuffer); in test()
369 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in test()
[all …]
DvktImageLoadStoreTests.cpp318 …arrierBetweenShaderInvocations (Context& context, const VkCommandBuffer cmdBuffer, const VkImage i… in commandImageWriteBarrierBetweenShaderInvocations() argument
328 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_S… in commandImageWriteBarrierBetweenShaderInvocations()
331 void commandBufferWriteBarrierBeforeHostRead (Context& context, const VkCommandBuffer cmdBuffer, co… in commandBufferWriteBarrierBeforeHostRead() argument
339 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT,… in commandBufferWriteBarrierBeforeHostRead()
344 const VkCommandBuffer cmdBuffer, in commandCopyImageToBuffer() argument
364 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_… in commandCopyImageToBuffer()
365 …vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, &copyR… in commandCopyImageToBuffer()
366 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDe… in commandCopyImageToBuffer()
550 virtual void commandBeforeCompute (const VkCommandBuffer cmdBuffer) = 0;
551 virtual void commandBetweenShaderInvocations (const VkCommandBuffer cmdBuffer) = 0;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp95 vk::VkCommandBuffer cmdBuffer,
145 vk::VkCommandBuffer cmdBuffer, in recordDispatch() argument
154 vk.cmdDispatch(cmdBuffer, 1, 1, 1); in recordDispatch()
159 vk.cmdDispatchIndirect(cmdBuffer, *indirectBuffer, 0); in recordDispatch()
164 vk.cmdDispatchBase(cmdBuffer, 0, 0, 0, 1, 1, 1); in recordDispatch()
218 …const vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool,… in iterate() local
236 beginCommandBuffer(vk, *cmdBuffer); in iterate()
238 vk::VkCommandBuffer targetCmdBuffer = *cmdBuffer; in iterate()
296 beginConditionalRendering(vk, *cmdBuffer, *conditionalBuffer, m_conditionalData); in iterate()
300 vk.cmdExecuteCommands(*cmdBuffer, 1, &secondaryCmdBuffer.get()); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp421 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in test() local
472 beginCommandBuffer(vk, *cmdBuffer); in test()
492 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BI… in test()
500 …vk.cmdClearColorImage(*cmdBuffer, caseDef.multisample ? *msColorImage : *colorImage, VK_IMAGE_LAYO… in test()
518 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHME… in test()
526 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, caseDef.renderSize.x()… in test()
528 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &vertexBuffer.get(), &vertexBufferOffset); in test()
532 vk.cmdNextSubpass(*cmdBuffer, VK_SUBPASS_CONTENTS_INLINE); in test()
534 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **pipeline[layerNdx]); in test()
535 vk.cmdDraw(*cmdBuffer, 4u, 1u, layerNdx*4u, 0u); in test()
[all …]
DvktPipelineMultisampleShaderFragmentMaskTests.cpp844 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in drawAndSampleInputAttachment() local
846 beginCommandBuffer(vk, *cmdBuffer); in drawAndSampleInputAttachment()
868 vk.cmdBeginRenderPass(*cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in drawAndSampleInputAttachment()
871 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, &de… in drawAndSampleInputAttachment()
875 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &wd.vertexBuffer.get(), &vertexBufferOffset); in drawAndSampleInputAttachment()
878 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineDraw); in drawAndSampleInputAttachment()
879 vk.cmdDraw(*cmdBuffer, wd.numVertices, 1u, 0u, 0u); in drawAndSampleInputAttachment()
881 vk.cmdNextSubpass(*cmdBuffer, VK_SUBPASS_CONTENTS_INLINE); in drawAndSampleInputAttachment()
883 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineSample); in drawAndSampleInputAttachment()
884 vk.cmdDraw(*cmdBuffer, 3u, 1u, 0u, 0u); // fill the framebuffer, geometry defined in the VS in drawAndSampleInputAttachment()
[all …]
DvktPipelineMaxVaryingsTests.cpp830 const VkCommandBuffer cmdBuffer, in recordImageBarrier() argument
855 …vk.cmdPipelineBarrier(cmdBuffer, srcStageMask, dstStageMask, (VkDependencyFlags)0, 0u, DE_NULL, 0u… in recordImageBarrier()
859 const VkCommandBuffer cmdBuffer, in recordCopyImageToBuffer() argument
876 …vk.cmdCopyImageToBuffer(cmdBuffer, srcImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dstBuffer, 1u, … in recordCopyImageToBuffer()
893 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDe… in recordCopyImageToBuffer()
1034 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer (vk, device, *cmdPool)); in test() local
1068 beginCommandBuffer(vk, *cmdBuffer); in test()
1077 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_O… in test()
1081 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea, clearColor); in test()
1083 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in test()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp431 Move<VkCommandBuffer> cmdBuffer; in iterate() local
1099 cmdBuffer = allocateCommandBuffer(vk, *m_deviceGroup, &cmdBufParams); in iterate()
1104 beginCommandBuffer(vk, *cmdBuffer); in iterate()
1125 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE… in iterate()
1127 endCommandBuffer(vk, *cmdBuffer); in iterate()
1129 SubmitBufferAndWaitForIdle(vk, cmdBuffer.get(), deviceMask); in iterate()
1196 beginCommandBuffer(vk, *cmdBuffer); in iterate()
1279 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, (VkD… in iterate()
1281 …vk.cmdCopyBuffer(*cmdBuffer, stagingVertexBuffer.get(), vertexBuffer.get(), 1u, &vertexBufferCopy); in iterate()
1282 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_VERTEX_INPUT_B… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp239 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate() local
243 beginCommandBuffer(vk, *cmdBuffer); in iterate()
245 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate()
246 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &des… in iterate()
248 vk.cmdDispatch(*cmdBuffer, m_workSize.x(), m_workSize.y(), m_workSize.z()); in iterate()
250 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT… in iterate()
252 endCommandBuffer(vk, *cmdBuffer); in iterate()
256 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in iterate()
410 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate() local
414 beginCommandBuffer(vk, *cmdBuffer); in iterate()
[all …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm295 CommandEncoder::CommandEncoder(CommandBuffer *cmdBuffer, Type type)
296 : mType(type), mCmdBuffer(*cmdBuffer)
322 cmdBuffer().setActiveCommandEncoder(this);
327 cmdBuffer().setWriteDependency(buffer);
333 cmdBuffer().setWriteDependency(texture);
338 RenderCommandEncoder::RenderCommandEncoder(CommandBuffer *cmdBuffer)
339 : CommandEncoder(cmdBuffer, RENDER)
397 cmdBuffer().setWriteDependency(texture);
422 if (!cmdBuffer().valid())
454 [cmdBuffer().get() renderCommandEncoderWithDescriptor:objCDesc];
[all …]
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1026 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer (vk, device, *cmdPool, VK_COMMA… in readOneSampleFromMultisampleImage() local
1037 beginCommandBuffer(vk, *cmdBuffer); in readOneSampleFromMultisampleImage()
1047 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE… in readOneSampleFromMultisampleImage()
1056 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_PIPELINE_STAGE_FRA… in readOneSampleFromMultisampleImage()
1060 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(m_imageExtent2D), clearColor… in readOneSampleFromMultisampleImage()
1062 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in readOneSampleFromMultisampleImage()
1064 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, &de… in readOneSampleFromMultisampleImage()
1066 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &*vertexBuffer, &vertexBufferOffset); in readOneSampleFromMultisampleImage()
1068 …vk.cmdPushConstants(*cmdBuffer, *pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0u, sizeof(sampleID… in readOneSampleFromMultisampleImage()
1070 vk.cmdDraw(*cmdBuffer, vertexCount, 1u, 0u, 0u); in readOneSampleFromMultisampleImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicFenceTests.cpp51 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 …]
DvktSynchronizationOperation.cpp115 …virtual void recordCommands (OperationContext& context, const VkCommandBuffer cmdBuffer, const VkD…
507 void recordCommands (const VkCommandBuffer cmdBuffer) in recordCommands() argument
512 …vk.cmdFillBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_resour… in recordCommands()
514 …vk.cmdUpdateBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_reso… in recordCommands()
639 void recordCommands (const VkCommandBuffer cmdBuffer) in recordCommands() argument
646 vk.cmdCopyBuffer(cmdBuffer, m_resource.getBuffer().handle, **m_hostBuffer, 1u, &copyRegion); in recordCommands()
650 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDe… in recordCommands()
658 vk.cmdCopyBuffer(cmdBuffer, **m_hostBuffer, m_resource.getBuffer().handle, 1u, &copyRegion); in recordCommands()
755 void recordCommands (const VkCommandBuffer cmdBuffer) in recordCommands() argument
760 …vk.cmdCopyBuffer(cmdBuffer, m_inResource.getBuffer().handle, m_outResource.getBuffer().handle, 1u,… in recordCommands()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.cpp310 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.cmdBeginRenderPass2(cmdBuffer, pRenderPassBegin, pSubpassBeginInfo); in cmdBeginRenderPass()
348 VkCommandBuffer cmdBuffer, in cmdNextSubpass() argument
355 vk.cmdNextSubpass2(cmdBuffer, pSubpassBeginInfo, pSubpassEndInfo); in cmdNextSubpass()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp516 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(context, *cmdPool)); in Image() local
518 beginCommandBuffer(vk, *cmdBuffer); in Image()
523 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BI… in Image()
526 endCommandBuffer(vk, *cmdBuffer); in Image()
527 submitCommandsAndWait(vk, device, context.getUniversalQueue(), *cmdBuffer); in Image()
2399 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(context, *cmdPool)); in makeTessellationEvaluationFrameBufferTest() local
2434 beginCommandBuffer(vk, *cmdBuffer); in makeTessellationEvaluationFrameBufferTest()
2437 vk.cmdSetViewport(*cmdBuffer, 0, 1, &viewport); in makeTessellationEvaluationFrameBufferTest()
2438 vk.cmdSetScissor(*cmdBuffer, 0, 1, &scissor); in makeTessellationEvaluationFrameBufferTest()
2440 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, maxWidth, 1u), tcu::Ve… in makeTessellationEvaluationFrameBufferTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp307 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in bufferMarkerSequential() local
309 beginCommandBuffer(vk, *cmdBuffer); in bufferMarkerSequential()
313 …vk.cmdWriteBufferMarkerAMD(*cmdBuffer, params.stage, *markerBuffer, static_cast<VkDeviceSize>(size… in bufferMarkerSequential()
324 …vk.cmdPipelineBarrier(*cmdBuffer, params.stage, VK_PIPELINE_STAGE_HOST_BIT, 0, 1, &memoryDep, 0, D… in bufferMarkerSequential()
326 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in bufferMarkerSequential()
328 submitCommandsAndWait(vk, device, wd.queue, *cmdBuffer); in bufferMarkerSequential()
362 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in bufferMarkerOverwrite() local
364 beginCommandBuffer(vk, *cmdBuffer); in bufferMarkerOverwrite()
373 …vk.cmdWriteBufferMarkerAMD(*cmdBuffer, params.stage, *markerBuffer, static_cast<VkDeviceSize>(size… in bufferMarkerOverwrite()
383 …vk.cmdPipelineBarrier(*cmdBuffer, params.stage, VK_PIPELINE_STAGE_HOST_BIT, 0, 1, &memoryDep, 0, D… in bufferMarkerOverwrite()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFromHlslTests.cpp187 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate() local
190 beginCommandBuffer(vk, *cmdBuffer); in iterate()
192 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate()
193 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &des… in iterate()
195 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT… in iterate()
196 vk.cmdDispatch(*cmdBuffer, 1, 1, 1); in iterate()
197 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT… in iterate()
199 endCommandBuffer(vk, *cmdBuffer); in iterate()
202 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in iterate()
DvktSpvAsmCrossStageInterfaceTests.cpp109 const VkCommandBuffer cmdBuffer, in imageBarrier() argument
133 …vk.cmdPipelineBarrier(cmdBuffer, srcStageMask, dstStageMask, (VkDependencyFlags)0, 0u, (const VkMe… in imageBarrier()
177 VkCommandBuffer cmdBuffer,
227 Move<VkCommandBuffer> cmdBuffer; in iterate() local
251 cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in iterate()
303 beginCommandBuffer(vk, *cmdBuffer); in iterate()
305 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate()
310 …vk.cmdClearColorImage(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &r… in iterate()
312 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate()
317 …beginRenderPass(vk, *cmdBuffer, *renderPass, *frameBuffer, makeRect2D(0, 0, m_extent.width, m_exte… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInvertedDepthRangesTests.cpp238 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_… in draw() local
242 beginCommandBuffer(vk, *cmdBuffer); in draw()
244 vk.cmdSetViewport(*cmdBuffer, 0u, 1u, &viewport); in draw()
250 …initialTransitionColor2DImage(vk, *cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERA… in draw()
251 …vk.cmdClearColorImage(*cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &clearCol… in draw()
262 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHME… in draw()
265 beginRenderPass(vk, *cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, 256u, 256u)); in draw()
271 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &buffer, &offset); in draw()
274 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in draw()
275 vk.cmdDraw(*cmdBuffer, 3, 1, 0, 0); in draw()
[all …]
DvktDrawDifferingInterpolationTests.cpp174 …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 …]

1234567