Home
last modified time | relevance | path

Searched refs:beginInfo (Results 1 – 25 of 35) sorted by relevance

12

/external/angle/src/libANGLE/renderer/vulkan/
DCommandGraph.cpp60 VkCommandBufferBeginInfo beginInfo = {}; in InitAndBeginCommandBuffer() local
61 beginInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO; in InitAndBeginCommandBuffer()
62 beginInfo.flags = flags | VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT; in InitAndBeginCommandBuffer()
63 beginInfo.pInheritanceInfo = &inheritanceInfo; in InitAndBeginCommandBuffer()
65 ANGLE_VK_TRY(context, commandBuffer->begin(beginInfo)); in InitAndBeginCommandBuffer()
648 VkRenderPassBeginInfo beginInfo = {}; in visitAndExecute() local
649 beginInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO; in visitAndExecute()
650 beginInfo.renderPass = renderPass->getHandle(); in visitAndExecute()
651 beginInfo.framebuffer = mRenderPassFramebuffer.getHandle(); in visitAndExecute()
652 beginInfo.renderArea.offset.x = static_cast<uint32_t>(mRenderPassRenderArea.x); in visitAndExecute()
[all …]
DCommandProcessor.cpp1127 VkCommandBufferBeginInfo beginInfo = {}; in ensurePrimaryCommandBufferValid() local
1128 beginInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO; in ensurePrimaryCommandBufferValid()
1129 beginInfo.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT; in ensurePrimaryCommandBufferValid()
1130 beginInfo.pInheritanceInfo = nullptr; in ensurePrimaryCommandBufferValid()
1131 ANGLE_VK_TRY(context, commandBuffer.begin(beginInfo)); in ensurePrimaryCommandBufferValid()
DRendererVk.cpp3033 VkCommandBufferBeginInfo beginInfo = {}; in getCommandBufferOneOff() local
3034 beginInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO; in getCommandBufferOneOff()
3035 beginInfo.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT; in getCommandBufferOneOff()
3036 beginInfo.pInheritanceInfo = nullptr; in getCommandBufferOneOff()
3037 ANGLE_VK_TRY(context, commandBufferOut->begin(beginInfo)); in getCommandBufferOneOff()
Dvk_wrapper.h200 void beginRenderPass(const VkRenderPassBeginInfo &beginInfo, VkSubpassContents subpassContents);
905 ANGLE_INLINE void CommandBuffer::beginRenderPass(const VkRenderPassBeginInfo &beginInfo,
909 vkCmdBeginRenderPass(mHandle, &beginInfo, subpassContents);
Dvk_helpers.cpp1732 VkRenderPassBeginInfo beginInfo = {}; in flushToPrimary() local
1733 beginInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO; in flushToPrimary()
1734 beginInfo.renderPass = renderPass->getHandle(); in flushToPrimary()
1735 beginInfo.framebuffer = mFramebuffer.getHandle(); in flushToPrimary()
1736 beginInfo.renderArea.offset.x = static_cast<uint32_t>(mRenderArea.x); in flushToPrimary()
1737 beginInfo.renderArea.offset.y = static_cast<uint32_t>(mRenderArea.y); in flushToPrimary()
1738 beginInfo.renderArea.extent.width = static_cast<uint32_t>(mRenderArea.width); in flushToPrimary()
1739 beginInfo.renderArea.extent.height = static_cast<uint32_t>(mRenderArea.height); in flushToPrimary()
1740 beginInfo.clearValueCount = static_cast<uint32_t>(mRenderPassDesc.attachmentCount()); in flushToPrimary()
1741 beginInfo.pClearValues = mClearValues.data(); in flushToPrimary()
[all …]
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm47 VkCommandBufferBeginInfo beginInfo;
48 beginInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO;
49 beginInfo.pNext = nullptr;
50 beginInfo.flags = VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT;
51 beginInfo.pInheritanceInfo = nullptr;
52 GR_VK_CALL_ERRCHECK(fVk, BeginCommandBuffer(fCommandBuffer, &beginInfo));
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp63 VkCommandBufferBeginInfo beginInfo; in VkFenceSync() local
64 beginInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO; in VkFenceSync()
65 beginInfo.pNext = nullptr; in VkFenceSync()
66 beginInfo.flags = VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT; in VkFenceSync()
67 beginInfo.pInheritanceInfo = nullptr; in VkFenceSync()
68 result = fBeginCommandBuffer(fCommandBuffer, &beginInfo); in VkFenceSync()
/external/clang/lib/Edit/
DCommit.cpp311 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(range.getBegin()); in canRemoveRange() local
313 if (beginInfo.first != endInfo.first || in canRemoveRange()
314 beginInfo.second > endInfo.second) in canRemoveRange()
317 Offs = FileOffset(beginInfo.first, beginInfo.second); in canRemoveRange()
318 Len = endInfo.second - beginInfo.second; in canRemoveRange()
/external/llvm-project/clang/lib/Edit/
DCommit.cpp312 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(range.getBegin()); in canRemoveRange() local
314 if (beginInfo.first != endInfo.first || in canRemoveRange()
315 beginInfo.second > endInfo.second) in canRemoveRange()
318 Offs = FileOffset(beginInfo.first, beginInfo.second); in canRemoveRange()
319 Len = endInfo.second - beginInfo.second; in canRemoveRange()
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp428 VkRenderPassBeginInfo beginInfo; in beginRenderPass() local
433 memset(&beginInfo, 0, sizeof(VkRenderPassBeginInfo)); in beginRenderPass()
434 beginInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO; in beginRenderPass()
435 beginInfo.pNext = nullptr; in beginRenderPass()
436 beginInfo.renderPass = renderPass->vkRenderPass(); in beginRenderPass()
437 beginInfo.framebuffer = target.framebuffer()->framebuffer(); in beginRenderPass()
438 beginInfo.renderArea = renderArea; in beginRenderPass()
439 beginInfo.clearValueCount = renderPass->clearValueCount(); in beginRenderPass()
440 beginInfo.pClearValues = clearValues; in beginRenderPass()
445 GR_VK_CALL(gpu->vkInterface(), CmdBeginRenderPass(fCmdBuffer, &beginInfo, contents)); in beginRenderPass()
/external/swiftshader/tests/VulkanWrapper/
DUtil.cpp49 vk::CommandBufferBeginInfo beginInfo{}; in beginSingleTimeCommands() local
50 beginInfo.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit; in beginSingleTimeCommands()
52 commandBuffer[0].begin(beginInfo); in beginSingleTimeCommands()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp473 VkRenderPassBeginInfo beginInfo; in beginRenderPass() local
478 memset(&beginInfo, 0, sizeof(VkRenderPassBeginInfo)); in beginRenderPass()
479 beginInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO; in beginRenderPass()
480 beginInfo.pNext = nullptr; in beginRenderPass()
481 beginInfo.renderPass = renderPass->vkRenderPass(); in beginRenderPass()
482 beginInfo.framebuffer = framebuffer->framebuffer(); in beginRenderPass()
483 beginInfo.renderArea = renderArea; in beginRenderPass()
484 beginInfo.clearValueCount = renderPass->clearValueCount(); in beginRenderPass()
485 beginInfo.pClearValues = clearValues; in beginRenderPass()
490 GR_VK_CALL(gpu->vkInterface(), CmdBeginRenderPass(fCmdBuffer, &beginInfo, contents)); in beginRenderPass()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp820 const VkRenderPassBeginInfo beginInfo = in iterateInternal() local
831 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in iterateInternal()
1511 const VkRenderPassBeginInfo beginInfo = in iterateInternal() local
1522 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in iterateInternal()
2166 const VkRenderPassBeginInfo beginInfo = in iterateInternal() local
2177 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in iterateInternal()
2751 const VkRenderPassBeginInfo beginInfo = in iterateInternal() local
2762 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in iterateInternal()
3401 const VkRenderPassBeginInfo beginInfo = in iterateInternal() local
3412 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in iterateInternal()
[all …]
DvktRenderPassSparseRenderTargetTests.cpp462 const VkRenderPassBeginInfo beginInfo = in iterateInternal() local
478 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in iterateInternal()
DvktRenderPassSampleReadTests.cpp861 const VkRenderPassBeginInfo beginInfo = in iterateInternal() local
877 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in iterateInternal()
DvktRenderPassMultisampleResolveTests.cpp676 const VkRenderPassBeginInfo beginInfo = in submit() local
692 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in submit()
1633 const VkRenderPassBeginInfo beginInfo = in submit() local
1649 RenderpassSubpass::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in submit()
DvktRenderPassDepthStencilResolveTests.cpp867 const VkRenderPassBeginInfo beginInfo = in submit() local
883 RenderpassSubpass2::cmdBeginRenderPass(vkd, *commandBuffer, &beginInfo, &subpassBeginInfo); in submit()
/external/clang/lib/Lex/
DLexer.cpp933 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(Range.getBegin()); in getSourceText() local
934 if (beginInfo.first.isInvalid()) { in getSourceText()
940 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText()
941 beginInfo.second > EndOffs) { in getSourceText()
948 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText()
955 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp953 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(Range.getBegin()); in getSourceText() local
954 if (beginInfo.first.isInvalid()) { in getSourceText()
960 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText()
961 beginInfo.second > EndOffs) { in getSourceText()
968 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp); in getSourceText()
975 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp2205 VkCommandBufferBeginInfo beginInfo = in badInheritanceInfoTest() local
2232 beginInfo.pInheritanceInfo = info; in badInheritanceInfoTest()
2236 beginInfo.flags |= VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT; in badInheritanceInfoTest()
2248 beginInfo.pInheritanceInfo = &inheritanceInfo; in badInheritanceInfoTest()
2260 beginInfo.pInheritanceInfo = reinterpret_cast<VkCommandBufferInheritanceInfo*>(&invalidStructure); in badInheritanceInfoTest()
2273beginInfo.pInheritanceInfo = reinterpret_cast<VkCommandBufferInheritanceInfo*>(&validNonsense… in badInheritanceInfoTest()
2280 VK_CHECK(vkd.beginCommandBuffer(cmdBuffer, &beginInfo)); in badInheritanceInfoTest()
4632 const VkCommandBufferBeginInfo beginInfo = in iterate() local
4640 VK_CHECK(vkd.beginCommandBuffer(secondaryCmdBuffer, &beginInfo)); in iterate()
DvktApiBufferMarkerTests.cpp827 const VkRenderPassBeginInfo beginInfo = in bufferMarkerMemoryDep() local
838 vk.cmdBeginRenderPass(*cmdBuffer, &beginInfo, VK_SUBPASS_CONTENTS_INLINE); in bufferMarkerMemoryDep()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp428 const vk::VkCommandBufferBeginInfo beginInfo = in beginSecondaryCommandBuffer() local
435 VK_CHECK(vk.beginCommandBuffer(secondaryCmdBuffer, &beginInfo)); in beginSecondaryCommandBuffer()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateInheritanceTests.cpp716 VkCommandBufferBeginInfo beginInfo { in startRenderCmds() local
720 VK_CHECK(m_vk.beginCommandBuffer(m_primaryCmdBuffer, &beginInfo)); in startRenderCmds()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolConcurrentTests.cpp618 const vk::VkCommandBufferBeginInfo beginInfo = in beginSecondaryCommandBuffer() local
625 VK_CHECK(vk.beginCommandBuffer(secondaryCmdBuffer, &beginInfo)); in beginSecondaryCommandBuffer()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp2151 memset(&pCB->beginInfo, 0, sizeof(VkCommandBufferBeginInfo)); in ResetCommandBufferState()
2297 !(pCB->beginInfo.flags & VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT))) { in OutsideRenderPass()
2927 !(pCB->beginInfo.flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT)) { in ValidateCommandBufferSimultaneousUse()
2940 if ((cb_state->beginInfo.flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT) && in ValidateCommandBufferState()
3055 !(pSubCB->beginInfo.flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT)) { in ValidatePrimaryCommandBufferState()
6407 cb_state->beginInfo = *pBeginInfo; in PreCallRecordBeginCommandBuffer()
6408 if (cb_state->beginInfo.pInheritanceInfo) { in PreCallRecordBeginCommandBuffer()
6409 cb_state->inheritanceInfo = *(cb_state->beginInfo.pInheritanceInfo); in PreCallRecordBeginCommandBuffer()
6410 cb_state->beginInfo.pInheritanceInfo = &cb_state->inheritanceInfo; in PreCallRecordBeginCommandBuffer()
6413 (cb_state->beginInfo.flags & VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT)) { in PreCallRecordBeginCommandBuffer()
[all …]

12