• Home
  • Raw
  • Download

Lines Matching refs:cmdBuffer

516 			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()
2442 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in makeTessellationEvaluationFrameBufferTest()
2446 vk.cmdBindDescriptorSets(*cmdBuffer, in makeTessellationEvaluationFrameBufferTest()
2451 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, vertexBuffer.getBufferPtr(), &vertexBufferOffset); in makeTessellationEvaluationFrameBufferTest()
2452 vk.cmdDraw(*cmdBuffer, 2 * width, 1, 0, 0); in makeTessellationEvaluationFrameBufferTest()
2454 endRenderPass(vk, *cmdBuffer); in makeTessellationEvaluationFrameBufferTest()
2456 …copyImageToBuffer(vk, *cmdBuffer, discardableImage.getImage(), imageBufferResult.getBuffer(), tcu:… in makeTessellationEvaluationFrameBufferTest()
2457 endCommandBuffer(vk, *cmdBuffer); in makeTessellationEvaluationFrameBufferTest()
2459 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in makeTessellationEvaluationFrameBufferTest()
2614 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(context, *cmdPool)); in makeGeometryFrameBufferTest() local
2654 beginCommandBuffer(vk, *cmdBuffer); in makeGeometryFrameBufferTest()
2656 vk.cmdSetViewport(*cmdBuffer, 0, 1, &viewport); in makeGeometryFrameBufferTest()
2658 vk.cmdSetScissor(*cmdBuffer, 0, 1, &scissor); in makeGeometryFrameBufferTest()
2660 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, maxWidth, 1u), tcu::Ve… in makeGeometryFrameBufferTest()
2662 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in makeGeometryFrameBufferTest()
2666 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, in makeGeometryFrameBufferTest()
2670 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, vertexBuffer.getBufferPtr(), &vertexBufferOffset); in makeGeometryFrameBufferTest()
2672 vk.cmdDraw(*cmdBuffer, width, 1u, 0u, 0u); in makeGeometryFrameBufferTest()
2674 endRenderPass(vk, *cmdBuffer); in makeGeometryFrameBufferTest()
2676 …copyImageToBuffer(vk, *cmdBuffer, discardableImage.getImage(), imageBufferResult.getBuffer(), tcu:… in makeGeometryFrameBufferTest()
2678 endCommandBuffer(vk, *cmdBuffer); in makeGeometryFrameBufferTest()
2680 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in makeGeometryFrameBufferTest()
2884 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(context, *cmdPool)); in allStages() local
2918 beginCommandBuffer(vk, *cmdBuffer); in allStages()
2920 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTAC… in allStages()
2922 vk.cmdSetViewport(*cmdBuffer, 0, 1, &viewport); in allStages()
2924 vk.cmdSetScissor(*cmdBuffer, 0, 1, &scissor); in allStages()
2926 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, maxWidth, 1u), tcu::Ve… in allStages()
2928 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in allStages()
2931 vk.cmdBindDescriptorSets(*cmdBuffer, in allStages()
2935 vk.cmdDraw(*cmdBuffer, width, 1, 0, 0); in allStages()
2937 endRenderPass(vk, *cmdBuffer); in allStages()
2939 …copyImageToBuffer(vk, *cmdBuffer, resultImage.getImage(), imageBufferResult.getBuffer(), tcu::IVec… in allStages()
2941 endCommandBuffer(vk, *cmdBuffer); in allStages()
2943 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in allStages()
2996 vk.resetCommandBuffer(*cmdBuffer, 0); in allStages()
3123 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(context, *cmdPool)); in makeVertexFrameBufferTest() local
3166 beginCommandBuffer(vk, *cmdBuffer); in makeVertexFrameBufferTest()
3168 vk.cmdSetViewport(*cmdBuffer, 0, 1, &viewport); in makeVertexFrameBufferTest()
3170 vk.cmdSetScissor(*cmdBuffer, 0, 1, &scissor); in makeVertexFrameBufferTest()
3172 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, maxWidth, 1u), tcu::Ve… in makeVertexFrameBufferTest()
3174 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in makeVertexFrameBufferTest()
3178 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, in makeVertexFrameBufferTest()
3182 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, vertexBuffer.getBufferPtr(), &vertexBufferOffset); in makeVertexFrameBufferTest()
3184 vk.cmdDraw(*cmdBuffer, width, 1u, 0u, 0u); in makeVertexFrameBufferTest()
3186 endRenderPass(vk, *cmdBuffer); in makeVertexFrameBufferTest()
3188 …copyImageToBuffer(vk, *cmdBuffer, discardableImage.getImage(), imageBufferResult.getBuffer(), tcu:… in makeVertexFrameBufferTest()
3190 endCommandBuffer(vk, *cmdBuffer); in makeVertexFrameBufferTest()
3192 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in makeVertexFrameBufferTest()
3328 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(context, *cmdPool)); in makeFragmentFrameBufferTest() local
3359 beginCommandBuffer(vk, *cmdBuffer); in makeFragmentFrameBufferTest()
3364 *cmdBuffer, 0, 1, &viewport); in makeFragmentFrameBufferTest()
3369 *cmdBuffer, 0, 1, &scissor); in makeFragmentFrameBufferTest()
3371 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, width, height), tcu::V… in makeFragmentFrameBufferTest()
3374 *cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in makeFragmentFrameBufferTest()
3378 vk.cmdBindDescriptorSets(*cmdBuffer, in makeFragmentFrameBufferTest()
3383 vk.cmdDraw(*cmdBuffer, 4, 1, 0, 0); in makeFragmentFrameBufferTest()
3385 endRenderPass(vk, *cmdBuffer); in makeFragmentFrameBufferTest()
3387 …copyImageToBuffer(vk, *cmdBuffer, resultImage.getImage(), resultBuffer.getBuffer(), tcu::IVec2(wid… in makeFragmentFrameBufferTest()
3389 endCommandBuffer(vk, *cmdBuffer); in makeFragmentFrameBufferTest()
3391 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in makeFragmentFrameBufferTest()
3407 vk.resetCommandBuffer(*cmdBuffer, 0); in makeFragmentFrameBufferTest()
3544 const Unique<VkCommandBuffer> cmdBuffer( in makeComputeTest() local
3591 beginCommandBuffer(vk, *cmdBuffer); in makeComputeTest()
3593 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelines[index]); in makeComputeTest()
3595 vk.cmdBindDescriptorSets(*cmdBuffer, in makeComputeTest()
3599 vk.cmdDispatch(*cmdBuffer,numWorkgroups[0], numWorkgroups[1], numWorkgroups[2]); in makeComputeTest()
3601 endCommandBuffer(vk, *cmdBuffer); in makeComputeTest()
3603 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in makeComputeTest()
3632 vk.resetCommandBuffer(*cmdBuffer, 0); in makeComputeTest()