Home
last modified time | relevance | path

Searched refs:attachmentInfo (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DCommandBuffer.cpp107 auto& attachmentInfo = renderPass->colorAttachments[i]; in LazyClearRenderPassAttachments() local
108 TextureViewBase* view = attachmentInfo.view.Get(); in LazyClearRenderPassAttachments()
109 bool hasResolveTarget = attachmentInfo.resolveTarget != nullptr; in LazyClearRenderPassAttachments()
116 if (attachmentInfo.loadOp == wgpu::LoadOp::Load && in LazyClearRenderPassAttachments()
118 attachmentInfo.loadOp = wgpu::LoadOp::Clear; in LazyClearRenderPassAttachments()
119 attachmentInfo.clearColor = {0.f, 0.f, 0.f, 0.f}; in LazyClearRenderPassAttachments()
126 TextureViewBase* resolveView = attachmentInfo.resolveTarget.Get(); in LazyClearRenderPassAttachments()
133 switch (attachmentInfo.storeOp) { in LazyClearRenderPassAttachments()
145 auto& attachmentInfo = renderPass->depthStencilAttachment; in LazyClearRenderPassAttachments() local
146 TextureViewBase* view = attachmentInfo in LazyClearRenderPassAttachments()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkPipelineConstructionUtil.cpp550 subpass.m_colorAttachments[i].attachmentInfo = vk::initVulkanStructure(); in RenderPassWrapper()
554 subpass.m_colorAttachments[i].attachmentInfo.imageView = DE_NULL; in RenderPassWrapper()
555 subpass.m_colorAttachments[i].attachmentInfo.imageLayout = pCreateInfo->pSubpasses[s].pColorAttachments[i].layout; in RenderPassWrapper()
556 subpass.m_colorAttachments[i].attachmentInfo.resolveMode = vk::VK_RESOLVE_MODE_NONE; in RenderPassWrapper()
557 subpass.m_colorAttachments[i].attachmentInfo.resolveImageView = DE_NULL; in RenderPassWrapper()
558 subpass.m_colorAttachments[i].attachmentInfo.resolveImageLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in RenderPassWrapper()
559 subpass.m_colorAttachments[i].attachmentInfo.loadOp = pCreateInfo->pAttachments[j].loadOp; in RenderPassWrapper()
560 subpass.m_colorAttachments[i].attachmentInfo.storeOp = pCreateInfo->pAttachments[j].storeOp; in RenderPassWrapper()
561 subpass.m_colorAttachments[i].attachmentInfo.clearValue = {}; in RenderPassWrapper()
574 subpass.m_depthStencilAttachment.attachmentInfo in RenderPassWrapper()
[all...]
H A DvkPipelineConstructionUtil.hpp221 vk::VkRenderingAttachmentInfo attachmentInfo = {}; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
H A DvktAttachmentRateTests.cpp148 const std::vector<FBAttachmentInfo>& attachmentInfo) const;
166 const std::vector<FBAttachmentInfo>& attachmentInfo,
458 Move<VkFramebuffer> AttachmentRateInstance::buildFramebuffer(VkRenderPass renderPass, const std::vector<FBAttachmentInfo>& attachmentInfo) const in buildFramebuffer()
471 (deUint32)attachmentInfo.size(), // uint32_t attachmentCount; in buildFramebuffer()
473 attachmentInfo[0].width, // uint32_t width; in buildFramebuffer()
474 attachmentInfo[0].height, // uint32_t height; in buildFramebuffer()
480 std::vector<VkFramebufferAttachmentImageInfo> framebufferAttachmentImageInfo(attachmentInfo.size(), in buildFramebuffer()
494 for (deUint32 i = 0; i < (deUint32)attachmentInfo.size(); ++i) in buildFramebuffer()
496 const auto& src = attachmentInfo[i]; in buildFramebuffer()
520 std::vector<VkImageView> attachments(attachmentInfo in buildFramebuffer()
791 startRendering(const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const std::vector<FBAttachmentInfo>& attachmentInfo, const deUint32 srTileWidth, const deUint32 srTileHeight) const startRendering() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DCommandBufferVk.cpp209 const auto& attachmentInfo = renderPass->colorAttachments[i]; in RecordBeginRenderPass() local
211 bool hasResolveTarget = attachmentInfo.resolveTarget != nullptr; in RecordBeginRenderPass()
213 query.SetColor(i, attachmentInfo.view->GetFormat().format, in RecordBeginRenderPass()
214 attachmentInfo.loadOp, attachmentInfo.storeOp, hasResolveTarget); in RecordBeginRenderPass()
218 const auto& attachmentInfo = renderPass->depthStencilAttachment; in RecordBeginRenderPass() local
221 attachmentInfo.view->GetTexture()->GetFormat().format, in RecordBeginRenderPass()
222 attachmentInfo.depthLoadOp, attachmentInfo.depthStoreOp, in RecordBeginRenderPass()
223 attachmentInfo in RecordBeginRenderPass()
243 auto& attachmentInfo = renderPass->colorAttachments[i]; RecordBeginRenderPass() local
282 auto& attachmentInfo = renderPass->depthStencilAttachment; RecordBeginRenderPass() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktAttachmentRateTests.cpp251 const std::vector<FBAttachmentInfo>& attachmentInfo) const;
276 const std::vector<FBAttachmentInfo>& attachmentInfo,
615 Move<VkFramebuffer> AttachmentRateInstance::buildFramebuffer (VkDevice device, const vk::DeviceInterface& vk, VkRenderPass renderPass, const std::vector<FBAttachmentInfo>& attachmentInfo) const in buildFramebuffer()
626 (deUint32)attachmentInfo.size(), // uint32_t attachmentCount; in buildFramebuffer()
628 attachmentInfo[0].width, // uint32_t width; in buildFramebuffer()
629 attachmentInfo[0].height, // uint32_t height; in buildFramebuffer()
635 std::vector<VkFramebufferAttachmentImageInfo> framebufferAttachmentImageInfo(attachmentInfo.size(), in buildFramebuffer()
649 for (deUint32 i = 0; i < (deUint32)attachmentInfo.size(); ++i) in buildFramebuffer()
651 const auto& src = attachmentInfo[i]; in buildFramebuffer()
675 std::vector<VkImageView> attachments(attachmentInfo in buildFramebuffer()
959 startRendering(const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const std::vector<FBAttachmentInfo>& attachmentInfo, const deUint32 srTileWidth, const deUint32 srTileHeight) const startRendering() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DCommandBufferD3D12.cpp1201 RenderPassColorAttachmentInfo& attachmentInfo = renderPass->colorAttachments[i]; in SetupRenderPass() local
1202 TextureView* view = ToBackend(attachmentInfo.view.Get()); in SetupRenderPass()
1220 i, attachmentInfo.loadOp, attachmentInfo.clearColor, view->GetD3D12Format()); in SetupRenderPass()
1223 if (attachmentInfo.resolveTarget != nullptr) { in SetupRenderPass()
1224 TextureView* resolveDestinationView = ToBackend(attachmentInfo.resolveTarget.Get()); in SetupRenderPass()
1232 renderPassBuilder->SetRenderTargetEndingAccessResolve(i, attachmentInfo.storeOp, in SetupRenderPass()
1235 renderPassBuilder->SetRenderTargetEndingAccess(i, attachmentInfo.storeOp); in SetupRenderPass()
1240 RenderPassDepthStencilAttachmentInfo& attachmentInfo = in SetupRenderPass() local
1251 attachmentInfo in SetupRenderPass()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DCommandBufferGL.cpp1061 auto* attachmentInfo = &renderPass->colorAttachments[index]; in ExecuteRenderPass() local
1064 if (attachmentInfo->loadOp == wgpu::LoadOp::Clear) { in ExecuteRenderPass()
1068 attachmentInfo->view->GetFormat().GetAspectInfo(Aspect::Color).baseType; in ExecuteRenderPass()
1072 ConvertToFloatColor(attachmentInfo->clearColor); in ExecuteRenderPass()
1078 ConvertToUnsignedIntegerColor(attachmentInfo->clearColor); in ExecuteRenderPass()
1084 ConvertToSignedIntegerColor(attachmentInfo->clearColor); in ExecuteRenderPass()
1094 if (attachmentInfo->storeOp == wgpu::StoreOp::Discard) { in ExecuteRenderPass()
1100 auto* attachmentInfo = &renderPass->depthStencilAttachment; in ExecuteRenderPass() local
1101 const Format& attachmentFormat = attachmentInfo->view->GetTexture()->GetFormat(); in ExecuteRenderPass()
1105 (attachmentInfo in ExecuteRenderPass()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassTests.cpp1445 const Attachment& attachmentInfo, in AttachmentResources()
1448 : m_image (createAttachmentImage(vk, device, queueIndex, size, attachmentInfo.getFormat(), attachmentInfo.getSamples(), usageFlags, VK_IMAGE_LAYOUT_UNDEFINED)) in AttachmentResources()
1450 , m_attachmentView (createImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), getImageAspectFlags(attachmentInfo.getFormat()))) in AttachmentResources()
1452 const tcu::TextureFormat format = mapVkFormat(attachmentInfo.getFormat()); in AttachmentResources()
1458 m_depthInputAttachmentView = createImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), VK_IMAGE_ASPECT_DEPTH_BIT); in AttachmentResources()
1459 m_stencilInputAttachmentView = createImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), VK_IMAGE_ASPECT_STENCIL_BIT); in AttachmentResources()
1470 const tcu::TextureFormat depthFormat = getDepthCopyFormat(attachmentInfo.getFormat()); in AttachmentResources()
1471 const tcu::TextureFormat stencilFormat = getStencilCopyFormat(attachmentInfo in AttachmentResources()
1438 AttachmentResources(const InstanceInterface& vki, const VkPhysicalDevice& physDevice, const DeviceInterface& vk, VkDevice device, Allocator& allocator, deUint32 queueIndex, const UVec2& size, const Attachment& attachmentInfo, VkImageUsageFlags usageFlags, const AllocationKind allocationKind) AttachmentResources() argument
2323 const Attachment attachmentInfo = attachmentInfos[renderInfo.getInputAttachmentIndex(inputAttachmentNdx)]; SubpassRenderer() local
2433 const Attachment attachmentInfo = attachmentInfos[renderInfo.getInputAttachmentIndex(inputAttachmentNdx)]; SubpassRenderer() local
2755 pushImageInitializationCommands(const DeviceInterface& vk, VkCommandBuffer commandBuffer, const vector<Attachment>& attachmentInfo, const vector<de::SharedPtr<AttachmentResources> >& attachmentResources, deUint32 queueIndex, const vector<Maybe<VkClearValue> >& clearValues) pushImageInitializationCommands() argument
3183 pushReadImagesToBuffers(const DeviceInterface& vk, VkCommandBuffer commandBuffer, deUint32 queueIndex, const vector<de::SharedPtr<AttachmentResources> >& attachmentResources, const vector<Attachment>& attachmentInfo, const vector<bool>& isLazy, const UVec2& targetSize) pushReadImagesToBuffers() argument
[all...]
H A DvktRenderPassFragmentDensityMapTests.cpp762 Move<VkFramebuffer> createImagelessFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkFramebufferAttachmentImageInfo>& attachmentInfo) in createImagelessFrameBuffer() argument
764 const deUint32 attachmentCount = static_cast<deUint32>(attachmentInfo.size()); in createImagelessFrameBuffer()
770 &attachmentInfo[0] // const VkFramebufferAttachmentImageInfo* pAttachmentImageInfos; in createImagelessFrameBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassTests.cpp1433 const Attachment& attachmentInfo, in AttachmentResources()
1436 : m_image (createAttachmentImage(vk, device, queueIndex, size, attachmentInfo.getFormat(), attachmentInfo.getSamples(), usageFlags, VK_IMAGE_LAYOUT_UNDEFINED)) in AttachmentResources()
1438 , m_attachmentView (createImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), getImageAspectFlags(attachmentInfo.getFormat()))) in AttachmentResources()
1440 const tcu::TextureFormat format = mapVkFormat(attachmentInfo.getFormat()); in AttachmentResources()
1446 m_depthInputAttachmentView = createImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), VK_IMAGE_ASPECT_DEPTH_BIT); in AttachmentResources()
1447 m_stencilInputAttachmentView = createImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), VK_IMAGE_ASPECT_STENCIL_BIT); in AttachmentResources()
1458 const tcu::TextureFormat depthFormat = getDepthCopyFormat(attachmentInfo.getFormat()); in AttachmentResources()
1459 const tcu::TextureFormat stencilFormat = getStencilCopyFormat(attachmentInfo in AttachmentResources()
1426 AttachmentResources(const InstanceInterface& vki, const VkPhysicalDevice& physDevice, const DeviceInterface& vk, VkDevice device, Allocator& allocator, deUint32 queueIndex, const UVec2& size, const Attachment& attachmentInfo, VkImageUsageFlags usageFlags, const AllocationKind allocationKind) AttachmentResources() argument
2309 const Attachment attachmentInfo = attachmentInfos[renderInfo.getInputAttachmentIndex(inputAttachmentNdx)]; SubpassRenderer() local
2419 const Attachment attachmentInfo = attachmentInfos[renderInfo.getInputAttachmentIndex(inputAttachmentNdx)]; SubpassRenderer() local
2741 pushImageInitializationCommands(const DeviceInterface& vk, VkCommandBuffer commandBuffer, const vector<Attachment>& attachmentInfo, const vector<de::SharedPtr<AttachmentResources> >& attachmentResources, deUint32 queueIndex, const vector<Maybe<VkClearValue> >& clearValues) pushImageInitializationCommands() argument
3169 pushReadImagesToBuffers(const DeviceInterface& vk, VkCommandBuffer commandBuffer, deUint32 queueIndex, const vector<de::SharedPtr<AttachmentResources> >& attachmentResources, const vector<Attachment>& attachmentInfo, const vector<bool>& isLazy, const UVec2& targetSize) pushReadImagesToBuffers() argument
[all...]
H A DvktRenderPassFragmentDensityMapTests.cpp758 Move<VkFramebuffer> createImagelessFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkFramebufferAttachmentImageInfo>& attachmentInfo) in createImagelessFrameBuffer() argument
760 const deUint32 attachmentCount = static_cast<deUint32>(attachmentInfo.size()); in createImagelessFrameBuffer()
766 &attachmentInfo[0] // const VkFramebufferAttachmentImageInfo* pAttachmentImageInfos; in createImagelessFrameBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiGranularityTests.cpp454 for (const AttachmentInfo& attachmentInfo : m_attachments) in checkSupport()
456 vki.getPhysicalDeviceFormatProperties(physicalDevice, attachmentInfo.format, &formatProperties); in checkSupport()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkCommandBuffer.cpp1311 const VkRenderPassAttachmentBeginInfo *attachmentInfo) in beginRenderPass()
1315 if(attachmentInfo) in beginRenderPass()
1317 for(uint32_t i = 0; i < attachmentInfo->attachmentCount; i++) in beginRenderPass()
1319 framebuffer->setAttachment(vk::Cast(attachmentInfo->pAttachments[i]), i); in beginRenderPass()
1309 beginRenderPass(RenderPass *renderPass, Framebuffer *framebuffer, VkRect2D renderArea, uint32_t clearValueCount, const VkClearValue *clearValues, VkSubpassContents contents, const VkRenderPassAttachmentBeginInfo *attachmentInfo) beginRenderPass() argument

Completed in 37 milliseconds