Home
last modified time | relevance | path

Searched refs:m_cmdBuffer (Results 1 – 25 of 46) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateRSTests.cpp91 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::DynamicState::__anon1d75ffef0111::DepthBiasBaseCase
258m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize()
275 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in beginRenderPassWithClearColor()
277 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor()
279 …initialTransitionDepthStencil2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMA… in beginRenderPassWithClearColor()
283 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor()
290 m_vk.cmdClearDepthStencilImage(*m_cmdBuffer, m_depthStencilImage->object(), in beginRenderPassWithClearColor()
302 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor()
307 …transition2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT… in beginRenderPassWithClearColor()
312 …vk::beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, vk::makeRect2D(0, 0, WIDTH,… in beginRenderPassWithClearColor()
[all …]
DvktDynamicStateBaseClass.cpp114 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize()
205 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in beginRenderPassWithClearColor()
208 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor()
212 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor()
223 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor()
227 …vk::beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, vk::makeRect2D(0, 0, WIDTH,… in beginRenderPassWithClearColor()
233 m_vk.cmdSetViewport(*m_cmdBuffer, 0, 1, &viewport); in setDynamicViewportState()
236 m_vk.cmdSetScissor(*m_cmdBuffer, 0, 1, &scissor); in setDynamicViewportState()
241 m_vk.cmdSetViewport(*m_cmdBuffer, 0, viewportCount, pViewports); in setDynamicViewportState()
242 m_vk.cmdSetScissor(*m_cmdBuffer, 0, viewportCount, pScissors); in setDynamicViewportState()
[all …]
DvktDynamicStateDSTests.cpp100 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::DynamicState::__anond26416610111::DepthStencilBaseCase
286m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize()
303 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in beginRenderPassWithClearColor()
305 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor()
307 …initialTransitionDepthStencil2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMA… in beginRenderPassWithClearColor()
311 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor()
317 m_vk.cmdClearDepthStencilImage(*m_cmdBuffer, m_depthStencilImage->object(), in beginRenderPassWithClearColor()
327 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor()
332 …transition2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT… in beginRenderPassWithClearColor()
337 …vk::beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, vk::makeRect2D(0, 0, WIDTH,… in beginRenderPassWithClearColor()
[all …]
DvktDynamicStateGeneralTests.cpp89 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
93 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
97 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
101 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
103 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
104 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
106 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
182 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
186 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
195 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
[all …]
DvktDynamicStateVPTests.cpp88 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
92 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
94 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
96 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
97 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
99 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
307 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
311 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
313 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
315 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
[all …]
DvktDynamicStateCBTests.cpp97 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
107 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
109 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate()
111 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
112 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
114 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineTimestampTests.cpp578 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon7daaa53f0111::TimestampTestInstance
633 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in TimestampTestInstance()
652 beginCommandBuffer(vk, *m_cmdBuffer, 0u); in configCommandBuffer()
654 vk.cmdResetQueryPool(*m_cmdBuffer, *m_queryPool, 0u, TimestampTest::ENTRY_COUNT); in configCommandBuffer()
659 vk.cmdWriteTimestamp(*m_cmdBuffer, *it, *m_queryPool, timestampEntry++); in configCommandBuffer()
662 endCommandBuffer(vk, *m_cmdBuffer); in configCommandBuffer()
673 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get()); in iterate()
1071 beginCommandBuffer(vk, *m_cmdBuffer, 0u); in configCommandBuffer()
1073 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATT… in configCommandBuffer()
1076 vk.cmdResetQueryPool(*m_cmdBuffer, *m_queryPool, 0u, TimestampTest::ENTRY_COUNT); in configCommandBuffer()
[all …]
DvktPipelinePushDescriptorTests.cpp251 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorBufferGraphicsTestInstance
512m_cmdBuffer = allocateCommandBuffer(m_vkd, *m_device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in init()
513 beginCommandBuffer(m_vkd, *m_cmdBuffer, 0u); in init()
514 …beginRenderPass(m_vkd, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_renderSize.… in init()
515 m_vkd.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines); in init()
516 m_vkd.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in init()
542 …m_vkd.cmdPushDescriptorSetKHR(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0,… in init()
543 m_vkd.cmdDraw(*m_cmdBuffer, 6, 1, 6 * quadNdx, 0); in init()
546 endRenderPass(m_vkd, *m_cmdBuffer); in init()
547 endCommandBuffer(m_vkd, *m_cmdBuffer); in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp311 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::MultiView::__anon6661ad4b0111::MultiViewRenderTestInstance
401 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeDraw()
407 …m_device->cmdClearColorImage(*m_cmdBuffer, m_colorAttachment->getImage(), VK_IMAGE_LAYOUT_TRANSFE… in beforeDraw()
409 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeDraw()
426 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterDraw()
451 beginCommandBuffer(*m_device, *m_cmdBuffer); in draw()
455 …cmdBeginRenderPass(*m_device, *m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE, m_pa… in draw()
457 …m_device->cmdBindVertexBuffers(*m_cmdBuffer, 0u, DE_LENGTH_OF_ARRAY(vertexBuffers), vertexBuffers,… in draw()
460 m_device->cmdBindIndexBuffer(*m_cmdBuffer, *m_vertexIndicesBuffer, 0u, VK_INDEX_TYPE_UINT32); in draw()
464 m_device->cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **pipelines[subpassNdx]); in draw()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawSimpleTest.cpp121 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
122 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
127 m_vk.cmdDraw(*m_cmdBuffer, 6, 1, 2, 0); in iterate()
130 m_vk.cmdDraw(*m_cmdBuffer, 4, 1, 2, 0); in iterate()
149 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
150 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
152 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
212 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
214 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
219 m_vk.cmdDraw(*m_cmdBuffer, 6, 4, 2, 2); in iterate()
[all …]
DvktDrawIndexedTest.cpp158 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
159 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate()
161 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
163 m_vk.cmdDrawIndexed(*m_cmdBuffer, 6, 1, 2, VERTEX_OFFSET, 0); in iterate()
165 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
166 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
168 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
241 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
242 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate()
243 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
[all …]
DvktDrawIndirectTest.cpp454 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
492 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
496 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), DE_NULL, vk::VK_INDEX_TYPE_UINT32); in iterate()
506 m_vk.cmdDrawIndirectCountKHR(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, in iterate()
510 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCount, m_st… in iterate()
516 m_vk.cmdDrawIndexedIndirectCountKHR(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, in iterate()
520 …m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCoun… in iterate()
536 …m_vk.cmdDrawIndirectCountKHR(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*… in iterate()
540 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_stride… in iterate()
546 …m_vk.cmdDrawIndexedIndirectCountKHR(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + d… in iterate()
[all …]
DvktBasicDrawTests.cpp297 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::Draw::__anone44880fd0111::DrawTestInstanceBase
423m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize()
456 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in beginRenderPass()
458 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPass()
462 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPass()
473 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPass()
479 …vk::beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, renderArea, tcu::Vec4(0.0f,… in beginRenderPass()
652 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
653 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
654 …m_vk.cmdDraw(*m_cmdBuffer, m_data.params.vertexCount, m_data.params.instanceCount, m_data.params.f… in iterate()
[all …]
DvktDrawInstancedTests.cpp235 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::Draw::__anon1daf2bb40111::InstancedDrawInstance
429m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in InstancedDrawInstance()
483 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in iterate()
485 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in iterate()
489 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in iterate()
500 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in iterate()
505 beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, renderArea); in iterate()
510 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer->object(), 0, vk::VK_INDEX_TYPE_UINT32); in iterate()
525 …m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, DE_LENGTH_OF_ARRAY(vertexBuffers), vertexBuffers, verte… in iterate()
528 …m_vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, vk::VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint… in iterate()
[all …]
DvktDrawBaseClass.cpp143m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize()
176 beginCommandBuffer(m_vk, *m_cmdBuffer, 0u); in beginRenderPass()
178 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPass()
182 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPass()
193 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPass()
198 vk::beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, renderArea, content); in beginRenderPass()
DvktDrawShaderDrawParametersTests.cpp270 m_vk.cmdBindVertexBuffers (*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
271 m_vk.cmdBindPipeline (*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
274 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), 0ull, vk::VK_INDEX_TYPE_UINT32); in iterate()
309 …m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, size… in iterate()
311 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, sizeof(vk::… in iterate()
318 …m_vk.cmdDrawIndexed(*m_cmdBuffer, NUM_VERTICES, numInstances, NDX_FIRST_INDEX, OFFSET_FIRST_INDEX,… in iterate()
320 m_vk.cmdDraw(*m_cmdBuffer, NUM_VERTICES, numInstances, NDX_FIRST_VERTEX, firstInstance); in iterate()
323 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
324 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
332 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp296 m_cmdBuffer = makeCommandBuffer(vk, device, *m_cmdPool); in VulkanDrawContext()
617 beginCommandBuffer(vk, *m_cmdBuffer); in VulkanDrawContext()
619 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0u, 1u,… in VulkanDrawContext()
623 …beginRenderPass(vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_drawState.rend… in VulkanDrawContext()
625 …beginRenderPass(vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_drawState.rend… in VulkanDrawContext()
627 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in VulkanDrawContext()
628 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &(**m_vertexBuffer), &zeroOffset); in VulkanDrawContext()
630 vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_drawCallData.vertices.size()), 1u, 0u, 0u); in VulkanDrawContext()
631 endRenderPass(vk, *m_cmdBuffer); in VulkanDrawContext()
640 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STA… in VulkanDrawContext()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalClearAttachmentTests.cpp94 vk::VkCommandBuffer targetCmdBuffer = *m_cmdBuffer; in iterate()
154 beginConditionalRendering(m_vk, *m_cmdBuffer, *m_conditionalBuffer, m_conditionalData); in iterate()
159 m_vk.cmdClearAttachments(*m_cmdBuffer, 1, &clearAttachment, 1, &rect); in iterate()
166 m_vk.cmdExecuteCommands(*m_cmdBuffer, 1, &m_secondaryCmdBuffer.get()); in iterate()
171 m_vk.cmdEndConditionalRenderingEXT(*m_cmdBuffer); in iterate()
174 endRenderPass(m_vk, *m_cmdBuffer); in iterate()
175 endCommandBuffer(m_vk, *m_cmdBuffer); in iterate()
177 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp118 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::api::__anon02e39ada0111::BufferViewTestInstance
389 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in BufferViewTestInstance()
391 beginCommandBuffer(vk, *m_cmdBuffer, 0u); in BufferViewTestInstance()
413 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATT… in BufferViewTestInstance()
415 …beginRenderPass(vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_renderSize.x()… in BufferViewTestInstance()
419 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines); in BufferViewTestInstance()
420 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0u, 1, … in BufferViewTestInstance()
421 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), vertexBufferOffset); in BufferViewTestInstance()
422 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in BufferViewTestInstance()
423 endRenderPass(vk, *m_cmdBuffer); in BufferViewTestInstance()
[all …]
DvktApiFillBufferTests.cpp79 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::api::__anon854e32f40111::FillBufferTestInstance
120 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in FillBufferTestInstance()
153 beginCommandBuffer(vk, *m_cmdBuffer); in iterate()
154 …vk.cmdFillBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testDat… in iterate()
155 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (V… in iterate()
156 endCommandBuffer(vk, *m_cmdBuffer); in iterate()
158 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get()); in iterate()
295 beginCommandBuffer(vk, *m_cmdBuffer); in iterate()
296 …vk.cmdUpdateBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testD… in iterate()
297 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (V… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp135 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::memory::__anon10ea5e8b0111::ExternalMemoryHostRenderImageTestInstance
381m_cmdBuffer = allocateCommandBuffer(m_vkd, m_device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PR… in iterate()
384 beginCommandBuffer(m_vkd, *m_cmdBuffer); in iterate()
390 endCommandBuffer(m_vkd, *m_cmdBuffer); in iterate()
392 submitCommandsAndWait(m_vkd, m_device, m_queue, *m_cmdBuffer); in iterate()
623 …m_vkd.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_… in clear()
624 …m_vkd.cmdClearColorImage(*m_cmdBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &color, 1, … in clear()
650 …m_vkd.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATT… in draw()
652 …beginRenderPass(m_vkd, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, 75, 100), tcu… in draw()
653 m_vkd.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in draw()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp365 m_cmdBuffer = allocateCommandBuffer (vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in ScissorRenderer()
374 beginCommandBuffer(vk, *m_cmdBuffer); in draw()
376 …beginRenderPass(vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_renderSize.x()… in draw()
378 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in draw()
381 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexBufferOffset); in draw()
383 …vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_numViewports), 1u, 0u, 0u); // one vertex per vie… in draw()
384 endRenderPass(vk, *m_cmdBuffer); in draw()
386 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, m_renderSize); in draw()
388 endCommandBuffer(vk, *m_cmdBuffer); in draw()
389 submitCommandsAndWait(vk, device, queue, *m_cmdBuffer); in draw()
[all …]
DvktFragmentOperationsScissorTests.cpp383 m_cmdBuffer = allocateCommandBuffer (vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in ScissorRenderer()
397 beginCommandBuffer(vk, *m_cmdBuffer); in draw()
399 …beginRenderPass(vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_renderSize.x()… in draw()
401 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in draw()
404 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexBufferOffset); in draw()
407 vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_vertices.size()), 1u, 0u, 0u); in draw()
408 endRenderPass(vk, *m_cmdBuffer); in draw()
410 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, m_renderSize); in draw()
412 endCommandBuffer(vk, *m_cmdBuffer); in draw()
413 submitCommandsAndWait(vk, device, queue, *m_cmdBuffer); in draw()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedAttachmentTests.cpp294 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::renderpass::__anoncc17baca0111::UnusedAttachmentTestInstance
858 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in createCommandBuffer()
860 beginCommandBuffer(vk, *m_cmdBuffer, 0u); in createCommandBuffer()
872 RenderpassSubpass::cmdBeginRenderPass(vk, *m_cmdBuffer, &renderPassBeginInfo, &subpassBeginInfo); in createCommandBuffer()
874 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelineSubpass0); in createCommandBuffer()
875 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in createCommandBuffer()
876 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in createCommandBuffer()
877 vk.cmdNextSubpass(*m_cmdBuffer, VK_SUBPASS_CONTENTS_INLINE); in createCommandBuffer()
878 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelineSubpass1); in createCommandBuffer()
879 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayoutSubpass1,… in createCommandBuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp970 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::image::UploadDownloadExecutor
1062 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in runSwapchain()
1063 beginCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain()
1100 endCommandBuffer(m_vk, *m_cmdBuffer); in runSwapchain()
1101 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in runSwapchain()
1111 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in run()
1112 beginCommandBuffer(m_vk, *m_cmdBuffer); in run()
1155 endCommandBuffer(m_vk, *m_cmdBuffer); in run()
1156 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in run()
1180 …m_vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFE… in uploadClear()
[all …]

12