/external/vulkan-validation-layers/tests/ |
D | vklayertests_command.cpp | 103 m_commandBuffer->begin(); in TEST_F() 117 …vkCmdBeginRenderPass(m_commandBuffer->handle(), &rpbi, VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFE… in TEST_F() 153 vkCmdExecuteCommands(m_commandBuffer->handle(), 1, &secondary.handle()); in TEST_F() 377 m_commandBuffer->begin(); in TEST_F() 378 …m_commandBuffer->ClearAllBuffers(m_renderTargets, m_clear_color, nullptr, m_depth_clear_color, m_s… in TEST_F() 379 m_commandBuffer->end(); in TEST_F() 390 submit_info.pCommandBuffers = &m_commandBuffer->handle(); in TEST_F() 529 m_commandBuffer->begin(); in TEST_F() 530 m_commandBuffer->BeginRenderPass(m_renderPassBeginInfo); in TEST_F() 535 …vkCmdPushConstants(m_commandBuffer->handle(), pipeline_layout_obj.handle(), 0, 0, 16, dummy_values… in TEST_F() [all …]
|
D | vklayertests_others.cpp | 53 m_commandBuffer->SetViewport(0, 0, &viewport); in TEST_F() 65 m_commandBuffer->SetViewport(0, 1, NULL); in TEST_F() 95 m_commandBuffer->SetStencilReference(0, 0); in TEST_F() 632 m_commandBuffer->begin(); in TEST_F() 633 …m_commandBuffer->ClearAllBuffers(m_renderTargets, m_clear_color, nullptr, m_depth_clear_color, m_s… in TEST_F() 634 m_commandBuffer->end(); in TEST_F() 645 submit_info.pCommandBuffers = &m_commandBuffer->handle(); in TEST_F() 1086 m_commandBuffer->begin(); in TEST_F() 1087 vkCmdSetEvent(m_commandBuffer->handle(), event, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT); in TEST_F() 1088 m_commandBuffer->end(); in TEST_F() [all …]
|
D | vklayertests_descriptor_renderpass_framebuffer.cpp | 374 submit_info.pCommandBuffers = &m_commandBuffer->handle(); in TEST_F() 412 m_commandBuffer->begin(); in TEST_F() 413 m_commandBuffer->BeginRenderPass(m_renderPassBeginInfo); in TEST_F() 414 … vkCmdBindPipeline(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_GRAPHICS, pipe.handle()); in TEST_F() 415 …vkCmdBindDescriptorSets(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_GRAPHICS, iter.pipeline_… in TEST_F() 417 vkCmdSetViewport(m_commandBuffer->handle(), 0, 1, &viewport); in TEST_F() 418 vkCmdSetScissor(m_commandBuffer->handle(), 0, 1, &scissors); in TEST_F() 419 vkCmdDraw(m_commandBuffer->handle(), 3, 1, 0, 0); in TEST_F() 420 vkCmdEndRenderPass(m_commandBuffer->handle()); in TEST_F() 421 m_commandBuffer->end(); in TEST_F() [all …]
|
D | vklayertests_buffer_image_memory_sampler.cpp | 200 m_commandBuffer->begin(); in TEST_F() 203 m_commandBuffer->UpdateBuffer(buffer.handle(), 1, 4, updateData); in TEST_F() 208 m_commandBuffer->UpdateBuffer(buffer.handle(), 0, 6, updateData); in TEST_F() 214 m_commandBuffer->UpdateBuffer(buffer.handle(), 0, (VkDeviceSize)-44, updateData); in TEST_F() 220 m_commandBuffer->UpdateBuffer(buffer.handle(), 0, (VkDeviceSize)80000, updateData); in TEST_F() 223 m_commandBuffer->end(); in TEST_F() 235 m_commandBuffer->begin(); in TEST_F() 239 m_commandBuffer->FillBuffer(buffer.handle(), 1, 4, 0x11111111); in TEST_F() 244 m_commandBuffer->FillBuffer(buffer.handle(), 0, 6, 0x11111111); in TEST_F() 249 m_commandBuffer->FillBuffer(buffer.handle(), 0, 0, 0x11111111); in TEST_F() [all …]
|
D | vkpositivelayertests.cpp | 96 m_commandBuffer->begin(); in TEST_F() 110 …vkCmdBeginRenderPass(m_commandBuffer->handle(), &rpbi, VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFE… in TEST_F() 140 vkCmdExecuteCommands(m_commandBuffer->handle(), 1, &secondary.handle()); in TEST_F() 141 vkCmdEndRenderPass(m_commandBuffer->handle()); in TEST_F() 142 m_commandBuffer->end(); in TEST_F() 147 submit_info.pCommandBuffers = &m_commandBuffer->handle(); in TEST_F() 238 m_commandBuffer->begin(); in TEST_F() 239 vkCmdBeginRenderPass(m_commandBuffer->handle(), &rpbi, VK_SUBPASS_CONTENTS_INLINE); in TEST_F() 240 vkCmdEndRenderPass(m_commandBuffer->handle()); in TEST_F() 241 vkCmdBeginRenderPass(m_commandBuffer->handle(), &rpbi, VK_SUBPASS_CONTENTS_INLINE); in TEST_F() [all …]
|
D | vklayertests_pipeline_shader.cpp | 75 m_commandBuffer->begin(); in TEST_F() 76 vkCmdBindPipeline(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_GRAPHICS, badPipeline); in TEST_F() 94 m_commandBuffer->begin(); in TEST_F() 95 vkCmdBindPipeline(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_GRAPHICS, pipe.pipeline_); in TEST_F() 113 m_commandBuffer->begin(); in TEST_F() 114 vkCmdBindPipeline(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_COMPUTE, pipe.pipeline_); in TEST_F() 153 m_commandBuffer->begin(); in TEST_F() 154 …vkCmdBindPipeline(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_RAY_TRACING_NV, pipe.pipeline_… in TEST_F() 205 descriptorSet.CreateVKDescriptorSet(m_commandBuffer); in TEST_F() 1091 m_commandBuffer->begin(); in TEST_F() [all …]
|
D | vklayertests_imageless_framebuffer.cpp | 163 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 172 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 181 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 190 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 199 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 208 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 217 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 226 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 235 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() 244 …TestRenderPassBegin(m_errorMonitor, m_device->device(), m_commandBuffer->handle(), &renderPassBegi… in TEST_F() [all …]
|
D | layer_validation_tests.cpp | 401 void NegHeightViewportTests(VkDeviceObj *m_device, VkCommandBufferObj *m_commandBuffer, ErrorMonito… in NegHeightViewportTests() argument 404 m_commandBuffer->begin(); in NegHeightViewportTests() 437 vkCmdSetViewport(m_commandBuffer->handle(), 0, 1, &test_case.vp); in NegHeightViewportTests() 899 m_commandBuffer->begin(); in VKTriangleTest() 901 GenericDrawPreparation(m_commandBuffer, pipelineobj, descriptorSet, failCase); in VKTriangleTest() 903 m_commandBuffer->BeginRenderPass(m_renderPassBeginInfo); in VKTriangleTest() 908 m_commandBuffer->DrawIndexed(3, 1, 0, 0, 0); in VKTriangleTest() 911 m_commandBuffer->BindIndexBuffer(&index_buffer, 0, VK_INDEX_TYPE_UINT16); in VKTriangleTest() 912 m_commandBuffer->DrawIndexed(513, 1, 0, 0, 0); in VKTriangleTest() 915 m_commandBuffer->BindIndexBuffer(&index_buffer, 0, VK_INDEX_TYPE_UINT16); in VKTriangleTest() [all …]
|
D | vkrenderframework.cpp | 38 m_commandBuffer(NULL), in VkRenderFramework() 233 descriptorSet->CreateVKDescriptorSet(m_commandBuffer); in DeviceCanDraw() 237 m_commandBuffer->begin(); in DeviceCanDraw() 238 m_commandBuffer->BeginRenderPass(m_renderPassBeginInfo); in DeviceCanDraw() 240 vkCmdBindPipeline(m_commandBuffer->handle(), VK_PIPELINE_BIND_POINT_GRAPHICS, pipe->handle()); in DeviceCanDraw() 241 m_commandBuffer->BindDescriptorSet(*descriptorSet); in DeviceCanDraw() 246 vkCmdSetViewport(m_commandBuffer->handle(), 0, 1, &viewport); in DeviceCanDraw() 247 vkCmdSetScissor(m_commandBuffer->handle(), 0, 1, &scissors); in DeviceCanDraw() 249 vkCmdDraw(m_commandBuffer->handle(), 3, 1, 0, 0); in DeviceCanDraw() 251 m_commandBuffer->EndRenderPass(); in DeviceCanDraw() [all …]
|
D | vkrenderframework.h | 132 VkCommandBufferObj *m_commandBuffer; variable
|
D | layer_validation_tests.h | 773 void NegHeightViewportTests(VkDeviceObj *m_device, VkCommandBufferObj *m_commandBuffer, ErrorMonito…
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessUtil.cpp | 299 m_commandBuffer = allocateCommandBuffer(vk, m_device, &commandBufferAllocateInfo); in TestEnvironment() 305 return *m_commandBuffer; in getCommandBuffer() 456 beginCommandBuffer(vk, *m_commandBuffer, 0u); in GraphicsEnvironment() 458 vk.cmdPipelineBarrier(*m_commandBuffer, in GraphicsEnvironment() 466 …beginRenderPass(vk, *m_commandBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_renderSize… in GraphicsEnvironment() 470 vk.cmdBindPipeline(*m_commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipeline); in GraphicsEnvironment() 471 …vk.cmdBindDescriptorSets(*m_commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0, … in GraphicsEnvironment() 472 …vk.cmdBindVertexBuffers(*m_commandBuffer, 0, (deUint32)drawConfig.vertexBuffers.size(), drawConfig… in GraphicsEnvironment() 476 vk.cmdDraw(*m_commandBuffer, drawConfig.vertexCount, drawConfig.instanceCount, 0, 0); in GraphicsEnvironment() 480 vk.cmdBindIndexBuffer(*m_commandBuffer, drawConfig.indexBuffer, 0, VK_INDEX_TYPE_UINT32); in GraphicsEnvironment() [all …]
|
D | vktRobustnessUtil.hpp | 68 vk::Move<vk::VkCommandBuffer> m_commandBuffer; member in vkt::robustness::TestEnvironment
|
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/ |
D | vulkan_funcs.hpp | 4176 …d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast<const VkCommandBufferBeginInfo *>( pBegi… in begin() 4185 …d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast<const VkCommandBufferBeginInfo *>( &begi… in begin() 4194 return static_cast<Result>( d.vkEndCommandBuffer( m_commandBuffer ) ); in end() 4201 Result result = static_cast<Result>( d.vkEndCommandBuffer( m_commandBuffer ) ); in end() 4212 d.vkResetCommandBuffer( m_commandBuffer, static_cast<VkCommandBufferResetFlags>( flags ) ) ); in reset() 4220 …static_cast<Result>( d.vkResetCommandBuffer( m_commandBuffer, static_cast<VkCommandBufferResetFlag… in reset() 4231 …m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipeline>( p… in bindPipeline() 4241 …m_commandBuffer, firstViewport, viewportCount, reinterpret_cast<const VkViewport *>( pViewports ) … in setViewport() 4251 …m_commandBuffer, firstViewport, viewports.size(), reinterpret_cast<const VkViewport *>( viewports.… in setViewport() 4261 …d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissorCount, reinterpret_cast<const VkRect2D *>… in setScissor() [all …]
|
D | vulkan_raii.hpp | 3395 : m_commandBuffer( commandBuffer ) in CommandBuffer() 3405 …: m_commandBuffer( commandBuffer ), m_device( device ), m_commandPool( commandPool ), m_dispatcher… in CommandBuffer() 3410 if ( m_commandBuffer ) in ~CommandBuffer() 3413 … m_device, m_commandPool, 1, reinterpret_cast<VkCommandBuffer const *>( &m_commandBuffer ) ); in ~CommandBuffer() 3424 …: m_commandBuffer( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_commandBuffer,… in CommandBuffer() 3434 if ( m_commandBuffer ) in operator =() 3437 … m_device, m_commandPool, 1, reinterpret_cast<VkCommandBuffer const *>( &m_commandBuffer ) ); in operator =() 3439 …m_commandBuffer = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_commandBuffer, … in operator =() 3449 return m_commandBuffer; in operator *() 3460 return m_commandBuffer.operator bool(); in operator bool() [all …]
|
D | vulkan_handles.hpp | 2818 : m_commandBuffer( commandBuffer ) in CommandBuffer() 2824 m_commandBuffer = commandBuffer; in operator =() 2831 m_commandBuffer = {}; in operator =() 2840 return m_commandBuffer == rhs.m_commandBuffer; in operator ==() 2845 return m_commandBuffer != rhs.m_commandBuffer; in operator !=() 2850 return m_commandBuffer < rhs.m_commandBuffer; in operator <() 4454 return m_commandBuffer; in operator VkCommandBuffer() 4459 return m_commandBuffer != VK_NULL_HANDLE; in operator bool() 4464 return m_commandBuffer == VK_NULL_HANDLE; in operator !() 4468 VkCommandBuffer m_commandBuffer = {}; member in VULKAN_HPP_NAMESPACE::CommandBuffer
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 553 Unique<VkCommandBuffer> m_commandBuffer; member in vkt::api::__anonfa1a7f590111::ImageClearingTestInstance 578 , m_commandBuffer (allocatePrimaryCommandBuffer(*m_commandPool)) in ImageClearingTestInstance() 998 vk::beginCommandBuffer(m_vkd, *m_commandBuffer, usageFlags); in beginCommandBuffer() 1003 vk::endCommandBuffer(m_vkd, *m_commandBuffer); in endCommandBuffer() 1008 submitCommandsAndWait(m_vkd, m_device, m_queue, m_commandBuffer.get()); in submitCommandBuffer() 1036 …m_vkd.cmdPipelineBarrier(*m_commandBuffer, srcStageMask, dstStageMask, 0, 0, DE_NULL, 0, DE_NULL, … in pipelineImageBarrier() 1123 …m_vkd.cmdCopyImageToBuffer(*m_commandBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buff… in readImage() 1124 …m_vkd.cmdPipelineBarrier(*m_commandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_… in readImage() 1263 …vk::beginRenderPass(m_vkd, *m_commandBuffer, *m_renderPass, *m_frameBuffer, makeRect2D(0, 0, m_par… in beginRenderPass() 1316 endRenderPass(m_vkd, *m_commandBuffer); in iterate() [all …]
|
/external/swiftshader/include/vulkan/ |
D | vulkan.hpp | 35069 : m_commandBuffer(VK_NULL_HANDLE) in CommandBuffer() 35073 : m_commandBuffer(VK_NULL_HANDLE) in CommandBuffer() 35077 : m_commandBuffer( commandBuffer ) in CommandBuffer() 35083 m_commandBuffer = commandBuffer; in operator =() 35090 m_commandBuffer = VK_NULL_HANDLE; in operator =() 35099 return m_commandBuffer == rhs.m_commandBuffer; in operator ==() 35104 return m_commandBuffer != rhs.m_commandBuffer; in operator !=() 35109 return m_commandBuffer < rhs.m_commandBuffer; in operator <() 35917 return m_commandBuffer; in operator VkCommandBuffer() 35922 return m_commandBuffer != VK_NULL_HANDLE; in operator bool() [all …]
|
/external/vulkan-headers/include/vulkan/ |
D | vulkan.hpp | 34911 : m_commandBuffer(VK_NULL_HANDLE) in CommandBuffer() 34915 : m_commandBuffer(VK_NULL_HANDLE) in CommandBuffer() 34919 : m_commandBuffer( commandBuffer ) in CommandBuffer() 34925 m_commandBuffer = commandBuffer; in operator =() 34932 m_commandBuffer = VK_NULL_HANDLE; in operator =() 34941 return m_commandBuffer == rhs.m_commandBuffer; in operator ==() 34946 return m_commandBuffer != rhs.m_commandBuffer; in operator !=() 34951 return m_commandBuffer < rhs.m_commandBuffer; in operator <() 35755 return m_commandBuffer; in operator VkCommandBuffer() 35760 return m_commandBuffer != VK_NULL_HANDLE; in operator bool() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryPipelineBarrierTests.cpp | 1760 , m_commandBuffer (commandBuffer) in SubmitContext() 1766 vk::VkCommandBuffer getCommandBuffer (void) const { return m_commandBuffer; } in getCommandBuffer() 1777 const vk::VkCommandBuffer m_commandBuffer; member in vkt::memory::__anon58c89e6c0111::SubmitContext 1820 vk::Move<vk::VkCommandBuffer> m_commandBuffer; member in vkt::memory::__anon58c89e6c0111::SubmitCommandBuffer 1840 …m_commandBuffer = createBeginCommandBuffer(vkd, device, commandPool, vk::VK_COMMAND_BUFFER_LEVEL_P… in prepare() 1850 SubmitContext submitContext (context, *m_commandBuffer); in prepare() 1859 endCommandBuffer(vkd, *m_commandBuffer); in prepare() 1866 const vk::VkCommandBuffer cmd = *m_commandBuffer; in execute() 4550 vk::Move<vk::VkCommandBuffer> m_commandBuffer; member in vkt::memory::__anon58c89e6c0111::ExecuteSecondaryCommandBuffer 4607 …m_commandBuffer = createBeginCommandBuffer(vkd, device, commandPool, vk::VK_COMMAND_BUFFER_LEVEL_S… in prepare() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 2282 …m_commandBuffer = allocateCommandBuffer(vk, device, commandBufferPool, VK_COMMAND_BUFFER_LEVEL_SEC… in SubpassRenderer() 2284 …beginCommandBuffer(vk, *m_commandBuffer, vk::VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT, ren… in SubpassRenderer() 2285 pushRenderCommands(vk, *m_commandBuffer); in SubpassRenderer() 2286 endCommandBuffer(vk, *m_commandBuffer); in SubpassRenderer() 2292 return m_commandBuffer; in isSecondary() 2298 return *m_commandBuffer; in getCommandBuffer() 2466 Move<VkCommandBuffer> m_commandBuffer; member in vkt::__anond197478b0111::SubpassRenderer
|