/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawMultipleClearsWithinRenderPass.cpp | 212 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest() local 260 if (hasDepth) in MultipleClearsTest() 281 …const VkAttachmentReference depthAttachmentReference = hasDepth ? makeAttachmentReference(hasColo… in MultipleClearsTest() 347 …pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (hasDepth, hasDepth, VK_COMPARE… in MultipleClearsTest() 417 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in iterate() local 422 if (hasDepth) in iterate() 446 if (hasDepth) in iterate() 462 if (hasDepth) in iterate() 490 if (hasDepth) in iterate()
|
/external/deqp/modules/egl/ |
D | teglCreateContextExtTests.cpp | 1018 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 …]
|
D | teglSimpleConfigCase.cpp | 136 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/ |
D | vktRenderPassDepthStencilResolveTests.cpp | 1305 bool hasDepth; in initTests() member 1414 const bool hasDepth = formatData.hasDepth; in initTests() local 1416 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() 1418 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in initTests() 1449 if (!hasDepth && (dResolve.flag != VK_RESOLVE_MODE_NONE) && in initTests() 1465 if (hasDepth) in initTests() 1540 if (sampleCountNdx == 0 && imageDataNdx == 0 && hasDepth) in initTests() 1588 const bool hasDepth = formatData.hasDepth; in initTests() local 1590 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() 1592 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in initTests() [all …]
|
D | vktRenderPassMultisampleTests.cpp | 117 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getImageAspectFlags() local 120 if (hasDepth || hasStencil) in getImageAspectFlags() 122 return (hasDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : (VkImageAspectFlagBits)0u) in getImageAspectFlags() 969 const bool hasDepth (tcu::hasDepthComponent(format.order)); in createSplitDescriptorSetLayout() local 994 hasDepth && hasStencil ? 2u : 1u, in createSplitDescriptorSetLayout() 1247 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getSrcImageUsage() local 1250 if (hasDepth || hasStencil) in getSrcImageUsage() 1259 const bool hasDepth (tcu::hasDepthComponent(format.order)); in getDstFormat() local 1262 if (hasDepth && hasStencil && !separateStencilUsage) in getDstFormat() 1264 else if (hasDepth || hasStencil) in getDstFormat()
|
D | vktRenderPassTests.cpp | 2405 const bool hasDepth = hasDepthComponent(format.order); in pushRenderCommands() local 2423 (hasDepth ? (VkImageAspectFlags)VK_IMAGE_ASPECT_DEPTH_BIT : 0u) in pushRenderCommands() 3196 const bool hasDepth = tcu::hasDepthComponent(format.order) in renderReferenceValues() local 3204 …clearReferenceValues(reference, targetSize, offset, size, BVec4(hasDepth, hasStencil, false, false… in renderReferenceValues() 3469 const bool hasDepth = tcu::hasDepthComponent(format.order); in renderReferenceImagesFromValues() local 3471 const bool hasDepthOrStencil = hasDepth || hasStencil; in renderReferenceImagesFromValues() 3478 if (hasDepth) in renderReferenceImagesFromValues()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboStencilbufferTests.cpp | 161 …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()
|
D | es3fRandomFragmentOpTests.cpp | 97 bool hasDepth = renderTarget.getDepthBits() > 0; in translateState() local 103 dst.depthTestEnabled = hasDepth && src.depthTestEnabled; in translateState()
|
D | es3fDepthStencilTests.cpp | 383 bool hasDepth = renderTarget.depthBits > 0; in translateCommand() local 397 dst.state.depthTestEnabled = hasDepth && src.params.depthTestEnabled; in translateCommand()
|
D | es3fFboInvalidateTests.cpp | 121 const bool hasDepth = depthBits > 0; in getCompatibleDepthStencilFormat() local 124 if (!hasDepth || !hasStencil || (stencilBits != 8)) in getCompatibleDepthStencilFormat()
|
/external/deqp/framework/referencerenderer/ |
D | rrFragmentOperations.cpp | 807 …bool hasDepth = depthBuffer.getWidth() > 0 && depthBuffer.getHeight() > 0 && depthBuffer.… in render() local 809 bool doDepthBoundsTest = hasDepth && state.depthBoundsTestEnabled; in render() 810 bool doDepthTest = hasDepth && state.depthTestEnabled; in render() 816 …DE_ASSERT((!hasDepth || colorBuffer.getWidth() == depthBuffer.getWidth()) && (!hasStencil || color… in render() 817 …DE_ASSERT((!hasDepth || colorBuffer.getHeight() == depthBuffer.getHeight()) && (!hasStencil || col… in render() 818 …DE_ASSERT((!hasDepth || colorBuffer.getDepth() == depthBuffer.getDepth()) && (!hasStencil || color… in render() 821 …DE_ASSERT(!hasDepth || (!tcu::isCombinedDepthStencilType(depthBuffer.getFormat().type) && depthBuf… in render()
|
/external/angle/src/libANGLE/ |
D | Framebuffer.h | 111 bool hasDepth() const; 279 bool hasDepth() const;
|
D | Framebuffer.cpp | 712 bool FramebufferState::hasDepth() const in hasDepth() function in gl::FramebufferState 1137 bool Framebuffer::hasDepth() const in hasDepth() function in gl::Framebuffer 1139 return mState.hasDepth(); in hasDepth() 2385 if (hasDepth()) in ensureReadAttachmentsInitialized()
|
/external/deqp/modules/gles2/functional/ |
D | es2fRandomFragmentOpTests.cpp | 97 bool hasDepth = renderTarget.getDepthBits() > 0; in translateState() local 103 dst.depthTestEnabled = hasDepth && src.depthTestEnabled; in translateState()
|
D | es2fDepthStencilTests.cpp | 383 bool hasDepth = renderTarget.depthBits > 0; in translateCommand() local 397 dst.state.depthTestEnabled = hasDepth && src.params.depthTestEnabled; in translateCommand()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 954 …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()
|
D | tcuImageCompare.cpp | 839 bool hasDepth = tcu::hasDepthComponent(result.getFormat().order); in dsThresholdCompare() local 852 if (hasDepth) in dsThresholdCompare()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 2204 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(m_params.dst.image.format).order); in CopyBufferToDepthStencil() local 2212 if (hasDepth) in CopyBufferToDepthStencil() 6436 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order); in addImageToImageAllFormatsDepthStencilTests() local 6449 if (hasDepth) in addImageToImageAllFormatsDepthStencilTests() 6483 if (hasDepth && hasStencil) in addImageToImageAllFormatsDepthStencilTests() 6513 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order); in addImageToImageAllFormatsDepthStencilTests() local 6526 if (hasDepth) in addImageToImageAllFormatsDepthStencilTests() 6560 if (hasDepth && hasStencil) in addImageToImageAllFormatsDepthStencilTests() 6590 bool hasDepth = tcu::hasDepthComponent(mapVkFormat(params.src.image.format).order); in addImageToImageAllFormatsDepthStencilTests() local 6603 if (hasDepth) in addImageToImageAllFormatsDepthStencilTests() [all …]
|
D | vktApiImageClearingTests.cpp | 2249 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createImageClearingTestsCommon() local 2251 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 3 : 1; in createImageClearingTestsCommon() 2290 …if (separateDepthStencilLayoutMode == SEPARATE_DEPTH_STENCIL_LAYOUT_MODE_NONE && hasDepth && hasSt… in createImageClearingTestsCommon() 2420 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(format).order); in createImageClearingTestsCommon() local 2422 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 3 : 1; in createImageClearingTestsCommon()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineStencilTests.cpp | 943 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(stencilFormat).order); in createStencilTests() local 945 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in createStencilTests()
|
D | vktPipelineDepthTests.cpp | 1016 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(depthFormats[formatNdx]).order); in createDepthTests() local 1018 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in createDepthTests()
|
D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 1406 const bool hasDepth = isDepthFormat(params.depthStencilFormat); in test() local 1423 if (hasDepth && ((checksum & VK_IMAGE_ASPECT_DEPTH_BIT) == 0u)) in test()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 372 if(source->hasDepth()) in stretchRect()
|
/external/swiftshader/src/Renderer/ |
D | Surface.hpp | 324 bool hasDepth() const;
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 1027 …const bool hasDepth = access.getFormat().order == tcu::TextureFormat::D || access.getFormat().ord… in clearToTextureInitialValue() local 1029 const bool hasColor = !hasDepth && !hasStencil; in clearToTextureInitialValue() 1031 if (hasDepth) in clearToTextureInitialValue() 3386 bool hasDepth = !isEmpty(depthArea); in clear() local 3409 if (hasDepth && (buffers & GL_DEPTH_BUFFER_BIT) != 0 && m_depthMask) in clear()
|