/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateBaseClass.cpp | 152 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() 194 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPassWithClearColor() 196 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor() 199 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor() 210 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor() 217 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPassWithClearColor() 230 m_vk.cmdSetViewport(*m_cmdBuffer, 0, 1, &viewport); in setDynamicViewportState() 237 m_vk.cmdSetScissor(*m_cmdBuffer, 0, 1, &scissor); in setDynamicViewportState() 242 m_vk.cmdSetViewport(*m_cmdBuffer, 0, viewportCount, pViewports); in setDynamicViewportState() 243 m_vk.cmdSetScissor(*m_cmdBuffer, 0, viewportCount, pScissors); in setDynamicViewportState() [all …]
|
D | vktDynamicStateRSTests.cpp | 86 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::DynamicState::__anon881577eb0111::DepthBiasBaseCase 265 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() 283 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPassWithClearColor() 285 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor() 286 …initialTransitionDepthStencil2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMA… in beginRenderPassWithClearColor() 289 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor() 296 m_vk.cmdClearDepthStencilImage(*m_cmdBuffer, m_depthStencilImage->object(), in beginRenderPassWithClearColor() 308 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor() 316 …transition2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT… in beginRenderPassWithClearColor() 318 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPassWithClearColor() [all …]
|
D | vktDynamicStateDSTests.cpp | 95 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::DynamicState::__anon3d038e5d0111::DepthStencilBaseCase 293 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() 311 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPassWithClearColor() 313 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor() 314 …initialTransitionDepthStencil2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMA… in beginRenderPassWithClearColor() 317 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor() 323 m_vk.cmdClearDepthStencilImage(*m_cmdBuffer, m_depthStencilImage->object(), in beginRenderPassWithClearColor() 333 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor() 341 …transition2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT… in beginRenderPassWithClearColor() 343 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPassWithClearColor() [all …]
|
D | vktDynamicStateGeneralTests.cpp | 83 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 87 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 91 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 95 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 97 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 98 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 108 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 189 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 193 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 202 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() [all …]
|
D | vktDynamicStateVPTests.cpp | 83 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 87 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 89 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 91 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 92 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 102 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 315 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 319 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 321 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 323 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() [all …]
|
D | vktDynamicStateCBTests.cpp | 98 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 102 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 104 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 106 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 107 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 117 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate()
|
D | vktDynamicStateBaseClass.hpp | 101 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::DynamicState::DynamicStateBaseClass
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineTimestampTests.cpp | 653 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon78d3ee3b0111::TimestampTestInstance 729 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdAllocateParams); in TimestampTestInstance() 769 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in configCommandBuffer() 771 vk.cmdResetQueryPool(*m_cmdBuffer, *m_queryPool, 0u, TimestampTest::ENTRY_COUNT); in configCommandBuffer() 776 vk.cmdWriteTimestamp(*m_cmdBuffer, *it, *m_queryPool, timestampEntry++); in configCommandBuffer() 779 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in configCommandBuffer() 800 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 1297 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in configCommandBuffer() 1299 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in configCommandBuffer() 1302 vk.cmdResetQueryPool(*m_cmdBuffer, *m_queryPool, 0u, TimestampTest::ENTRY_COUNT); in configCommandBuffer() [all …]
|
D | vktPipelinePushConstantTests.cpp | 168 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anonae0154f10111::PushConstantGraphicsTestInstance 1002 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in PushConstantGraphicsTestInstance() 1004 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in PushConstantGraphicsTestInstance() 1006 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in PushConstantGraphicsTestInstance() 1009 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in PushConstantGraphicsTestInstance() 1021 …vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, m_pushConstantRange[rangeNdx].range.shaderSta… in PushConstantGraphicsTestInstance() 1026 …vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, m_pushConstantRange[rangeNdx].range.shaderSta… in PushConstantGraphicsTestInstance() 1038 …vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, m_pushConstantRange[0].range.shaderStage, m_p… in PushConstantGraphicsTestInstance() 1041 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines); in PushConstantGraphicsTestInstance() 1042 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in PushConstantGraphicsTestInstance() [all …]
|
D | vktPipelineCacheTests.cpp | 564 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon54d662db0111::CacheTestInstance 602 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdAllocateParams); in CacheTestInstance() 654 …&m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 1084 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in prepareRenderPass() 1086 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipeline); in prepareRenderPass() 1088 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &offsets); in prepareRenderPass() 1089 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass() 1091 vk.cmdEndRenderPass(*m_cmdBuffer); in prepareRenderPass() 1106 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in prepareCommandBuffer() 1112 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in prepareCommandBuffer() [all …]
|
D | vktPipelineDepthTests.cpp | 166 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon9666b2dc0111::DepthTestInstance 776 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in DepthTestInstance() 778 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in DepthTestInstance() 780 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in DepthTestInstance() 783 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in DepthTestInstance() 791 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in DepthTestInstance() 792 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in DepthTestInstance() 793 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0); in DepthTestInstance() 796 vk.cmdEndRenderPass(*m_cmdBuffer); in DepthTestInstance() 797 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in DepthTestInstance() [all …]
|
D | vktPipelineImageSamplingInstance.cpp | 907 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in ImageSamplingInstance() 909 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in ImageSamplingInstance() 911 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in ImageSamplingInstance() 914 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in ImageSamplingInstance() 916 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipeline); in ImageSamplingInstance() 918 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0, 1, &… in ImageSamplingInstance() 921 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in ImageSamplingInstance() 922 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in ImageSamplingInstance() 924 vk.cmdEndRenderPass(*m_cmdBuffer); in ImageSamplingInstance() 925 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in ImageSamplingInstance() [all …]
|
D | vktPipelineStencilTests.cpp | 170 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon74abf3190111::StencilTestInstance 864 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in StencilTestInstance() 866 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in StencilTestInstance() 868 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in StencilTestInstance() 871 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in StencilTestInstance() 879 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in StencilTestInstance() 880 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in StencilTestInstance() 881 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / StencilTest::QUAD_COUNT), 1, 0, 0); in StencilTestInstance() 884 vk.cmdEndRenderPass(*m_cmdBuffer); in StencilTestInstance() 885 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in StencilTestInstance() [all …]
|
D | vktPipelineBlendTests.cpp | 152 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon00b3faec0111::BlendTestInstance 753 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in BlendTestInstance() 755 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in BlendTestInstance() 757 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in BlendTestInstance() 760 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in BlendTestInstance() 768 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in BlendTestInstance() 769 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in BlendTestInstance() 770 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / BlendTest::QUAD_COUNT), 1, 0, 0); in BlendTestInstance() 773 vk.cmdEndRenderPass(*m_cmdBuffer); in BlendTestInstance() 774 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in BlendTestInstance() [all …]
|
D | vktPipelineInputAssemblyTests.cpp | 179 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon880779f70111::InputAssemblyInstance 1416 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in InputAssemblyInstance() 1418 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in InputAssemblyInstance() 1420 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in InputAssemblyInstance() 1423 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in InputAssemblyInstance() 1427 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipeline); in InputAssemblyInstance() 1428 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in InputAssemblyInstance() 1429 vk.cmdBindIndexBuffer(*m_cmdBuffer, *m_indexBuffer, 0, m_indexType); in InputAssemblyInstance() 1430 vk.cmdDrawIndexed(*m_cmdBuffer, (deUint32)m_indices.size(), 1, 0, 0, 0); in InputAssemblyInstance() 1432 vk.cmdEndRenderPass(*m_cmdBuffer); in InputAssemblyInstance() [all …]
|
D | vktPipelineVertexInputTests.cpp | 241 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anond61a5d350111::VertexInputInstance 1070 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in VertexInputInstance() 1072 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in VertexInputInstance() 1074 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in VertexInputInstance() 1077 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in VertexInputInstance() 1079 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipeline); in VertexInputInstance() 1088 …vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, (deUint32)vertexBuffers.size(), vertexBuffers.data(), bin… in VertexInputInstance() 1098 …vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, firstHalfLength, vertexBuffers.data(), bindingOffsets.dat… in VertexInputInstance() 1101 vk.cmdBindVertexBuffers(*m_cmdBuffer, firstHalfLength, secondHalfLength, in VertexInputInstance() 1106 vk.cmdDraw(*m_cmdBuffer, 4, 2, 0, 0); in VertexInputInstance() [all …]
|
D | vktPipelineMultisampleTests.cpp | 252 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon741043340111::MultisampleRenderer 1789 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in MultisampleRenderer() 1791 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in MultisampleRenderer() 1793 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in MultisampleRenderer() 1796 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in MultisampleRenderer() 1800 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipeline); in MultisampleRenderer() 1801 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in MultisampleRenderer() 1802 vk.cmdDraw(*m_cmdBuffer, (deUint32)vertices.size(), 1, 0, 0); in MultisampleRenderer() 1804 vk.cmdEndRenderPass(*m_cmdBuffer); in MultisampleRenderer() 1806 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in MultisampleRenderer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawIndexedTest.cpp | 144 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 145 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate() 147 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 149 m_vk.cmdDrawIndexed(*m_cmdBuffer, 6, 1, 2, 0, 0); in iterate() 151 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 152 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 162 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 244 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 245 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate() 246 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() [all …]
|
D | vktDrawSimpleTest.cpp | 117 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 118 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 123 m_vk.cmdDraw(*m_cmdBuffer, 6, 1, 2, 0); in iterate() 126 m_vk.cmdDraw(*m_cmdBuffer, 4, 1, 2, 0); in iterate() 145 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 146 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 156 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 222 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 224 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 229 m_vk.cmdDraw(*m_cmdBuffer, 6, 4, 2, 2); in iterate() [all …]
|
D | vktDrawIndirectTest.cpp | 239 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 261 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 263 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCount, m_st… in iterate() 267 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_stride… in iterate() 270 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 271 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 281 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 422 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 444 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 446 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCount, m_st… in iterate() [all …]
|
D | vktDrawBaseClass.cpp | 148 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() 193 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPass() 195 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPass() 198 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPass() 209 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPass() 216 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPass()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferViewAccessTests.cpp | 105 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::api::__anon54bd25560111::BufferViewTestInstance 673 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferParams); in BufferViewTestInstance() 675 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in BufferViewTestInstance() 697 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATT… in BufferViewTestInstance() 699 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in BufferViewTestInstance() 703 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines); in BufferViewTestInstance() 704 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0u, 1, … in BufferViewTestInstance() 705 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), vertexBufferOffset); in BufferViewTestInstance() 706 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in BufferViewTestInstance() 707 vk.cmdEndRenderPass(*m_cmdBuffer); in BufferViewTestInstance() [all …]
|
D | vktApiCopiesAndBlittingTests.cpp | 99 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::api::__anon82c253020111::CopiesAndBlittingTestInstance 164 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in CopiesAndBlittingTestInstance() 758 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in iterate() 759 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT… in iterate() 760 …vk.cmdCopyImage(*m_cmdBuffer, m_source.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_destination.… in iterate() 761 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in iterate() 771 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 940 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in iterate() 941 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT… in iterate() 942 …vk.cmdCopyBuffer(*m_cmdBuffer, m_source.get(), m_destination.get(), (deUint32)m_params.regions.siz… in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1377 const Unique<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::__anon25d478c50111::ShaderCaseInstance 1419 , m_cmdBuffer (allocateCommandBuffer(context, *m_cmdPool)) in ShaderCaseInstance() 1490 VK_CHECK(vkd.beginCommandBuffer(*m_cmdBuffer, &beginInfo)); in ShaderCaseInstance() 1521 …vkd.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_HOST_BIT, vk::VK_PIPELINE_STAGE_ALL_GRA… in ShaderCaseInstance() 1540 vkd.cmdBeginRenderPass(*m_cmdBuffer, &passBeginInfo, vk::VK_SUBPASS_CONTENTS_INLINE); in ShaderCaseInstance() 1543 vkd.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in ShaderCaseInstance() 1546 …vkd.cmdBindDescriptorSets(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0u… in ShaderCaseInstance() 1552 vkd.cmdBindVertexBuffers(*m_cmdBuffer, 0u, numBuffers, buffers, offsets); in ShaderCaseInstance() 1555 …vkd.cmdBindIndexBuffer (*m_cmdBuffer, *m_posNdxBuffer, (vk::VkDeviceSize)INDICES_OFFSET, vk::VK_IN… in ShaderCaseInstance() 1556 vkd.cmdDrawIndexed (*m_cmdBuffer, 6u, 1u, 0u, 0u, 0u); in ShaderCaseInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 1538 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferParams); in render() 1540 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in render() 1560 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TOP_OF_PI… in render() 1565 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in render() 1567 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipeline); in render() 1569 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0u, 1, … in render() 1570 vk.cmdBindIndexBuffer(*m_cmdBuffer, *m_indiceBuffer, 0, VK_INDEX_TYPE_UINT16); in render() 1581 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, numberOfVertexAttributes, &buffers[0], &offsets[0]); in render() 1582 vk.cmdDrawIndexed(*m_cmdBuffer, quadGrid.getNumTriangles() * 3, 1, 0, 0, 0); in render() 1584 vk.cmdEndRenderPass(*m_cmdBuffer); in render() [all …]
|