/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 231 const Unique<VkCommandBuffer> cmdBuffer(makeCommandBuffer(vk, device, *cmdPool)); in iterate() local 235 beginCommandBuffer(vk, *cmdBuffer); in iterate() 237 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate() 238 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &des… in iterate() 240 vk.cmdDispatch(*cmdBuffer, m_workSize.x(), m_workSize.y(), m_workSize.z()); in iterate() 242 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT… in iterate() 244 endCommandBuffer(vk, *cmdBuffer); in iterate() 248 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in iterate() 402 const Unique<VkCommandBuffer> cmdBuffer(makeCommandBuffer(vk, device, *cmdPool)); in iterate() local 406 beginCommandBuffer(vk, *cmdBuffer); in iterate() [all …]
|
D | vktComputeIndirectComputeDispatchTests.cpp | 268 …const vk::Unique<vk::VkCommandBuffer> cmdBuffer(makeCommandBuffer(m_device_interface, m_device, *c… in iterate() local 271 beginCommandBuffer(m_device_interface, *cmdBuffer); in iterate() 278 fillIndirectBufferData(*cmdBuffer, indirectBuffer); in iterate() 281 …m_device_interface.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_COMPUTE, *computePipelin… in iterate() 302 …m_device_interface.cmdBindDescriptorSets(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline… in iterate() 305 …m_device_interface.cmdDispatchIndirect(*cmdBuffer, *indirectBuffer, m_dispatchCommands[cmdNdx].m_o… in iterate() 311 …m_device_interface.cmdPipelineBarrier(*cmdBuffer, vk::VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, vk::VK… in iterate() 317 endCommandBuffer(m_device_interface, *cmdBuffer); in iterate() 320 submitCommandsAndWait(m_device_interface, m_device, m_queue, *cmdBuffer); in iterate()
|
D | vktComputeShaderBuiltinVarTests.cpp | 443 const Unique<VkCommandBuffer> cmdBuffer(makeCommandBuffer(m_vki, m_device, *cmdPool)); in iterate() local 446 beginCommandBuffer(m_vki, *cmdBuffer); in iterate() 448 m_vki.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate() 461 …m_vki.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &… in iterate() 464 …m_vki.cmdDispatch(*cmdBuffer, subCase.numWorkGroups()[0], subCase.numWorkGroups()[1], subCase.numW… in iterate() 466 …m_vki.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_… in iterate() 472 endCommandBuffer(m_vki, *cmdBuffer); in iterate() 475 submitCommandsAndWait(m_vki, m_device, m_queue, *cmdBuffer); in iterate()
|
D | vktComputeTestsUtil.hpp | 140 const vk::VkCommandBuffer cmdBuffer); 143 const vk::VkCommandBuffer cmdBuffer); 148 const vk::VkCommandBuffer cmdBuffer);
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolOcclusionTests.cpp | 372 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, &cmdBufferAlloc… in iterate() local 375 vk.beginCommandBuffer(*cmdBuffer, &beginInfo); in iterate() 377 …transition2DImage(vk, *cmdBuffer, m_stateObjects->m_colorAttachmentImage->object(), vk::VK_IMAGE_A… in iterate() 378 …transition2DImage(vk, *cmdBuffer, m_stateObjects->m_DepthImage->object(), vk::VK_IMAGE_ASPECT_DEPT… in iterate() 391 vk.cmdResetQueryPool(*cmdBuffer, m_queryPool, 0, NUM_QUERIES_IN_POOL); in iterate() 393 vk.cmdBeginRenderPass(*cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in iterate() 395 vk.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_stateObjects->m_pipeline); in iterate() 399 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 401 …vk.cmdBeginQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY, m_testVector.queryControlFlag… in iterate() 402 vk.cmdEndQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY); in iterate() [all …]
|
D | vktQueryPoolImageObjectUtil.hpp | 254 vk::VkCommandBuffer cmdBuffer, 262 void initialTransitionColor2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, v… 264 void initialTransitionDepth2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, v… 266 void initialTransitionStencil2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer,… 268 …DepthStencil2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage ima…
|
D | vktQueryPoolImageObjectUtil.cpp | 858 vk::VkCommandBuffer cmdBuffer, in transition2DImage() argument 882 …vk.cmdPipelineBarrier(cmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_STAGE_TOP… in transition2DImage() 888 void initialTransitionColor2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, v… in initialTransitionColor2DImage() argument 890 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_COLOR_BIT, vk::VK_IMAGE_LAYOUT_UNDEFIN… in initialTransitionColor2DImage() 893 void initialTransitionDepth2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, v… in initialTransitionDepth2DImage() argument 895 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT, vk::VK_IMAGE_LAYOUT_UNDEFIN… in initialTransitionDepth2DImage() 898 void initialTransitionStencil2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer,… in initialTransitionStencil2DImage() argument 900 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK_IMAGE_LAYOUT_UNDEF… in initialTransitionStencil2DImage() 903 …DepthStencil2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage ima… in initialTransitionDepthStencil2DImage() argument 905 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCI… in initialTransitionDepthStencil2DImage()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreTests.cpp | 357 …arrierBetweenShaderInvocations (Context& context, const VkCommandBuffer cmdBuffer, const VkImage i… in commandImageWriteBarrierBetweenShaderInvocations() argument 367 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_S… in commandImageWriteBarrierBetweenShaderInvocations() 370 void commandBufferWriteBarrierBeforeHostRead (Context& context, const VkCommandBuffer cmdBuffer, co… in commandBufferWriteBarrierBeforeHostRead() argument 378 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT,… in commandBufferWriteBarrierBeforeHostRead() 383 const VkCommandBuffer cmdBuffer, in commandCopyImageToBuffer() argument 403 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_… in commandCopyImageToBuffer() 404 …vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ©R… in commandCopyImageToBuffer() 405 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDe… in commandCopyImageToBuffer() 525 virtual void commandBeforeCompute (const VkCommandBuffer cmdBuffer) = 0; 526 virtual void commandBetweenShaderInvocations (const VkCommandBuffer cmdBuffer) = 0; [all …]
|
D | vktImageQualifiersTests.cpp | 323 virtual void commandsBeforeCompute (const VkCommandBuffer cmdBuffer, 326 virtual void commandsAfterCompute (const VkCommandBuffer cmdBuffer, 380 const Unique<VkCommandBuffer> cmdBuffer(makeCommandBuffer(deviceInterface, device, *cmdPool)); in iterate() local 383 beginCommandBuffer(deviceInterface, *cmdBuffer); in iterate() 385 deviceInterface.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate() 386 …deviceInterface.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout,… in iterate() 388 commandsBeforeCompute(*cmdBuffer, bufferSizeInBytes); in iterate() 391 deviceInterface.cmdDispatch(*cmdBuffer, numGroups.x(), numGroups.y(), numGroups.z()); in iterate() 393 commandsAfterCompute(*cmdBuffer, bufferSizeInBytes); in iterate() 395 endCommandBuffer(deviceInterface, *cmdBuffer); in iterate() [all …]
|
D | vktImageAtomicOperationTests.cpp | 407 virtual void commandsBeforeCompute (const VkCommandBuffer cmdBuffer) const = 0; 408 virtual void commandsAfterCompute (const VkCommandBuffer cmdBuffer) const = 0; 517 const Unique<VkCommandBuffer> cmdBuffer(makeCommandBuffer(deviceInterface, device, *cmdPool)); in iterate() local 519 beginCommandBuffer(deviceInterface, *cmdBuffer); in iterate() 521 deviceInterface.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate() 522 …deviceInterface.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout,… in iterate() 539 …deviceInterface.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAG… in iterate() 543 …deviceInterface.cmdCopyBufferToImage(*cmdBuffer, *inputBuffer, m_resultImage->get(), VK_IMAGE_LAYO… in iterate() 553 …deviceInterface.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_C… in iterate() 555 commandsBeforeCompute(*cmdBuffer); in iterate() [all …]
|
D | vktImageSizeTests.cpp | 257 virtual void commandBeforeCompute (const VkCommandBuffer cmdBuffer) = 0; 307 const Unique<VkCommandBuffer> cmdBuffer(makeCommandBuffer(vk, device, *cmdPool)); in iterate() local 309 beginCommandBuffer(vk, *cmdBuffer); in iterate() 311 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in iterate() 312 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &des… in iterate() 314 commandBeforeCompute(*cmdBuffer); in iterate() 315 vk.cmdDispatch(*cmdBuffer, 1, 1, 1); in iterate() 316 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT… in iterate() 318 endCommandBuffer(vk, *cmdBuffer); in iterate() 320 submitCommandsAndWait(vk, device, queue, *cmdBuffer); in iterate() [all …]
|
D | vktImageTestsUtil.hpp | 164 const vk::VkCommandBuffer cmdBuffer); 167 const vk::VkCommandBuffer cmdBuffer); 172 const vk::VkCommandBuffer cmdBuffer);
|
/external/skia/src/gpu/vk/ |
D | GrVkResourceProvider.cpp | 66 GrVkCommandBuffer* cmdBuffer = GrVkCommandBuffer::Create(fGpu, fGpu->cmdPool()); in createCommandBuffer() local 67 fActiveCommandBuffers.push_back(cmdBuffer); in createCommandBuffer() 68 cmdBuffer->ref(); in createCommandBuffer() 69 return cmdBuffer; in createCommandBuffer()
|
D | GrVkCommandBuffer.h | 169 explicit GrVkCommandBuffer(VkCommandBuffer cmdBuffer) in GrVkCommandBuffer() argument 171 , fCmdBuffer(cmdBuffer) in GrVkCommandBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineEarlyFragmentTests.cpp | 932 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in iterate() local 944 beginCommandBuffer(vk, *cmdBuffer); in iterate() 958 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_O… in iterate() 963 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea, clearColor, 0.5f, 0u); in iterate() 965 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in iterate() 966 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, &de… in iterate() 967 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &vertexBuffer.get(), &vertexBufferOffset); in iterate() 971 …commandClearStencilAttachment(vk, *cmdBuffer, makeOffset2D(0, 0), makeExtent2D(renderSize.x()/2, r… in iterate() 973 vk.cmdDraw(*cmdBuffer, numVertices, 1u, 0u, 0u); in iterate() 974 endRenderPass(vk, *cmdBuffer); in iterate() [all …]
|
D | vktPipelineImageUtil.cpp | 179 Move<VkCommandBuffer> cmdBuffer; in readColorAttachment() local 225 cmdBuffer = allocateCommandBuffer(vk, device, &cmdBufferAllocateInfo); in readColorAttachment() 295 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in readColorAttachment() 296 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE… in readColorAttachment() 297 …vk.cmdCopyImageToBuffer(*cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, 1, ©… in readColorAttachment() 298 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BI… in readColorAttachment() 299 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in readColorAttachment() 309 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in readColorAttachment() 336 Move<VkCommandBuffer> cmdBuffer; in uploadTestTexture() local 383 cmdBuffer = allocateCommandBuffer(vk, device, &cmdBufferAllocateInfo); in uploadTestTexture() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 359 Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkdi, device, &cmdBufferCreateInfo)); in iterate() local 371 VK_CHECK(vkdi.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in iterate() 372 vkdi.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in iterate() 373 …vkdi.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0, 1, &des… in iterate() 374 vkdi.cmdDispatch(*cmdBuffer, numWorkGroups.x(), numWorkGroups.y(), numWorkGroups.z()); in iterate() 375 VK_CHECK(vkdi.endCommandBuffer(*cmdBuffer)); in iterate() 395 &cmdBuffer.get(), in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.hpp | 263 void transition2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage i… 265 void initialTransitionColor2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, v… 267 void initialTransitionDepth2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, v… 269 void initialTransitionStencil2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer,… 271 …DepthStencil2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage ima…
|
D | vktDrawImageObjectUtil.cpp | 879 vk::VkCommandBuffer cmdBuffer, in transition2DImage() argument 901 …vk.cmdPipelineBarrier(cmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_STAGE_TOP… in transition2DImage() 907 void initialTransitionColor2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, v… in initialTransitionColor2DImage() argument 909 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_COLOR_BIT, vk::VK_IMAGE_LAYOUT_UNDEFIN… in initialTransitionColor2DImage() 912 void initialTransitionDepth2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, v… in initialTransitionDepth2DImage() argument 914 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT, vk::VK_IMAGE_LAYOUT_UNDEFIN… in initialTransitionDepth2DImage() 917 void initialTransitionStencil2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer,… in initialTransitionStencil2DImage() argument 919 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK_IMAGE_LAYOUT_UNDEF… in initialTransitionStencil2DImage() 922 …DepthStencil2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage ima… in initialTransitionDepthStencil2DImage() argument 924 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCI… in initialTransitionDepthStencil2DImage()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateImageObjectUtil.hpp | 265 vk::VkCommandBuffer cmdBuffer, 273 void initialTransitionColor2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, v… 275 void initialTransitionDepth2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, v… 277 void initialTransitionStencil2DImage (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer,… 280 vk::VkCommandBuffer cmdBuffer,
|
D | vktDynamicStateImageObjectUtil.cpp | 879 vk::VkCommandBuffer cmdBuffer, in transition2DImage() argument 903 …vk.cmdPipelineBarrier(cmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_STAGE_TOP… in transition2DImage() 909 void initialTransitionColor2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, v… in initialTransitionColor2DImage() argument 911 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_COLOR_BIT, vk::VK_IMAGE_LAYOUT_UNDEFIN… in initialTransitionColor2DImage() 914 void initialTransitionDepth2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, v… in initialTransitionDepth2DImage() argument 916 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT, vk::VK_IMAGE_LAYOUT_UNDEFIN… in initialTransitionDepth2DImage() 919 void initialTransitionStencil2DImage (const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer,… in initialTransitionStencil2DImage() argument 921 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK_IMAGE_LAYOUT_UNDEF… in initialTransitionStencil2DImage() 925 vk::VkCommandBuffer cmdBuffer, in initialTransitionDepthStencil2DImage() argument 931 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCI… in initialTransitionDepthStencil2DImage()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 731 Move<VkCommandBuffer> cmdBuffer; in execute() local 1236 cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferParams); in execute() 1238 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in execute() 1240 …vk.cmdPipelineBarrier(*cmdBuffer, vk::VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, vk::VK_PIPELINE_STAGE_TO… in execute() 1244 vk.cmdBeginRenderPass(*cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in execute() 1246 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *graphicsPipeline); in execute() 1247 …vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, &*d… in execute() 1259 vk.cmdBindVertexBuffers(*cmdBuffer, 0, numberOfVertexAttributes, &buffers[0], &offsets[0]); in execute() 1260 vk.cmdDraw(*cmdBuffer, (deUint32)positions.size(), 1u, 0u, 0u); in execute() 1262 vk.cmdEndRenderPass(*cmdBuffer); in execute() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.hpp | 179 const vk::VkCommandBuffer cmdBuffer); 182 const vk::VkCommandBuffer cmdBuffer); 186 const vk::VkCommandBuffer cmdBuffer, 196 const vk::VkCommandBuffer cmdBuffer,
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 232 Move<VkCommandBuffer> cmdBuffer; in uploadImage() local 265 cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in uploadImage() 366 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in uploadImage() 367 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, (VkD… in uploadImage() 368 …vk.cmdCopyBufferToImage(*cmdBuffer, *buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &cop… in uploadImage() 369 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BI… in uploadImage() 370 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in uploadImage() 380 &cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in uploadImage() 447 Move<VkCommandBuffer> cmdBuffer; in readImage() local 484 cmdBuffer = allocateCommandBuffer(vk, device, &cmdBufferAllocateInfo); in readImage() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 851 Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferParams); in copyTilingImageToOptimal() local 853 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in copyTilingImageToOptimal() 862 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE… in copyTilingImageToOptimal() 899 …vk.cmdCopyImage(*cmdBuffer, srcImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dstImage, VK_IMAGE_LAY… in copyTilingImageToOptimal() 905 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE… in copyTilingImageToOptimal() 910 VK_CHECK(vk.endCommandBuffer(*cmdBuffer)); in copyTilingImageToOptimal() 927 &cmdBuffer.get(), in copyTilingImageToOptimal() 1656 …const Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferPar… in render() local 1680 &cmdBuffer.get(), in render() 1685 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)); in render() [all …]
|