/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateBaseClass.cpp | 154 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo); in initialize() 196 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPassWithClearColor() 198 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor() 201 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor() 212 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor() 219 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPassWithClearColor() 232 m_vk.cmdSetViewport(*m_cmdBuffer, 0, 1, &viewport); in setDynamicViewportState() 239 m_vk.cmdSetScissor(*m_cmdBuffer, 0, 1, &scissor); in setDynamicViewportState() 244 m_vk.cmdSetViewport(*m_cmdBuffer, 0, viewportCount, pViewports); in setDynamicViewportState() 245 m_vk.cmdSetScissor(*m_cmdBuffer, 0, viewportCount, pScissors); in setDynamicViewportState() [all …]
|
D | vktDynamicStateRSTests.cpp | 89 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::DynamicState::__anonbab24aa50111::DepthBiasBaseCase 259 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize() 277 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPassWithClearColor() 279 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPassWithClearColor() 280 …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() 310 …transition2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT… in beginRenderPassWithClearColor() 312 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPassWithClearColor() [all …]
|
D | vktDynamicStateDSTests.cpp | 97 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::DynamicState::__anon6fa061170111::DepthStencilBaseCase 286 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize() 304 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPassWithClearColor() 306 …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() 310 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPassWithClearColor() 316 m_vk.cmdClearDepthStencilImage(*m_cmdBuffer, m_depthStencilImage->object(), in beginRenderPassWithClearColor() 326 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPassWithClearColor() 334 …transition2DImage(m_vk, *m_cmdBuffer, m_depthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT… in beginRenderPassWithClearColor() 336 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPassWithClearColor() [all …]
|
D | vktDynamicStateGeneralTests.cpp | 86 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 90 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() 98 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 100 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 101 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 111 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 192 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 196 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 205 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() [all …]
|
D | vktDynamicStateVPTests.cpp | 86 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 90 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 92 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 94 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 95 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 105 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 318 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 322 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 324 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 326 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() [all …]
|
D | vktDynamicStateCBTests.cpp | 101 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 105 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 107 m_vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_data.size()), 1, 0, 0); in iterate() 109 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 110 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 120 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineTimestampTests.cpp | 653 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon5ac8ca750111::TimestampTestInstance 709 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in TimestampTestInstance() 748 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in configCommandBuffer() 750 vk.cmdResetQueryPool(*m_cmdBuffer, *m_queryPool, 0u, TimestampTest::ENTRY_COUNT); in configCommandBuffer() 755 vk.cmdWriteTimestamp(*m_cmdBuffer, *it, *m_queryPool, timestampEntry++); in configCommandBuffer() 758 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in configCommandBuffer() 779 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 1276 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in configCommandBuffer() 1278 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in configCommandBuffer() 1281 vk.cmdResetQueryPool(*m_cmdBuffer, *m_queryPool, 0u, TimestampTest::ENTRY_COUNT); in configCommandBuffer() [all …]
|
D | vktPipelinePushConstantTests.cpp | 190 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon34387eeb0111::PushConstantGraphicsTestInstance 1115 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in PushConstantGraphicsTestInstance() 1117 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in PushConstantGraphicsTestInstance() 1119 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in PushConstantGraphicsTestInstance() 1122 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in PushConstantGraphicsTestInstance() 1168 …vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, m_pushConstantRange[rangeNdx].range.shaderSta… in PushConstantGraphicsTestInstance() 1173 …vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, m_pushConstantRange[rangeNdx].range.shaderSta… in PushConstantGraphicsTestInstance() 1185 …vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, m_pushConstantRange[0].range.shaderStage, m_p… in PushConstantGraphicsTestInstance() 1188 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines); in PushConstantGraphicsTestInstance() 1189 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in PushConstantGraphicsTestInstance() [all …]
|
D | vktPipelineStencilTests.cpp | 170 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon356878d30111::StencilTestInstance 845 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in StencilTestInstance() 847 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in StencilTestInstance() 849 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in StencilTestInstance() 852 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in StencilTestInstance() 860 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in StencilTestInstance() 861 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in StencilTestInstance() 862 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / StencilTest::QUAD_COUNT), 1, 0, 0); in StencilTestInstance() 865 vk.cmdEndRenderPass(*m_cmdBuffer); in StencilTestInstance() 866 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in StencilTestInstance() [all …]
|
D | vktPipelineDepthTests.cpp | 166 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon84f282160111::DepthTestInstance 757 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in DepthTestInstance() 759 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in DepthTestInstance() 761 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in DepthTestInstance() 764 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in DepthTestInstance() 772 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in DepthTestInstance() 773 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in DepthTestInstance() 774 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0); in DepthTestInstance() 777 vk.cmdEndRenderPass(*m_cmdBuffer); in DepthTestInstance() 778 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in DepthTestInstance() [all …]
|
D | vktPipelineBlendTests.cpp | 152 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anonef3fca260111::BlendTestInstance 734 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in BlendTestInstance() 736 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in BlendTestInstance() 738 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in BlendTestInstance() 741 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in BlendTestInstance() 749 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in BlendTestInstance() 750 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), &vertexBufferOffset); in BlendTestInstance() 751 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / BlendTest::QUAD_COUNT), 1, 0, 0); in BlendTestInstance() 754 vk.cmdEndRenderPass(*m_cmdBuffer); in BlendTestInstance() 755 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in BlendTestInstance() [all …]
|
D | vktPipelineCacheTests.cpp | 538 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::pipeline::__anon436232150111::CacheTestInstance 556 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in CacheTestInstance() 598 …&m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 1092 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in prepareRenderPass() 1094 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipeline); in prepareRenderPass() 1096 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &offsets); in prepareRenderPass() 1097 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1u, 0u, 0u); in prepareRenderPass() 1099 vk.cmdEndRenderPass(*m_cmdBuffer); in prepareRenderPass() 1114 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in prepareCommandBuffer() 1116 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_… in prepareCommandBuffer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawIndexedTest.cpp | 161 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 162 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate() 164 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 166 m_vk.cmdDrawIndexed(*m_cmdBuffer, 6, 1, 2, VERTEX_OFFSET, 0); in iterate() 168 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 169 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 179 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 261 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 262 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate() 263 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() [all …]
|
D | vktDrawSimpleTest.cpp | 119 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 120 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 125 m_vk.cmdDraw(*m_cmdBuffer, 6, 1, 2, 0); in iterate() 128 m_vk.cmdDraw(*m_cmdBuffer, 4, 1, 2, 0); in iterate() 147 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 148 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 158 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 224 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 226 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 231 m_vk.cmdDraw(*m_cmdBuffer, 6, 4, 2, 2); in iterate() [all …]
|
D | vktDrawIndirectTest.cpp | 347 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 369 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 373 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), DE_NULL, vk::VK_INDEX_TYPE_UINT32); in iterate() 381 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCount, m_st… in iterate() 384 …m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer, m_drawCoun… in iterate() 397 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_stride… in iterate() 400 …m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m… in iterate() 407 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 408 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 418 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() [all …]
|
D | vktBasicDrawTests.cpp | 295 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::Draw::__anon2c04a5330111::DrawTestInstanceBase 413 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize() 458 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPass() 460 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPass() 463 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPass() 474 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPass() 481 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPass() 653 m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 654 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 655 …m_vk.cmdDraw(*m_cmdBuffer, m_data.params.vertexCount, m_data.params.instanceCount, m_data.params.f… in iterate() [all …]
|
D | vktDrawInstancedTests.cpp | 226 vk::Move<vk::VkCommandBuffer> m_cmdBuffer; member in vkt::Draw::__anon72ae7aea0111::InstancedDrawInstance 399 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in InstancedDrawInstance() 462 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in iterate() 464 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in iterate() 467 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in iterate() 478 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in iterate() 485 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in iterate() 490 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer->object(), 0, vk::VK_INDEX_TYPE_UINT32); in iterate() 505 …m_vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, DE_LENGTH_OF_ARRAY(vertexBuffers), vertexBuffers, verte… in iterate() 508 …m_vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, vk::VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint… in iterate() [all …]
|
D | vktDrawBaseClass.cpp | 145 …m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in initialize() 190 m_vk.beginCommandBuffer(*m_cmdBuffer, &beginInfo); in beginRenderPass() 192 …initialTransitionColor2DImage(m_vk, *m_cmdBuffer, m_colorTargetImage->object(), vk::VK_IMAGE_LAYOU… in beginRenderPass() 195 m_vk.cmdClearColorImage(*m_cmdBuffer, m_colorTargetImage->object(), in beginRenderPass() 206 m_vk.cmdPipelineBarrier(*m_cmdBuffer, vk::VK_PIPELINE_STAGE_TRANSFER_BIT, in beginRenderPass() 213 m_vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBegin, vk::VK_SUBPASS_CONTENTS_INLINE); in beginRenderPass()
|
D | vktDrawShaderDrawParametersTests.cpp | 243 m_vk.cmdBindVertexBuffers (*m_cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate() 244 m_vk.cmdBindPipeline (*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate() 247 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, m_indexBuffer->object(), 0ull, vk::VK_INDEX_TYPE_UINT32); in iterate() 282 …m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, size… in iterate() 284 …m_vk.cmdDrawIndirect(*m_cmdBuffer, m_indirectBuffer->object(), 0ull, numIndirectDraws, sizeof(vk::… in iterate() 291 …m_vk.cmdDrawIndexed(*m_cmdBuffer, NUM_VERTICES, numInstances, NDX_FIRST_INDEX, OFFSET_FIRST_INDEX,… in iterate() 293 m_vk.cmdDraw(*m_cmdBuffer, NUM_VERTICES, numInstances, NDX_FIRST_VERTEX, firstInstance); in iterate() 296 m_vk.cmdEndRenderPass(*m_cmdBuffer); in iterate() 297 m_vk.endCommandBuffer(*m_cmdBuffer); in iterate() 311 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiFillBufferTests.cpp | 77 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::api::__anon9765736a0111::FillBufferTestInstance 119 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in FillBufferTestInstance() 163 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in iterate() 164 …vk.cmdFillBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testDat… in iterate() 165 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_… in iterate() 166 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)); in iterate() 176 &m_cmdBuffer.get(), // const VkCommandBuffer* pCommandBuffers; in iterate() 328 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in iterate() 329 …vk.cmdUpdateBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testD… in iterate() 330 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_… in iterate() [all …]
|
D | vktApiBufferViewAccessTests.cpp | 116 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::api::__anon14c2dbd00111::BufferViewTestInstance 630 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in BufferViewTestInstance() 632 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); in BufferViewTestInstance() 654 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATT… in BufferViewTestInstance() 656 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in BufferViewTestInstance() 660 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines); in BufferViewTestInstance() 661 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0u, 1, … in BufferViewTestInstance() 662 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0, 1, &m_vertexBuffer.get(), vertexBufferOffset); in BufferViewTestInstance() 663 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in BufferViewTestInstance() 664 vk.cmdEndRenderPass(*m_cmdBuffer); in BufferViewTestInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktDrawUtil.cpp | 382 m_cmdBuffer = makeCommandBuffer(vk, device, *m_cmdPool); in VulkanDrawContext() 761 beginCommandBuffer(vk, *m_cmdBuffer); in VulkanDrawContext() 763 …vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipelineLayout, 0u, 1u,… in VulkanDrawContext() 789 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in VulkanDrawContext() 792 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in VulkanDrawContext() 793 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &(**m_vertexBuffer), &zeroOffset); in VulkanDrawContext() 795 vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_drawCallData.vertices.size()), 1u, 0u, 0u); in VulkanDrawContext() 796 vk.cmdEndRenderPass(*m_cmdBuffer); in VulkanDrawContext() 805 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STA… in VulkanDrawContext() 850 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STA… in VulkanDrawContext() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 591 m_cmdBuffer = allocateCommandBuffer (vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in ScissorRenderer() 600 beginCommandBuffer(vk, *m_cmdBuffer); in draw() 618 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in draw() 620 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in draw() 623 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexBufferOffset); in draw() 625 …vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_numViewports), 1u, 0u, 0u); // one vertex per vie… in draw() 626 vk.cmdEndRenderPass(*m_cmdBuffer); in draw() 646 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STA… in draw() 661 …vk.cmdCopyImageToBuffer(*m_cmdBuffer, *m_colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBu… in draw() 680 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, 0u, in draw() [all …]
|
D | vktFragmentOperationsScissorTests.cpp | 567 m_cmdBuffer = allocateCommandBuffer (vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in ScissorRenderer() 581 beginCommandBuffer(vk, *m_cmdBuffer); in draw() 599 vk.cmdBeginRenderPass(*m_cmdBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in draw() 601 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in draw() 604 vk.cmdBindVertexBuffers(*m_cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexBufferOffset); in draw() 607 vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_vertices.size()), 1u, 0u, 0u); in draw() 608 vk.cmdEndRenderPass(*m_cmdBuffer); in draw() 628 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STA… in draw() 643 …vk.cmdCopyImageToBuffer(*m_cmdBuffer, *m_colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBu… in draw() 662 …vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, 0u, in draw() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMutableTests.cpp | 990 Move<VkCommandBuffer> m_cmdBuffer; member in vkt::image::UploadDownloadExecutor 1080 m_cmdBuffer = makeCommandBuffer(m_vk, m_device, *m_cmdPool); in run() 1081 beginCommandBuffer(m_vk, *m_cmdBuffer); in run() 1122 VK_CHECK(m_vk.endCommandBuffer(*m_cmdBuffer)); in run() 1123 submitCommandsAndWait(m_vk, m_device, m_queue, *m_cmdBuffer); in run() 1147 …m_vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, … in uploadClear() 1155 …m_vk.cmdClearColorImage(*m_cmdBuffer, *m_image, requiredImageLayout, &clearColor, 1u, &layerSubres… in uploadClear() 1207 …m_vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COMPUTE_SH… in uploadStore() 1211 m_vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_uStore.computePipeline); in uploadStore() 1212 …m_vk.cmdBindDescriptorSets(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_uStore.pipelineLayout,… in uploadStore() [all …]
|