Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp163 if (colorAttachment.resolveTarget == nullptr) { in ValidateResolveTarget()
167 const TextureViewBase* resolveTarget = colorAttachment.resolveTarget; in ValidateResolveTarget() local
169 DAWN_TRY(device->ValidateObject(colorAttachment.resolveTarget)); in ValidateResolveTarget()
170 DAWN_TRY(ValidateCanUseAs(colorAttachment.resolveTarget->GetTexture(), in ValidateResolveTarget()
177 resolveTarget, attachment); in ValidateResolveTarget()
179 DAWN_INVALID_IF(resolveTarget->GetTexture()->IsMultisampledTexture(), in ValidateResolveTarget()
181 resolveTarget, resolveTarget->GetTexture()->GetSampleCount()); in ValidateResolveTarget()
183 DAWN_INVALID_IF(resolveTarget->GetLayerCount() > 1, in ValidateResolveTarget()
184 "The resolve target %s array layer count (%u) is not 1.", resolveTarget, in ValidateResolveTarget()
185 resolveTarget->GetLayerCount()); in ValidateResolveTarget()
[all …]
DCommandBuffer.cpp109 bool hasResolveTarget = attachmentInfo.resolveTarget != nullptr; in LazyClearRenderPassAttachments()
126 TextureViewBase* resolveView = attachmentInfo.resolveTarget.Get(); in LazyClearRenderPassAttachments()
DCommands.h80 Ref<TextureViewBase> resolveTarget; member
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPassDescriptorValidationTests.cpp117 colorAttachment1.resolveTarget = nullptr; in TEST_F()
401 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = resolveTargetTextureView; in TEST_F()
460 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = multisampledResolveTargetView; in TEST_F()
473 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = resolveTextureView; in TEST_F()
486 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = resolveTextureView; in TEST_F()
502 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = nonColorUsageResolveTextureView; in TEST_F()
520 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = errorResolveTarget; in TEST_F()
529 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = resolveTargetTextureView; in TEST_F()
542 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = resolveTextureView; in TEST_F()
569 renderPass.cColorAttachmentsInfoPtr[0]->resolveTarget = resolveTextureView; in TEST_F()
[all …]
DValidationTest.cpp95 mColorAttachment.resolveTarget = nullptr; in DummyRenderPass()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp334 if (colorAttachment->resolveTarget == nullptr) { in ValidateResolveTarget()
338 DAWN_TRY(device->ValidateObject(colorAttachment->resolveTarget)); in ValidateResolveTarget()
345 if (colorAttachment->resolveTarget->GetTexture()->IsMultisampledTexture()) { in ValidateResolveTarget()
349 if (colorAttachment->resolveTarget->GetLayerCount() > 1) { in ValidateResolveTarget()
354 if (colorAttachment->resolveTarget->GetLevelCount() > 1) { in ValidateResolveTarget()
363 uint32_t resolveTargetBaseMipLevel = colorAttachment->resolveTarget->GetBaseMipLevel(); in ValidateResolveTarget()
365 colorAttachment->resolveTarget->GetTexture()->GetSize(); in ValidateResolveTarget()
375 colorAttachment->resolveTarget->GetFormat().format; in ValidateResolveTarget()
706 cmd->colorAttachments[i].resolveTarget = in BeginRenderPass()
707 descriptor->colorAttachments[i]->resolveTarget; in BeginRenderPass()
[all …]
DCommands.h66 Ref<TextureViewBase> resolveTarget; member
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPassDescriptorValidationTests.cpp108 colorAttachments[i].resolveTarget = nullptr; in TEST_F()
491 renderPass.cColorAttachments[0].resolveTarget = resolveTargetTextureView; in TEST_F()
551 renderPass.cColorAttachments[0].resolveTarget = multisampledResolveTargetView; in TEST_F()
566 renderPass.cColorAttachments[0].resolveTarget = resolveTextureView; in TEST_F()
579 renderPass.cColorAttachments[0].resolveTarget = resolveTextureView; in TEST_F()
595 renderPass.cColorAttachments[0].resolveTarget = nonColorUsageResolveTextureView; in TEST_F()
612 renderPass.cColorAttachments[0].resolveTarget = errorResolveTarget; in TEST_F()
621 renderPass.cColorAttachments[0].resolveTarget = resolveTargetTextureView; in TEST_F()
634 renderPass.cColorAttachments[0].resolveTarget = resolveTextureView; in TEST_F()
662 renderPass.cColorAttachments[0].resolveTarget = resolveTextureView; in TEST_F()
[all …]
DValidationTest.cpp241 mColorAttachment.resolveTarget = nullptr; in DummyRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp621 TextureViewBase* resolveTarget = in ResolveMultisampledRenderPass() local
622 renderPass->colorAttachments[i].resolveTarget.Get(); in ResolveMultisampledRenderPass()
623 if (resolveTarget == nullptr) { in ResolveMultisampledRenderPass()
629 Texture* resolveTexture = ToBackend(resolveTarget->GetTexture()); in ResolveMultisampledRenderPass()
637 resolveTarget->GetSubresourceRange()); in ResolveMultisampledRenderPass()
643 resolveTarget->GetBaseMipLevel(), resolveTarget->GetBaseArrayLayer(), in ResolveMultisampledRenderPass()
1223 if (attachmentInfo.resolveTarget != nullptr) { in SetupRenderPass()
1224 TextureView* resolveDestinationView = ToBackend(attachmentInfo.resolveTarget.Get()); in SetupRenderPass()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp376 TextureViewBase* resolveTarget = in ResolveMultisampledRenderPass() local
377 renderPass->colorAttachments[i].resolveTarget.Get(); in ResolveMultisampledRenderPass()
378 if (resolveTarget == nullptr) { in ResolveMultisampledRenderPass()
384 Texture* resolveTexture = ToBackend(resolveTarget->GetTexture()); in ResolveMultisampledRenderPass()
394 resolveTarget->GetBaseMipLevel(), resolveTarget->GetBaseArrayLayer()); in ResolveMultisampledRenderPass()
/third_party/skia/third_party/externals/dawn/examples/
DCHelloTriangle.cpp114 colorAttachment.resolveTarget = nullptr; in frame()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp287 if (renderPass->colorAttachments[i].resolveTarget.Get() != nullptr) { in ResolveMultisampledRenderTargets()
306 renderPass->colorAttachments[i].resolveTarget->GetTexture(); in ResolveMultisampledRenderTargets()
309 renderPass->colorAttachments[i].resolveTarget->GetBaseMipLevel(); in ResolveMultisampledRenderTargets()
317 renderPass->colorAttachments[i].resolveTarget->GetBaseArrayLayer(); in ResolveMultisampledRenderTargets()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCreatePipelineAsyncTests.cpp793 wgpu::Texture resolveTarget = device.CreateTexture(&textureDescriptor); in TEST_P() local
794 wgpu::TextureView resolveTargetView = resolveTarget.CreateView(); in TEST_P()
805 renderPass.cColorAttachments[0].resolveTarget = resolveTargetView; in TEST_P()
850 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), resolveTarget, 0, 0); in TEST_P()
DMultisampledRenderingTests.cpp167 renderPass.cColorAttachments[i].resolveTarget = resolveTargetView; in CreateComboRenderPassDescriptorForTest()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DCHelloTriangle.cpp138 colorAttachment.resolveTarget = nullptr; in frame()
/third_party/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp66 colorAttachment.resolveTarget = nullptr; in beginRenderPass()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp203 bool hasResolveTarget = attachmentInfo.resolveTarget.Get() != nullptr; in RecordBeginRenderPass()
282 if (renderPass->colorAttachments[i].resolveTarget.Get() != nullptr) { in RecordBeginRenderPass()
284 ToBackend(renderPass->colorAttachments[i].resolveTarget.Get()); in RecordBeginRenderPass()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm71 if (attachmentInfo.resolveTarget.Get() != nullptr) {
73 ToBackend(attachmentInfo.resolveTarget->GetTexture())->GetMTLTexture();
75 attachmentInfo.resolveTarget->GetBaseMipLevel();
77 attachmentInfo.resolveTarget->GetBaseArrayLayer();
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp405 if (renderPass->colorAttachments[i].resolveTarget != nullptr) { in ResolveMultisampledRenderTargets()
424 renderPass->colorAttachments[i].resolveTarget->GetTexture(); in ResolveMultisampledRenderTargets()
427 renderPass->colorAttachments[i].resolveTarget->GetBaseMipLevel(); in ResolveMultisampledRenderTargets()
435 renderPass->colorAttachments[i].resolveTarget->GetBaseArrayLayer(); in ResolveMultisampledRenderTargets()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp211 bool hasResolveTarget = attachmentInfo.resolveTarget != nullptr; in RecordBeginRenderPass()
295 if (renderPass->colorAttachments[i].resolveTarget != nullptr) { in RecordBeginRenderPass()
297 ToBackend(renderPass->colorAttachments[i].resolveTarget.Get()); in RecordBeginRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm91 bool hasResolveTarget = attachmentInfo.resolveTarget != nullptr;
94 ToBackend(attachmentInfo.resolveTarget->GetTexture())->GetMTLTexture();
96 attachmentInfo.resolveTarget->GetBaseMipLevel();
98 attachmentInfo.resolveTarget->GetBaseArrayLayer();
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledRenderingTests.cpp137 renderPass.cColorAttachmentsInfoPtr[i]->resolveTarget = resolveTargetView; in CreateComboRenderPassDescriptorForTest()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.cpp128 colorAttachment.resolveTarget = nullptr; in beginRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DConverter.cpp854 return Convert(out.view, in.view) && Convert(out.resolveTarget, in.resolveTarget) && in Convert()