Home
last modified time | relevance | path

Searched refs:hasDepth (Results 1 - 25 of 49) sorted by relevance

12

/third_party/vk-gl-cts/modules/egl/
H A DteglCreateContextExtTests.cpp1022 static bool hasDepth (const eglu::CandidateConfig& c) { return c.depthSize() > 0; } in hasDepth() function
1060 { "rgb565_depth_no_stencil", "RGB565 configs with depth and no stencil", colorBits<5, 6, 5, 0>, hasDepth, noStencil }, in init()
1061 { "rgb565_depth_stencil", "RGB565 configs with depth and stencil", colorBits<5, 6, 5, 0>, hasDepth, hasStencil }, in init()
1065 { "rgb888_depth_no_stencil", "RGB888 configs with depth and no stencil", colorBits<8, 8, 8, 0>, hasDepth, noStencil }, in init()
1066 { "rgb888_depth_stencil", "RGB888 configs with depth and stencil", colorBits<8, 8, 8, 0>, hasDepth, hasStencil }, in init()
1070 { "rgba4444_depth_no_stencil", "RGBA4444 configs with depth and no stencil", colorBits<4, 4, 4, 4>, hasDepth, noStencil }, in init()
1071 { "rgba4444_depth_stencil", "RGBA4444 configs with depth and stencil", colorBits<4, 4, 4, 4>, hasDepth, hasStencil }, in init()
1075 { "rgba5551_depth_no_stencil", "RGBA5551 configs with depth and no stencil", colorBits<5, 5, 5, 1>, hasDepth, noStencil }, in init()
1076 { "rgba5551_depth_stencil", "RGBA5551 configs with depth and stencil", colorBits<5, 5, 5, 1>, hasDepth, hasStencil }, in init()
1080 { "rgba8888_depth_no_stencil", "RGBA8888 configs with depth and no stencil", colorBits<8, 8, 8, 8>, hasDepth, noStenci in init()
[all...]
H A DteglSimpleConfigCase.cpp136 static bool hasDepth (const eglu::CandidateConfig& c) { return c.depthSize() > 0; } in hasDepth() function
178 { "depth", hasDepth }, in getDefaultFilterLists()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawMultipleClearsWithinRenderPass.cpp222 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest() local
256 if (hasDepth) in MultipleClearsTest()
281 if (hasDepth) in MultipleClearsTest()
294 const VkAttachmentReference depthAttachmentReference = hasDepth ? makeAttachmentReference(hasColor ? 1u : 0u, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL) : AttachmentReference(); in MultipleClearsTest()
311 if (hasDepth) in MultipleClearsTest()
366 pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (hasDepth, hasDepth, VK_COMPARE_OP_ALWAYS, VK_FALSE, VK_FALSE)); in MultipleClearsTest()
557 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in beginDynamicRender() local
569 (hasDepth ? &depthAttachment : DE_NULL), // const VkRenderingAttachmentInfoKHR* pDepthAttachment; in beginDynamicRender()
590 const bool hasDepth in iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawMultipleClearsWithinRenderPass.cpp222 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest() local
256 if (hasDepth) in MultipleClearsTest()
281 if (hasDepth) in MultipleClearsTest()
294 const VkAttachmentReference depthAttachmentReference = hasDepth ? makeAttachmentReference(hasColor ? 1u : 0u, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL) : AttachmentReference(); in MultipleClearsTest()
311 if (hasDepth) in MultipleClearsTest()
366 pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (hasDepth, hasDepth, VK_COMPARE_OP_ALWAYS, VK_FALSE, VK_FALSE)); in MultipleClearsTest()
557 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in beginDynamicRender() local
569 (hasDepth ? &depthAttachment : DE_NULL), // const VkRenderingAttachmentInfoKHR* pDepthAttachment; in beginDynamicRender()
590 const bool hasDepth in iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassDepthStencilResolveTests.cpp1392 bool hasDepth; in initTests() member
1503 const bool hasDepth = formatData.hasDepth; in initTests() local
1505 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests()
1507 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in initTests()
1538 if (!hasDepth && (dResolve.flag != VK_RESOLVE_MODE_NONE) && in initTests()
1554 if (hasDepth) in initTests()
1639 if (sampleCountNdx == 0 && imageDataNdx == 0 && hasDepth && sResolve.flag != VK_RESOLVE_MODE_NONE) in initTests()
1687 const bool hasDepth = formatData.hasDepth; in initTests() local
[all...]
H A DvktRenderPassLoadStoreOpNoneTests.cpp1283 const auto hasDepth = tcu::hasDepthComponent(tcuFormat.order); in iterate() local
1287 renderingCreateInfo.depthAttachmentFormat = (hasDepth && useDepth ? format : VK_FORMAT_UNDEFINED); in iterate()
1692 const bool hasDepth = tcu::hasDepthComponent(tcuFormat.order); local
1704 if (hasDepth)
1742 if (hasDepth)
1781 if (hasDepth)
1819 if (hasDepth)
2017 if (hasDepth && hasStencil)
2060 if (hasDepth && hasStencil)
2102 if (hasDepth
[all...]
H A DvktRenderPassMultisampleTests.cpp116 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getImageAspectFlags()
119 if (hasDepth || hasStencil) in getImageAspectFlags()
121 return (hasDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : (VkImageAspectFlagBits)0u) in getImageAspectFlags()
968 const bool hasDepth (tcu::hasDepthComponent(format.order)); in createSplitDescriptorSetLayout()
993 hasDepth && hasStencil ? 2u : 1u, in createSplitDescriptorSetLayout()
1246 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getSrcImageUsage()
1249 if (hasDepth || hasStencil) in getSrcImageUsage()
1258 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getDstFormat()
1261 if (hasDepth && hasStencil && !separateStencilUsage) in getDstFormat()
1263 else if (hasDepth || hasStenci in getDstFormat()
[all...]
H A DvktRenderPassUnusedClearAttachmentTests.cpp794 const bool hasDepth = m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in UnusedClearAttachmentTestInstance() local
805 (hasDepth ? m_testParams.depthStencilFormat : vk::VK_FORMAT_UNDEFINED), in UnusedClearAttachmentTestInstance()
985 const bool hasDepth = (m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in createCommandBufferDynamicRendering() local
1003 hasDepth ? m_testParams.depthStencilFormat : VK_FORMAT_UNDEFINED, // VkFormat depthAttachmentFormat; in createCommandBufferDynamicRendering()
1027 hasDepth ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttachment; in createCommandBufferDynamicRendering()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassDepthStencilResolveTests.cpp1392 bool hasDepth; in initTests() member
1501 const bool hasDepth = formatData.hasDepth; in initTests() local
1503 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests()
1505 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in initTests()
1536 if (!hasDepth && (dResolve.flag != VK_RESOLVE_MODE_NONE) && in initTests()
1552 if (hasDepth) in initTests()
1637 if (sampleCountNdx == 0 && imageDataNdx == 0 && hasDepth && sResolve.flag != VK_RESOLVE_MODE_NONE) in initTests()
1685 const bool hasDepth = formatData.hasDepth; in initTests() local
[all...]
H A DvktRenderPassLoadStoreOpNoneTests.cpp1278 const auto hasDepth = tcu::hasDepthComponent(tcuFormat.order); in iterate() local
1280 renderingCreateInfo.depthAttachmentFormat = (hasDepth ? format : VK_FORMAT_UNDEFINED); in iterate()
1685 const bool hasDepth = tcu::hasDepthComponent(tcuFormat.order); local
1697 if (hasDepth)
1735 if (hasDepth)
1774 if (hasDepth)
1812 if (hasDepth)
2010 if (hasDepth && hasStencil)
2053 if (hasDepth && hasStencil)
2095 if (hasDepth
[all...]
H A DvktRenderPassMultisampleTests.cpp116 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getImageAspectFlags()
119 if (hasDepth || hasStencil) in getImageAspectFlags()
121 return (hasDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : (VkImageAspectFlagBits)0u) in getImageAspectFlags()
968 const bool hasDepth (tcu::hasDepthComponent(format.order)); in createSplitDescriptorSetLayout()
993 hasDepth && hasStencil ? 2u : 1u, in createSplitDescriptorSetLayout()
1246 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getSrcImageUsage()
1249 if (hasDepth || hasStencil) in getSrcImageUsage()
1258 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getDstFormat()
1261 if (hasDepth && hasStencil && !separateStencilUsage) in getDstFormat()
1263 else if (hasDepth || hasStenci in getDstFormat()
[all...]
H A DvktRenderPassUnusedClearAttachmentTests.cpp795 const bool hasDepth = m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in UnusedClearAttachmentTestInstance() local
806 (hasDepth ? m_testParams.depthStencilFormat : vk::VK_FORMAT_UNDEFINED), in UnusedClearAttachmentTestInstance()
986 const bool hasDepth = (m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in createCommandBufferDynamicRendering() local
1004 hasDepth ? m_testParams.depthStencilFormat : VK_FORMAT_UNDEFINED, // VkFormat depthAttachmentFormat; in createCommandBufferDynamicRendering()
1028 hasDepth ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttachment; in createCommandBufferDynamicRendering()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboStencilbufferTests.cpp161 const bool hasDepth = (m_attachDepth == GL_DEPTH_STENCIL || m_attachDepth == GL_DEPTH_ATTACHMENT); in render() local
217 glStencilFunc(GL_EQUAL, hasDepth ? 2 : 1, 0xffu); in render()
224 glStencilFunc(GL_GREATER, hasDepth ? 1 : 2, 0xffu); in render()
H A Des3fRandomFragmentOpTests.cpp97 bool hasDepth = renderTarget.getDepthBits() > 0; in translateState() local
103 dst.depthTestEnabled = hasDepth && src.depthTestEnabled; in translateState()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp546 const auto hasDepth = tcu::hasDepthComponent(tcuFormat.order); in iterate() local
553 const auto tcuDepthFormat = (hasDepth ? getDepthCopyFormat(m_params.format) : tcu::TextureFormat()); in iterate()
625 if (hasDepth) in iterate()
862 (hasDepth ? VK_ATTACHMENT_LOAD_OP_LOAD : VK_ATTACHMENT_LOAD_OP_DONT_CARE), in iterate()
863 ((hasDepth && depthWrites) ? VK_ATTACHMENT_STORE_OP_STORE : VK_ATTACHMENT_STORE_OP_DONT_CARE), in iterate()
1022 if (hasDepth) in iterate()
1136 if (hasDepth) in iterate()
1191 if (hasDepth) in iterate()
1337 const auto hasDepth = tcu::hasDepthComponent(tcuFormat.order); in createImageDepthStencilDescriptorTests() local
1340 if (hasDepthAccess != hasDepth) in createImageDepthStencilDescriptorTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp546 const auto hasDepth = tcu::hasDepthComponent(tcuFormat.order); in iterate() local
553 const auto tcuDepthFormat = (hasDepth ? getDepthCopyFormat(m_params.format) : tcu::TextureFormat()); in iterate()
625 if (hasDepth) in iterate()
862 (hasDepth ? VK_ATTACHMENT_LOAD_OP_LOAD : VK_ATTACHMENT_LOAD_OP_DONT_CARE), in iterate()
863 ((hasDepth && depthWrites) ? VK_ATTACHMENT_STORE_OP_STORE : VK_ATTACHMENT_STORE_OP_DONT_CARE), in iterate()
1022 if (hasDepth) in iterate()
1136 if (hasDepth) in iterate()
1191 if (hasDepth) in iterate()
1336 const auto hasDepth = tcu::hasDepthComponent(tcuFormat.order); in createImageDepthStencilDescriptorTests() local
1339 if (hasDepthAccess != hasDepth) in createImageDepthStencilDescriptorTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
H A DvktShaderTileImageTests.cpp1762 const bool hasDepth = tcu::hasDepthComponent(depthStencilFormat.order); in rendering() local
1766 if (hasDepth && hasStencil) in rendering()
1771 else if (hasDepth) in rendering()
1804 hasDepth ? &depthStencilAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttachment; in rendering()
2096 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createShaderTileImageTestVariations() local
2112 if (hasDepth) in createShaderTileImageTestVariations()
2129 if (!hasStencil && !hasDepth) in createShaderTileImageTestVariations()
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrFragmentOperations.cpp811 bool hasDepth = depthBuffer.getWidth() > 0 && depthBuffer.getHeight() > 0 && depthBuffer.getDepth() > 0; in render()
813 bool doDepthBoundsTest = hasDepth && state.depthBoundsTestEnabled; in render()
814 bool doDepthTest = hasDepth && state.depthTestEnabled; in render()
820 DE_ASSERT((!hasDepth || colorBuffer.getWidth() == depthBuffer.getWidth()) && (!hasStencil || colorBuffer.getWidth() == stencilBuffer.getWidth())); in render()
821 DE_ASSERT((!hasDepth || colorBuffer.getHeight() == depthBuffer.getHeight()) && (!hasStencil || colorBuffer.getHeight() == stencilBuffer.getHeight())); in render()
822 DE_ASSERT((!hasDepth || colorBuffer.getDepth() == depthBuffer.getDepth()) && (!hasStencil || colorBuffer.getDepth() == stencilBuffer.getDepth())); in render()
825 DE_ASSERT(!hasDepth || (!tcu::isCombinedDepthStencilType(depthBuffer.getFormat().type) && depthBuffer.getFormat().order == tcu::TextureFormat::D)); in render()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebuffer.h109 bool hasDepth() const;
279 bool hasDepth() const;
H A DFramebuffer.cpp715 bool FramebufferState::hasDepth() const
1145 bool Framebuffer::hasDepth() const
1147 return mState.hasDepth();
2401 if (hasDepth()) in ensureReadAttachmentsInitialized()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRandomFragmentOpTests.cpp97 bool hasDepth = renderTarget.getDepthBits() > 0; in translateState() local
103 dst.depthTestEnabled = hasDepth && src.depthTestEnabled; in translateState()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp3166 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(m_params.dst.image.format).order); in CopyBufferToDepthStencil() local
3174 if (hasDepth) in CopyBufferToDepthStencil()
10527 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order);
10540 if (hasDepth)
10573 if (hasDepth && hasStencil)
10604 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order);
10617 if (hasDepth)
10650 if (hasDepth && hasStencil)
10681 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order);
10696 if (hasDepth)
16736 bool hasDepth = tcu::hasDepthComponent(textureFormat.order); addDepthStencilCopyMSAATest() local
[all...]
H A DvktApiImageClearingTests.cpp2683 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createImageClearingTestsCommon() local
2685 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 3 : 1; in createImageClearingTestsCommon()
2726 if (separateDepthStencilLayoutMode == SEPARATE_DEPTH_STENCIL_LAYOUT_MODE_NONE && hasDepth && hasStencil) in createImageClearingTestsCommon()
2880 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createImageClearingTestsCommon() local
2882 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 3 : 1; in createImageClearingTestsCommon()
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.cpp956 const bool hasDepth = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().order == tcu::TextureFormat::D;
959 DE_ASSERT(hasDepth || hasStencil);
962 if (hasDepth)
1048 const bool hasDepth = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().order == tcu::TextureFormat::D;
1051 DE_ASSERT(hasDepth || hasStencil);
1054 if (hasDepth)
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiImageClearingTests.cpp2395 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createImageClearingTestsCommon() local
2397 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 3 : 1; in createImageClearingTestsCommon()
2436 if (separateDepthStencilLayoutMode == SEPARATE_DEPTH_STENCIL_LAYOUT_MODE_NONE && hasDepth && hasStencil) in createImageClearingTestsCommon()
2568 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createImageClearingTestsCommon() local
2570 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 3 : 1; in createImageClearingTestsCommon()

Completed in 63 milliseconds

12