Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/draw/
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(hasColo… in MultipleClearsTest()
311 if (hasDepth) in MultipleClearsTest()
366 …pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (hasDepth, hasDepth, VK_COMPARE… in MultipleClearsTest()
557 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in beginDynamicRender() local
569 …(hasDepth ? &depthAttachment : DE_NULL), // const VkRenderingAttachmentInfoKHR* pDepthAttachmen… in beginDynamicRender()
590 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in iterate() local
644 if (hasDepth) in iterate()
[all …]
/external/deqp/modules/egl/
DteglCreateContextExtTests.cpp1018 static bool hasDepth (const eglu::CandidateConfig& c) { return c.depthSize() > 0; } in hasDepth() function
1056 …encil", "RGB565 configs with depth and no stencil", colorBits<5, 6, 5, 0>, hasDepth, noStencil }, in init()
1057 …tencil", "RGB565 configs with depth and stencil", colorBits<5, 6, 5, 0>, hasDepth, hasStencil }, in init()
1061 …encil", "RGB888 configs with depth and no stencil", colorBits<8, 8, 8, 0>, hasDepth, noStencil }, in init()
1062 …tencil", "RGB888 configs with depth and stencil", colorBits<8, 8, 8, 0>, hasDepth, hasStencil }, in init()
1066 …ncil", "RGBA4444 configs with depth and no stencil", colorBits<4, 4, 4, 4>, hasDepth, noStencil }, in init()
1067 …ncil", "RGBA4444 configs with depth and stencil", colorBits<4, 4, 4, 4>, hasDepth, hasStencil }, in init()
1071 …ncil", "RGBA5551 configs with depth and no stencil", colorBits<5, 5, 5, 1>, hasDepth, noStencil }, in init()
1072 …ncil", "RGBA5551 configs with depth and stencil", colorBits<5, 5, 5, 1>, hasDepth, hasStencil }, in init()
1076 …ncil", "RGBA8888 configs with depth and no stencil", colorBits<8, 8, 8, 8>, hasDepth, noStencil }, in init()
[all …]
DteglSimpleConfigCase.cpp136 static bool hasDepth (const eglu::CandidateConfig& c) { return c.depthSize() > 0; } in hasDepth() function
178 { "depth", hasDepth }, in getDefaultFilterLists()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
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
1687 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests()
1689 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in initTests()
[all …]
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); in createRenderPassLoadStoreOpNoneTests() local
1697 if (hasDepth) in createRenderPassLoadStoreOpNoneTests()
1735 if (hasDepth) in createRenderPassLoadStoreOpNoneTests()
1774 if (hasDepth) in createRenderPassLoadStoreOpNoneTests()
1812 if (hasDepth) in createRenderPassLoadStoreOpNoneTests()
2010 if (hasDepth && hasStencil) in createRenderPassLoadStoreOpNoneTests()
2053 if (hasDepth && hasStencil) in createRenderPassLoadStoreOpNoneTests()
2095 if (hasDepth && hasStencil) in createRenderPassLoadStoreOpNoneTests()
[all …]
DvktRenderPassMultisampleTests.cpp116 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getImageAspectFlags() local
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() local
993 hasDepth && hasStencil ? 2u : 1u, in createSplitDescriptorSetLayout()
1246 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getSrcImageUsage() local
1249 if (hasDepth || hasStencil) in getSrcImageUsage()
1258 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getDstFormat() local
1261 if (hasDepth && hasStencil && !separateStencilUsage) in getDstFormat()
1263 else if (hasDepth || hasStencil) in getDstFormat()
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
1004hasDepth ? m_testParams.depthStencilFormat : VK_FORMAT_UNDEFINED, // VkFormat depthAttachme… in createCommandBufferDynamicRendering()
1028hasDepth ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pDepthAttach… in createCommandBufferDynamicRendering()
/external/deqp/modules/gles3/functional/
Des3fFboStencilbufferTests.cpp161 …const bool hasDepth = (m_attachDepth == GL_DEPTH_STENCIL || m_attachDepth == GL_DEPTH_ATTACHM… in render() local
217 glStencilFunc(GL_EQUAL, hasDepth ? 2 : 1, 0xffu); in render()
224 glStencilFunc(GL_GREATER, hasDepth ? 1 : 2, 0xffu); in render()
Des3fRandomFragmentOpTests.cpp97 bool hasDepth = renderTarget.getDepthBits() > 0; in translateState() local
103 dst.depthTestEnabled = hasDepth && src.depthTestEnabled; in translateState()
Des3fDepthStencilTests.cpp383 bool hasDepth = renderTarget.depthBits > 0; in translateCommand() local
397 dst.state.depthTestEnabled = hasDepth && src.params.depthTestEnabled; in translateCommand()
Des3fFboInvalidateTests.cpp121 const bool hasDepth = depthBits > 0; in getCompatibleDepthStencilFormat() local
124 if (!hasDepth || !hasStencil || (stencilBits != 8)) in getCompatibleDepthStencilFormat()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageDepthStencilDescriptorTests.cpp546 const auto hasDepth = tcu::hasDepthComponent(tcuFormat.order); in iterate() local
553 …const auto tcuDepthFormat = (hasDepth ? getDepthCopyFormat(m_params.format) : tcu::TextureForma… 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()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp811 …bool hasDepth = depthBuffer.getWidth() > 0 && depthBuffer.getHeight() > 0 && depthBuffer.… in render() local
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 || color… in render()
821 …DE_ASSERT((!hasDepth || colorBuffer.getHeight() == depthBuffer.getHeight()) && (!hasStencil || col… in render()
822 …DE_ASSERT((!hasDepth || colorBuffer.getDepth() == depthBuffer.getDepth()) && (!hasStencil || color… in render()
825 …DE_ASSERT(!hasDepth || (!tcu::isCombinedDepthStencilType(depthBuffer.getFormat().type) && depthBuf… in render()
/external/angle/src/libANGLE/
DFramebuffer.h112 bool hasDepth() const;
282 bool hasDepth() const;
DFramebuffer.cpp721 bool FramebufferState::hasDepth() const in hasDepth() function in gl::FramebufferState
1244 bool Framebuffer::hasDepth() const in hasDepth() function in gl::Framebuffer
1246 return mState.hasDepth(); in hasDepth()
2543 if (hasDepth()) in ensureReadAttachmentsInitialized()
/external/deqp/modules/gles2/functional/
Des2fRandomFragmentOpTests.cpp97 bool hasDepth = renderTarget.getDepthBits() > 0; in translateState() local
103 dst.depthTestEnabled = hasDepth && src.depthTestEnabled; in translateState()
Des2fDepthStencilTests.cpp383 bool hasDepth = renderTarget.depthBits > 0; in translateCommand() local
397 dst.state.depthTestEnabled = hasDepth && src.params.depthTestEnabled; in translateCommand()
/external/deqp/framework/common/
DtcuTextureUtil.cpp954 …const bool hasDepth = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().or… in fillWithComponentGradientsStyled() local
957 DE_ASSERT(hasDepth || hasStencil); in fillWithComponentGradientsStyled()
960 if (hasDepth) in fillWithComponentGradientsStyled()
1046 …const bool hasDepth = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().or… in fillWithGrid() local
1049 DE_ASSERT(hasDepth || hasStencil); in fillWithGrid()
1052 if (hasDepth) in fillWithGrid()
DtcuImageCompare.cpp944 bool hasDepth = tcu::hasDepthComponent(result.getFormat().order); in dsThresholdCompare() local
957 if (hasDepth) in dsThresholdCompare()
/external/deqp/external/vulkancts/modules/vulkan/api/
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 && hasSt… in createImageClearingTestsCommon()
2568 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createImageClearingTestsCommon() local
2570 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 3 : 1; in createImageClearingTestsCommon()
DvktApiCopiesAndBlittingTests.cpp2734 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(m_params.dst.image.format).order); in CopyBufferToDepthStencil() local
2742 if (hasDepth) in CopyBufferToDepthStencil()
9670 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order); in addImageToImageAllFormatsDepthStencilTests() local
9684 if (hasDepth) in addImageToImageAllFormatsDepthStencilTests()
9718 if (hasDepth && hasStencil) in addImageToImageAllFormatsDepthStencilTests()
9779 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order); in addImageToImageAllFormatsDepthStencilTests() local
9792 if (hasDepth) in addImageToImageAllFormatsDepthStencilTests()
9826 if (hasDepth && hasStencil) in addImageToImageAllFormatsDepthStencilTests()
9856 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order); in addImageToImageAllFormatsDepthStencilTests() local
9869 if (hasDepth) in addImageToImageAllFormatsDepthStencilTests()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationOrderAttachmentAccessTests.cpp145 virtual bool hasDepth() const in hasDepth() function in vkt::rasterization::__anon019663900111::AttachmentAccessOrderTestCase
217 virtual bool hasDepth() const in hasDepth() function in vkt::rasterization::__anon019663900111::AttachmentAccessOrderDepthTestCase
1302 if (m_testCase->hasDepth()) in createRenderPass()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilTests.cpp973 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(stencilFormat).order); in createStencilTests() local
975 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in createStencilTests()
DvktPipelineDepthTests.cpp1308 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(depthFormats[formatNdx]).order); in createDepthTests() local
1310 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in createDepthTests()
DvktPipelineSamplerTests.cpp334 const auto hasDepth = (isDSFormat && tcu::hasDepthComponent(tcuFormat.order)); in getImageSamplingInstanceParams() local
339 DE_UNREF(hasDepth); // For debug builds. in getImageSamplingInstanceParams()
341 DE_ASSERT(imageAspect != VK_IMAGE_ASPECT_DEPTH_BIT || hasDepth); in getImageSamplingInstanceParams()

12