Home
last modified time | relevance | path

Searched refs:cmdBuffer (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp169 void setViewport (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setViewport() argument
180 vkd->cmdSetViewport(cmdBuffer, 0u, 1u, &viewport); in setViewport()
183 void setScissor (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setScissor() argument
190 vkd->cmdSetScissor(cmdBuffer, 0u, 1u, &scissor); in setScissor()
193 void setLineWidth (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setLineWidth() argument
195 vkd->cmdSetLineWidth(cmdBuffer, 1.0f); in setLineWidth()
198 void setDepthBias (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setDepthBias() argument
200 vkd->cmdSetDepthBias(cmdBuffer, 0.0f, 0.0f, 0.0f); in setDepthBias()
203 void setBlendConstants (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateDa… in setBlendConstants() argument
206 vkd->cmdSetBlendConstants(cmdBuffer, blendConstants); in setBlendConstants()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp169 void setViewport (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setViewport() argument
180 vkd->cmdSetViewport(cmdBuffer, 0u, 1u, &viewport); in setViewport()
183 void setScissor (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setScissor() argument
190 vkd->cmdSetScissor(cmdBuffer, 0u, 1u, &scissor); in setScissor()
193 void setLineWidth (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setLineWidth() argument
195 vkd->cmdSetLineWidth(cmdBuffer, 1.0f); in setLineWidth()
198 void setDepthBias (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateData*) in setDepthBias() argument
200 vkd->cmdSetDepthBias(cmdBuffer, 0.0f, 0.0f, 0.0f); in setDepthBias()
203 void setBlendConstants (const DeviceInterface* vkd, VkCommandBuffer cmdBuffer, const DynamicStateDa… in setBlendConstants() argument
206 vkd->cmdSetBlendConstants(cmdBuffer, blendConstants); in setBlendConstants()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.cpp142 VkCommandBuffer cmdBuffer = primary->getHandle(); in executeCommands() local
163 vkCmdBeginDebugUtilsLabelEXT(cmdBuffer, &label); in executeCommands()
169 vkCmdBeginQuery(cmdBuffer, params->queryPool, params->query, params->flags); in executeCommands()
182 vkCmdBeginTransformFeedbackEXT(cmdBuffer, 0, params->bufferCount, in executeCommands()
190 vkCmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, params->pipeline); in executeCommands()
201 vkCmdBindDescriptorSets(cmdBuffer, params->pipelineBindPoint, params->layout, in executeCommands()
211 vkCmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, params->pipeline); in executeCommands()
218 vkCmdBindIndexBuffer(cmdBuffer, params->buffer, params->offset, in executeCommands()
232 vkCmdBindTransformFeedbackBuffersEXT(cmdBuffer, 0, params->bindingCount, in executeCommands()
244 vkCmdBindVertexBuffers(cmdBuffer, 0, params->bindingCount, buffers, offsets); in executeCommands()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawDifferingInterpolationTests.cpp75 …void preRenderCommands (VkCommandBuffer cmdBuffer, VkImage colorTargetImage, const VkClearVal…
76 void draw (VkCommandBuffer cmdBuffer, VkPipeline pipeline, VkBuffer vertexBuffer);
79 …void beginSecondaryCmdBuffer(VkCommandBuffer cmdBuffer, VkFormat colorAttachmentFormat, VkRende…
191 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local
347 beginCommandBuffer(vk, *cmdBuffer, 0u); in iterate()
349 preRenderCommands(*cmdBuffer, colorTargetImages[frameIdx]->object(), clearColor); in iterate()
352 …beginRendering(vk, *cmdBuffer, *colorTargetView, renderArea, clearColor, VK_IMAGE_LAYOUT_GENERAL, … in iterate()
354 vk.cmdExecuteCommands(*cmdBuffer, 1u, &*secCmdBuffer); in iterate()
357 endRendering(vk, *cmdBuffer); in iterate()
359 endCommandBuffer(vk, *cmdBuffer); in iterate()
[all …]
DvktDrawDepthClampTests.cpp261 …void preRenderCommands (VkCommandBuffer cmdBuffer, const VkImageAspectFlagBits aspectBits, c…
262 void drawCommands (VkCommandBuffer cmdBuffer) const;
265 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFlags =…
266 …void beginDynamicRender (VkCommandBuffer cmdBuffer, VkClearValue clearValue, VkRenderingFlag…
482 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in draw() local
510 beginCommandBuffer(vk, *cmdBuffer, 0u); in draw()
511 preRenderCommands(*cmdBuffer, aspectBits, clearDepth); in draw()
514 beginDynamicRender(*cmdBuffer, clearDepth, VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT); in draw()
516 vk.cmdExecuteCommands(*cmdBuffer, 1u, &*secCmdBuffer); in draw()
519 endRendering(vk, *cmdBuffer); in draw()
[all …]
DvktDrawNegativeViewportHeightTests.cpp74 void preRenderCommands (VkCommandBuffer cmdBuffer, const VkClearValue& clearColor);
75 void draw (VkCommandBuffer cmdBuffer, const VkViewport& viewport);
81 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFla…
259 void NegativeViewportHeightTestInstance::preRenderCommands(VkCommandBuffer cmdBuffer, const VkClear… in preRenderCommands() argument
264 initialTransitionColor2DImage(vk, cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, in preRenderCommands()
266 …vk.cmdClearColorImage(cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &clearColo… in preRenderCommands()
276 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMEN… in preRenderCommands()
279 void NegativeViewportHeightTestInstance::draw (VkCommandBuffer cmdBuffer, const VkViewport& viewpor… in draw() argument
298 vk.cmdSetViewport(cmdBuffer, 0u, 1u, &zeroViewportHeight); in draw()
301 vk.cmdSetViewport(cmdBuffer, 0u, 1u, &viewport); in draw()
[all …]
DvktDrawMultipleClearsWithinRenderPass.cpp191 void preRenderCommands (VkCommandBuffer cmdBuffer) const;
192 void beginLegacyRender (VkCommandBuffer cmdBuffer) const;
193 void drawCommands (VkCommandBuffer cmdBuffer) const;
196 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFlags = …
197 …void beginDynamicRender (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFlags = 0u) …
389 void MultipleClearsTest::preRenderCommands(VkCommandBuffer cmdBuffer) const in preRenderCommands()
393 …initialTransitionColor2DImage(vk, cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_COLOR_A… in preRenderCommands()
395 …initialTransitionDepth2DImage(vk, cmdBuffer, m_depthTargetImage->object(), VK_IMAGE_LAYOUT_DEPTH_S… in preRenderCommands()
398 void MultipleClearsTest::beginLegacyRender(VkCommandBuffer cmdBuffer) const in beginLegacyRender()
404 …beginRenderPass(vk, cmdBuffer, *m_renderPass, *m_framebuffer, renderArea, m_params.steps[0].color,… in beginLegacyRender()
[all …]
DvktDrawInvertedDepthRangesTests.cpp108 void preRenderCommands (VkCommandBuffer cmdBuffer,
110 void draw (VkCommandBuffer cmdBuffer, const VkViewport& viewport);
115 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingF…
116 void beginRender (VkCommandBuffer cmdBuffer, const VkClearValue& clearColor,
325 void InvertedDepthRangesTestInstance::preRenderCommands (VkCommandBuffer cmdBuffer, const VkClearVa… in preRenderCommands() argument
331 …initialTransitionColor2DImage(vk, cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL… in preRenderCommands()
332 …initialTransitionDepth2DImage(vk, cmdBuffer, m_depthTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL… in preRenderCommands()
333 …vk.cmdClearColorImage(cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &clearColo… in preRenderCommands()
334 …vk.cmdClearDepthStencilImage(cmdBuffer, m_depthTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &cl… in preRenderCommands()
352 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMEN… in preRenderCommands()
[all …]
DvktDrawExplicitVertexParameterTests.cpp188 void preRenderCommands (VkCommandBuffer cmdBuffer, VkImage colorTargetImage) const;
189 void beginRenderPass (VkCommandBuffer cmdBuffer, VkRect2D renderArea,
191 void drawCommands (VkCommandBuffer cmdBuffer, VkBuffer vertexBuffer) const;
194 void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkFormat colorFormat,
196 void beginDynamicRender (VkCommandBuffer cmdBuffer, VkRect2D renderArea,
348 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local
581 beginCommandBuffer(vk, *cmdBuffer, 0u); in iterate()
584 …beginDynamicRender(*cmdBuffer, renderArea, clearColors.data(), VK_RENDERING_CONTENTS_SECONDARY_COM… in iterate()
586 vk.cmdExecuteCommands(*cmdBuffer, 1u, &*secCmdBuffer); in iterate()
589 endRendering(vk, *cmdBuffer); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawDifferingInterpolationTests.cpp75 …void preRenderCommands (VkCommandBuffer cmdBuffer, VkImage colorTargetImage, const VkClearVal…
76 void draw (VkCommandBuffer cmdBuffer, VkPipeline pipeline, VkBuffer vertexBuffer);
79 …void beginSecondaryCmdBuffer(VkCommandBuffer cmdBuffer, VkFormat colorAttachmentFormat, VkRende…
191 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local
347 beginCommandBuffer(vk, *cmdBuffer, 0u); in iterate()
349 preRenderCommands(*cmdBuffer, colorTargetImages[frameIdx]->object(), clearColor); in iterate()
352 …beginRendering(vk, *cmdBuffer, *colorTargetView, renderArea, clearColor, VK_IMAGE_LAYOUT_GENERAL, … in iterate()
354 vk.cmdExecuteCommands(*cmdBuffer, 1u, &*secCmdBuffer); in iterate()
357 endRendering(vk, *cmdBuffer); in iterate()
359 endCommandBuffer(vk, *cmdBuffer); in iterate()
[all …]
DvktDrawDepthClampTests.cpp261 …void preRenderCommands (VkCommandBuffer cmdBuffer, const VkImageAspectFlagBits aspectBits, c…
262 void drawCommands (VkCommandBuffer cmdBuffer) const;
265 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFlags =…
266 …void beginDynamicRender (VkCommandBuffer cmdBuffer, VkClearValue clearValue, VkRenderingFlag…
482 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in draw() local
510 beginCommandBuffer(vk, *cmdBuffer, 0u); in draw()
511 preRenderCommands(*cmdBuffer, aspectBits, clearDepth); in draw()
514 beginDynamicRender(*cmdBuffer, clearDepth, VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT); in draw()
516 vk.cmdExecuteCommands(*cmdBuffer, 1u, &*secCmdBuffer); in draw()
519 endRendering(vk, *cmdBuffer); in draw()
[all …]
DvktDrawNegativeViewportHeightTests.cpp74 void preRenderCommands (VkCommandBuffer cmdBuffer, const VkClearValue& clearColor);
75 void draw (VkCommandBuffer cmdBuffer, const VkViewport& viewport);
81 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFla…
259 void NegativeViewportHeightTestInstance::preRenderCommands(VkCommandBuffer cmdBuffer, const VkClear… in preRenderCommands() argument
264 initialTransitionColor2DImage(vk, cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, in preRenderCommands()
266 …vk.cmdClearColorImage(cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &clearColo… in preRenderCommands()
276 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMEN… in preRenderCommands()
279 void NegativeViewportHeightTestInstance::draw (VkCommandBuffer cmdBuffer, const VkViewport& viewpor… in draw() argument
298 vk.cmdSetViewport(cmdBuffer, 0u, 1u, &zeroViewportHeight); in draw()
301 vk.cmdSetViewport(cmdBuffer, 0u, 1u, &viewport); in draw()
[all …]
DvktDrawMultipleClearsWithinRenderPass.cpp191 void preRenderCommands (VkCommandBuffer cmdBuffer) const;
192 void beginLegacyRender (VkCommandBuffer cmdBuffer) const;
193 void drawCommands (VkCommandBuffer cmdBuffer) const;
196 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFlags = …
197 …void beginDynamicRender (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingFlags = 0u) …
389 void MultipleClearsTest::preRenderCommands(VkCommandBuffer cmdBuffer) const in preRenderCommands()
393 …initialTransitionColor2DImage(vk, cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_COLOR_A… in preRenderCommands()
395 …initialTransitionDepth2DImage(vk, cmdBuffer, m_depthTargetImage->object(), VK_IMAGE_LAYOUT_DEPTH_S… in preRenderCommands()
398 void MultipleClearsTest::beginLegacyRender(VkCommandBuffer cmdBuffer) const in beginLegacyRender()
404 …beginRenderPass(vk, cmdBuffer, *m_renderPass, *m_framebuffer, renderArea, m_params.steps[0].color,… in beginLegacyRender()
[all …]
DvktDrawInvertedDepthRangesTests.cpp108 void preRenderCommands (VkCommandBuffer cmdBuffer,
110 void draw (VkCommandBuffer cmdBuffer, const VkViewport& viewport);
115 …void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkRenderingFlagsKHR renderingF…
116 void beginRender (VkCommandBuffer cmdBuffer, const VkClearValue& clearColor,
325 void InvertedDepthRangesTestInstance::preRenderCommands (VkCommandBuffer cmdBuffer, const VkClearVa… in preRenderCommands() argument
331 …initialTransitionColor2DImage(vk, cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL… in preRenderCommands()
332 …initialTransitionDepth2DImage(vk, cmdBuffer, m_depthTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL… in preRenderCommands()
333 …vk.cmdClearColorImage(cmdBuffer, m_colorTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &clearColo… in preRenderCommands()
334 …vk.cmdClearDepthStencilImage(cmdBuffer, m_depthTargetImage->object(), VK_IMAGE_LAYOUT_GENERAL, &cl… in preRenderCommands()
352 …vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMEN… in preRenderCommands()
[all …]
DvktDrawExplicitVertexParameterTests.cpp188 void preRenderCommands (VkCommandBuffer cmdBuffer, VkImage colorTargetImage) const;
189 void beginRenderPass (VkCommandBuffer cmdBuffer, VkRect2D renderArea,
191 void drawCommands (VkCommandBuffer cmdBuffer, VkBuffer vertexBuffer) const;
194 void beginSecondaryCmdBuffer (VkCommandBuffer cmdBuffer, VkFormat colorFormat,
196 void beginDynamicRender (VkCommandBuffer cmdBuffer, VkRect2D renderArea,
348 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local
581 beginCommandBuffer(vk, *cmdBuffer, 0u); in iterate()
584 …beginDynamicRender(*cmdBuffer, renderArea, clearColors.data(), VK_RENDERING_CONTENTS_SECONDARY_COM… in iterate()
586 vk.cmdExecuteCommands(*cmdBuffer, 1u, &*secCmdBuffer); in iterate()
589 endRendering(vk, *cmdBuffer); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolOcclusionTests.cpp410 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::V… in iterate() local
412 beginCommandBuffer(vk, *cmdBuffer); in iterate()
415 …initialTransitionColor2DImage(vk, *cmdBuffer, m_stateObjects->m_colorAttachmentImage->object(), vk… in iterate()
417 …initialTransitionDepth2DImage(vk, *cmdBuffer, m_stateObjects->m_DepthImage->object(), vk::VK_IMAGE… in iterate()
424 vk.cmdResetQueryPool(*cmdBuffer, m_queryPool, 0, NUM_QUERIES_IN_POOL); in iterate()
426 …beginRenderPass(vk, *cmdBuffer, *m_stateObjects->m_renderPass, *m_stateObjects->m_framebuffer, vk:… in iterate()
428 vk.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_stateObjects->m_pipeline); in iterate()
432 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
434 …vk.cmdBeginQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY, m_testVector.queryControlFlag… in iterate()
435 vk.cmdEndQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY); in iterate()
[all …]
DvktQueryPoolPerformanceTests.cpp573 …Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local
612 beginCommandBuffer(vkd, *cmdBuffer, 0u); in iterate()
614 …initialTransitionColor2DImage(vkd, *cmdBuffer, m_colorAttachmentImage->object(), VK_IMAGE_LAYOUT_G… in iterate()
622 vkd.cmdBeginQuery(*cmdBuffer, *queryPool, 0, VK_QUERY_CONTROL_PRECISE_BIT); in iterate()
624 beginRenderPass(vkd, *cmdBuffer, *m_renderPass, *m_framebuffer, in iterate()
629 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
634 vkd.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
636 vkd.cmdDraw(*cmdBuffer, 3, 1, 0, 0); in iterate()
638 endRenderPass(vkd, *cmdBuffer); in iterate()
640 vkd.cmdEndQuery(*cmdBuffer, *queryPool, 0); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/
DvktQueryPoolOcclusionTests.cpp410 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::V… in iterate() local
412 beginCommandBuffer(vk, *cmdBuffer); in iterate()
415 …initialTransitionColor2DImage(vk, *cmdBuffer, m_stateObjects->m_colorAttachmentImage->object(), vk… in iterate()
417 …initialTransitionDepth2DImage(vk, *cmdBuffer, m_stateObjects->m_DepthImage->object(), vk::VK_IMAGE… in iterate()
424 vk.cmdResetQueryPool(*cmdBuffer, m_queryPool, 0, NUM_QUERIES_IN_POOL); in iterate()
426 …beginRenderPass(vk, *cmdBuffer, *m_stateObjects->m_renderPass, *m_stateObjects->m_framebuffer, vk:… in iterate()
428 vk.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_stateObjects->m_pipeline); in iterate()
432 vk.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
434 …vk.cmdBeginQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY, m_testVector.queryControlFlag… in iterate()
435 vk.cmdEndQuery(*cmdBuffer, m_queryPool, QUERY_INDEX_CAPTURE_EMPTY); in iterate()
[all …]
DvktQueryPoolPerformanceTests.cpp573 …Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFF… in iterate() local
612 beginCommandBuffer(vkd, *cmdBuffer, 0u); in iterate()
614 …initialTransitionColor2DImage(vkd, *cmdBuffer, m_colorAttachmentImage->object(), VK_IMAGE_LAYOUT_G… in iterate()
622 vkd.cmdBeginQuery(*cmdBuffer, *queryPool, 0, VK_QUERY_CONTROL_PRECISE_BIT); in iterate()
624 beginRenderPass(vkd, *cmdBuffer, *m_renderPass, *m_framebuffer, in iterate()
629 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in iterate()
634 vkd.cmdBindVertexBuffers(*cmdBuffer, 0, 1, &vertexBuffer, &vertexBufferOffset); in iterate()
636 vkd.cmdDraw(*cmdBuffer, 3, 1, 0, 0); in iterate()
638 endRenderPass(vkd, *cmdBuffer); in iterate()
640 vkd.cmdEndQuery(*cmdBuffer, *queryPool, 0); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingAccelerationStructuresTests.cpp1632 …const Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vkd, device, *cmdPool, VK_CO… in runTest() local
1645 beginCommandBuffer(vkd, *cmdBuffer, 0u); in runTest()
1650 …cmdPipelineImageMemoryBarrier(vkd, *cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAG… in runTest()
1652 …vkd.cmdClearColorImage(*cmdBuffer, **image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clearValue.colo… in runTest()
1656 …cmdPipelineImageMemoryBarrier(vkd, *cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_A… in runTest()
1682 blas->createAndBuild (vkd, device, *cmdBuffer, allocator); in runTest()
1692 …queryAccelerationStructureSize(vkd, device, *cmdBuffer, accelerationStructureHandles, m_data.build… in runTest()
1700 …queryAccelerationStructureSize(vkd, device, *cmdBuffer, accelerationStructureHandles, m_data.build… in runTest()
1706 endCommandBuffer(vkd, *cmdBuffer); in runTest()
1708 submitCommandsAndWait(vkd, device, queue, cmdBuffer.get()); in runTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingAccelerationStructuresTests.cpp1632 …const Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vkd, device, *cmdPool, VK_CO… in runTest() local
1645 beginCommandBuffer(vkd, *cmdBuffer, 0u); in runTest()
1650 …cmdPipelineImageMemoryBarrier(vkd, *cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAG… in runTest()
1652 …vkd.cmdClearColorImage(*cmdBuffer, **image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clearValue.colo… in runTest()
1656 …cmdPipelineImageMemoryBarrier(vkd, *cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_A… in runTest()
1682 blas->createAndBuild (vkd, device, *cmdBuffer, allocator); in runTest()
1692 …queryAccelerationStructureSize(vkd, device, *cmdBuffer, accelerationStructureHandles, m_data.build… in runTest()
1700 …queryAccelerationStructureSize(vkd, device, *cmdBuffer, accelerationStructureHandles, m_data.build… in runTest()
1706 endCommandBuffer(vkd, *cmdBuffer); in runTest()
1708 submitCommandsAndWait(vkd, device, queue, cmdBuffer.get()); in runTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
DvktGeometryBasicClass.cpp94 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in iterate() local
137 beginCommandBuffer(vk, *cmdBuffer); in iterate()
146 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTAC… in iterate()
157 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea, clearColor); in iterate()
160 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in iterate()
164 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, DE_LENGTH_OF_ARRAY(buffers), buffers, offsets); in iterate()
167 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
169 drawCommand (*cmdBuffer); in iterate()
170 endRenderPass(vk, *cmdBuffer); in iterate()
173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp94 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in iterate() local
137 beginCommandBuffer(vk, *cmdBuffer); in iterate()
146 …vk.cmdPipelineBarrier(*cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTAC… in iterate()
157 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, renderArea, clearColor); in iterate()
160 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in iterate()
164 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, DE_LENGTH_OF_ARRAY(buffers), buffers, offsets); in iterate()
167 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
169 drawCommand (*cmdBuffer); in iterate()
170 endRenderPass(vk, *cmdBuffer); in iterate()
173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp510 const VkCommandBuffer& cmdBuffer,
515 const VkCommandBuffer& cmdBuffer,
520 const VkCommandBuffer& cmdBuffer,
530 const VkCommandBuffer& cmdBuffer,
549 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAN… in iterate() local
604 copyDataToImage(*cmdPool, *cmdBuffer, imageData[compressedNdx], mipMapSizes, true); in iterate()
607 copyDataToImage(*cmdPool, *cmdBuffer, imageData[1], mipMapSizes, false); in iterate()
641 executeShader(*cmdPool, *cmdBuffer, *descriptorSetLayout, *descriptorPool, imageData); in iterate()
652 …if (!copyResultAndCompare(*cmdPool, *cmdBuffer, imageData[resultImageNdx].getImage(imageNdx), offs… in iterate()
658 if (!decompressImage(*cmdPool, *cmdBuffer, imageData, mipMapSizes)) in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp510 const VkCommandBuffer& cmdBuffer,
515 const VkCommandBuffer& cmdBuffer,
520 const VkCommandBuffer& cmdBuffer,
530 const VkCommandBuffer& cmdBuffer,
549 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAN… in iterate() local
604 copyDataToImage(*cmdPool, *cmdBuffer, imageData[compressedNdx], mipMapSizes, true); in iterate()
607 copyDataToImage(*cmdPool, *cmdBuffer, imageData[1], mipMapSizes, false); in iterate()
641 executeShader(*cmdPool, *cmdBuffer, *descriptorSetLayout, *descriptorPool, imageData); in iterate()
652 …if (!copyResultAndCompare(*cmdPool, *cmdBuffer, imageData[resultImageNdx].getImage(imageNdx), offs… in iterate()
658 if (!decompressImage(*cmdPool, *cmdBuffer, imageData, mipMapSizes)) in iterate()
[all …]

12345678910>>...23