/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | WebGLFramebufferTest.cpp | 38 void testUsingIncompleteFramebuffer(GLenum depthFormat, GLenum depthAttachment); 491 GLenum *depthAttachment, in tryDepth() argument 495 if (*depthAttachment != GL_NONE) in tryDepth() 498 glFramebufferRenderbuffer(GL_FRAMEBUFFER, *depthAttachment, GL_RENDERBUFFER, 0); in tryDepth() 501 *depthAttachment = try_attachment; in tryDepth() 502 glFramebufferRenderbuffer(GL_FRAMEBUFFER, *depthAttachment, GL_RENDERBUFFER, *depthBuffer); in tryDepth() 508 bool checkValidColorDepthCombination(GLenum *depthFormat, GLenum *depthAttachment) in checkValidColorDepthCombination() argument 520 return tryDepth(&depthBuffer, depthFormat, depthAttachment, GL_DEPTH_COMPONENT16, in checkValidColorDepthCombination() 522 tryDepth(&depthBuffer, depthFormat, depthAttachment, GL_DEPTH_STENCIL, in checkValidColorDepthCombination() 568 GLenum depthAttachment) in testUsingIncompleteFramebuffer() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
D | vktConditionalIgnoreTests.cpp | 147 de::MovePtr<ImageWithMemory> depthAttachment; in iterate() local 197 …depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthI… in iterate() 198 …auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate() 245 VK_IMAGE_LAYOUT_GENERAL, depthAttachment.get()->get(), depthSubresourceRange); in iterate() 252 …vkd.cmdClearDepthStencilImage(commandBuffer.get(), depthAttachment.get()->get(), VK_IMAGE_LAYOUT_G… in iterate() 272 …vkd.cmdClearDepthStencilImage(commandBuffer2.get(), depthAttachment.get()->get(), VK_IMAGE_LAYOUT_… in iterate() 292 …vkd.cmdClearDepthStencilImage(commandBuffer.get(), depthAttachment.get()->get(), VK_IMAGE_LAYOUT_G… in iterate() 298 …copyImageToBuffer(vkd, commandBuffer.get(), depthAttachment.get()->get(), (*outDepthBuffer).get(),… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalIgnoreTests.cpp | 147 de::MovePtr<ImageWithMemory> depthAttachment; in iterate() local 197 …depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthI… in iterate() 198 …auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE… in iterate() 245 VK_IMAGE_LAYOUT_GENERAL, depthAttachment.get()->get(), depthSubresourceRange); in iterate() 252 …vkd.cmdClearDepthStencilImage(commandBuffer.get(), depthAttachment.get()->get(), VK_IMAGE_LAYOUT_G… in iterate() 272 …vkd.cmdClearDepthStencilImage(commandBuffer2.get(), depthAttachment.get()->get(), VK_IMAGE_LAYOUT_… in iterate() 292 …vkd.cmdClearDepthStencilImage(commandBuffer.get(), depthAttachment.get()->get(), VK_IMAGE_LAYOUT_G… in iterate() 298 …copyImageToBuffer(vkd, commandBuffer.get(), depthAttachment.get()->get(), (*outDepthBuffer).get(),… in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ClearMultiviewGL.cpp | 134 const gl::FramebufferAttachment *depthAttachment = state.getDepthAttachment(); in attachTextures() local 146 else if (depthAttachment != nullptr) in attachTextures() 148 const auto &imageIndex = depthAttachment->getTextureImageIndex(); in attachTextures() 151 const TextureGL *textureGL = GetImplAs<TextureGL>(depthAttachment->getTexture()); in attachTextures() 184 const gl::FramebufferAttachment *depthAttachment = state.getDepthAttachment(); in detachTextures() local 191 else if (depthAttachment != nullptr) in detachTextures()
|
D | FramebufferGL.cpp | 210 const FramebufferAttachment *depthAttachment = state.getDepthAttachment(); in RequiresMultiviewClear() local 211 if (depthAttachment) in RequiresMultiviewClear() 213 if (!depthAttachment->isMultiview()) in RequiresMultiviewClear() 217 attachment = depthAttachment; in RequiresMultiviewClear()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateInheritanceTests.cpp | 407 VkAttachmentDescription depthAttachment{}; local 408 depthAttachment.format = m_depthImageInfo.format; 409 depthAttachment.samples = VK_SAMPLE_COUNT_1_BIT; 410 depthAttachment.loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; 411 depthAttachment.storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; 412 depthAttachment.stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; 413 depthAttachment.stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; 414 depthAttachment.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; 415 depthAttachment.finalLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; 439 VkAttachmentDescription attachments[2] = {colorAttachment, depthAttachment};
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
D | vktDynamicStateInheritanceTests.cpp | 407 VkAttachmentDescription depthAttachment{}; local 408 depthAttachment.format = m_depthImageInfo.format; 409 depthAttachment.samples = VK_SAMPLE_COUNT_1_BIT; 410 depthAttachment.loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; 411 depthAttachment.storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; 412 depthAttachment.stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; 413 depthAttachment.stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; 414 depthAttachment.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; 415 depthAttachment.finalLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; 439 VkAttachmentDescription attachments[2] = {colorAttachment, depthAttachment};
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Framebuffer.cpp | 1326 const FramebufferAttachment &depthAttachment = mState.mDepthAttachment; in checkStatusWithGLFrontEnd() local 1327 if (depthAttachment.isAttached()) in checkStatusWithGLFrontEnd() 1330 CheckAttachmentCompleteness(context, depthAttachment); in checkStatusWithGLFrontEnd() 1336 const InternalFormat &format = *depthAttachment.getFormat().info; in checkStatusWithGLFrontEnd() 1345 CheckAttachmentSampleCompleteness(context, depthAttachment, false, &samples, in checkStatusWithGLFrontEnd() 1353 CheckMultiviewStateMatchesForCompleteness(firstAttachment, &depthAttachment); in checkStatusWithGLFrontEnd() 1359 hasRenderbuffer = hasRenderbuffer || (depthAttachment.type() == GL_RENDERBUFFER); in checkStatusWithGLFrontEnd() 1363 isLayered = depthAttachment.isLayered(); in checkStatusWithGLFrontEnd() 1372 if (isLayered.value() != depthAttachment.isLayered()) in checkStatusWithGLFrontEnd() 1437 if (state.getClientMajorVersion() >= 3 && depthAttachment.isAttached() && in checkStatusWithGLFrontEnd() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_command_buffer.mm | 1117 objCRenderPassDesc.depthAttachment.storeAction = mRenderPassDesc.depthAttachment.storeAction; 1118 finalizeLoadStoreAction(objCRenderPassDesc.depthAttachment); 1201 if (mRenderPassDesc.depthAttachment.storeAction == MTLStoreActionDontCare) 1204 mRenderPassDesc.depthAttachment.loadAction = MTLLoadActionClear; 1205 mRenderPassDesc.depthAttachment.clearDepth = dis(gen); 1209 mRenderPassDesc.depthAttachment.loadAction = MTLLoadActionLoad; 1300 initAttachmentWriteDependencyAndScissorRect(mRenderPassDesc.depthAttachment); 1832 mRenderPassDesc.depthAttachment.storeAction = depthStoreAction; 1841 mRenderPassDesc.depthAttachment.storeAction = action; 1879 if (mCachedRenderPassDescObjC.get().depthAttachment.texture) [all …]
|
D | mtl_utils.mm | 542 rtMTL.toRenderPassAttachmentDesc(&rpDesc.depthAttachment); 543 rpDesc.depthAttachment.loadAction = MTLLoadActionClear; 544 rpDesc.depthAttachment.clearDepth = 1.0; 1400 if (descriptor.depthAttachment.texture.pixelFormat == 1403 bool isMsaa = descriptor.depthAttachment.texture.sampleCount > 1; 1404 if (descriptor.depthAttachment.texture.pixelFormat != MTLPixelFormatInvalid) 1407 descriptor.depthAttachment.texture.pixelFormat); 1414 if (descriptor.depthAttachment.texture.pixelFormat != MTLPixelFormatInvalid) 1416 bool isMsaa = descriptor.depthAttachment.texture.sampleCount > 1; 1418 descriptor.depthAttachment.texture.pixelFormat);
|
D | mtl_state_cache.mm | 783 auto depthTexture = this->depthAttachment.texture; 809 return depthAttachment.equalIgnoreLoadStoreOptions(other.depthAttachment) && 830 return depthAttachment == other.depthAttachment && stencilAttachment == other.stencilAttachment; 853 ToObjC(depthAttachment, objCDesc.depthAttachment);
|
D | FrameBufferMtl.mm | 797 mRenderPassDesc.depthAttachment.loadAction = MTLLoadActionLoad; 860 setLoadStoreActionOnRenderPassFirstStart(&mRenderPassDesc.depthAttachment, 908 mRenderPassDesc.depthAttachment.reset(); 1067 mDepthRenderTarget->toRenderPassAttachmentDesc(&desc.depthAttachment); 1072 desc.depthAttachment.reset(); 1143 tempDesc.depthAttachment.loadAction = MTLLoadActionClear; 1144 tempDesc.depthAttachment.clearDepth = clearOpts.clearDepth.value(); 1378 mRenderPassDesc.depthAttachment.storeAction = MTLStoreActionDontCare;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | TextureMTL.mm | 556 descriptor.depthAttachment.texture = GetMTLTexture(); 557 descriptor.depthAttachment.level = level; 558 descriptor.depthAttachment.slice = arrayLayer; 559 descriptor.depthAttachment.loadAction = MTLLoadActionClear; 560 descriptor.depthAttachment.storeAction = MTLStoreActionStore; 561 descriptor.depthAttachment.clearDepth = dClearColor;
|
D | CommandBufferMTL.mm | 130 descriptor.depthAttachment.texture = texture; 131 descriptor.depthAttachment.level = attachmentInfo.view->GetBaseMipLevel(); 132 descriptor.depthAttachment.slice = attachmentInfo.view->GetBaseArrayLayer(); 136 descriptor.depthAttachment.storeAction = MTLStoreActionStore; 140 descriptor.depthAttachment.storeAction = MTLStoreActionDontCare; 146 descriptor.depthAttachment.loadAction = MTLLoadActionClear; 147 descriptor.depthAttachment.clearDepth = attachmentInfo.clearDepth; 151 descriptor.depthAttachment.loadAction = MTLLoadActionLoad;
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassLoadStoreOpNoneTests.cpp | 592 VkRenderingAttachmentInfoKHR depthAttachment in createCommandBuffer() local 670 depthAttachment.imageView = *imageViews[i]; in createCommandBuffer() 671 depthAttachment.loadOp = m_testParams.attachments[i].loadOp; in createCommandBuffer() 672 depthAttachment.storeOp = m_testParams.attachments[i].storeOp; in createCommandBuffer() 711 …useDepth ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttachme… in createCommandBuffer()
|
D | vktRenderPassUnusedClearAttachmentTests.cpp | 972 VkRenderingAttachmentInfoKHR depthAttachment in createCommandBufferDynamicRendering() local 1028 …hasDepth ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttach… in createCommandBufferDynamicRendering() 1029 …hasStencil ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pStencilAtt… in createCommandBufferDynamicRendering()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassLoadStoreOpNoneTests.cpp | 592 VkRenderingAttachmentInfoKHR depthAttachment in createCommandBuffer() local 670 depthAttachment.imageView = *imageViews[i]; in createCommandBuffer() 671 depthAttachment.loadOp = m_testParams.attachments[i].loadOp; in createCommandBuffer() 672 depthAttachment.storeOp = m_testParams.attachments[i].storeOp; in createCommandBuffer() 711 …useDepth ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttachme… in createCommandBuffer()
|
D | vktRenderPassUnusedClearAttachmentTests.cpp | 972 VkRenderingAttachmentInfoKHR depthAttachment in createCommandBufferDynamicRendering() local 1028 …hasDepth ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttach… in createCommandBufferDynamicRendering() 1029 …hasStencil ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pStencilAtt… in createCommandBufferDynamicRendering()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawDepthClampTests.cpp | 642 VkRenderingAttachmentInfoKHR depthAttachment in beginDynamicRender() local 666 &depthAttachment, // const VkRenderingAttachmentInfoKHR* pDepthAttachment; in beginDynamicRender()
|
D | vktDrawMultipleClearsWithinRenderPass.cpp | 542 vk::VkRenderingAttachmentInfoKHR depthAttachment in beginDynamicRender() local 569 …(hasDepth ? &depthAttachment : DE_NULL), // const VkRenderingAttachmentInfoKHR* pDepthAttachmen… in beginDynamicRender()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawDepthClampTests.cpp | 642 VkRenderingAttachmentInfoKHR depthAttachment in beginDynamicRender() local 666 &depthAttachment, // const VkRenderingAttachmentInfoKHR* pDepthAttachment; in beginDynamicRender()
|
D | vktDrawMultipleClearsWithinRenderPass.cpp | 542 vk::VkRenderingAttachmentInfoKHR depthAttachment in beginDynamicRender() local 569 …(hasDepth ? &depthAttachment : DE_NULL), // const VkRenderingAttachmentInfoKHR* pDepthAttachmen… in beginDynamicRender()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
D | vktFragmentOperationsOcclusionQueryTests.cpp | 163 const VkClearAttachment depthAttachment = in commandClearDepthAttachment() local 177 vk.cmdClearAttachments(commandBuffer, 1u, &depthAttachment, 1u, &rect); in commandClearDepthAttachment()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsOcclusionQueryTests.cpp | 163 const VkClearAttachment depthAttachment = in commandClearDepthAttachment() local 177 vk.cmdClearAttachments(commandBuffer, 1u, &depthAttachment, 1u, &rect); in commandClearDepthAttachment()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_EXT_multisampled_render_to_single_sampled.adoc | 327 VkRenderingAttachmentInfo depthAttachment = { 359 .pDepthAttachment = &depthAttachment,
|