Home
last modified time | relevance | path

Searched refs:depthFormat (Results 1 – 22 of 22) sorted by relevance

/external/angle/src/tests/gl_tests/
DWebGLFramebufferTest.cpp38 void testUsingIncompleteFramebuffer(GLenum depthFormat, GLenum depthAttachment);
490 GLenum *depthFormat, in tryDepth() argument
500 *depthFormat = try_format; in tryDepth()
503 glRenderbufferStorage(GL_RENDERBUFFER, *depthFormat, 16, 16); 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()
567 void WebGLFramebufferTest::testUsingIncompleteFramebuffer(GLenum depthFormat, in testUsingIncompleteFramebuffer() argument
583 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 16, 16); in testUsingIncompleteFramebuffer()
589 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 32, 16); in testUsingIncompleteFramebuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleClearsWithinRenderPass.cpp83 VkFormat depthFormat; member
171 VkFormat depthFormat; member
212 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest()
263 …const ImageCreateInfo depthImageCreateInfo (VK_IMAGE_TYPE_2D, m_params.depthFormat, { WIDTH, HEI… in MultipleClearsTest()
267 m_params.depthFormat, // format in MultipleClearsTest()
276 … depthTargetViewInfo (m_depthTargetImage->object(), VK_IMAGE_VIEW_TYPE_2D, m_params.depthFormat); in MultipleClearsTest()
381 if (m_params.depthFormat != VK_FORMAT_UNDEFINED) in clearAttachments()
417 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in iterate()
575 if (m_params.depthFormat != VK_FORMAT_UNDEFINED) in checkSupport()
578 …if (vki.getPhysicalDeviceImageFormatProperties(vkd, m_params.depthFormat, VK_IMAGE_TYPE_2D, VK_IMA… in checkSupport()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp67 VkFormat depthFormat; member
96 result << getFormatCaseName(param.depthFormat).c_str(); in generateTestName()
806 …hStencilFormat(m_context.getInstanceInterface(), m_context.getPhysicalDevice(), param.depthFormat)) in DepthRangeUnrestrictedTestInstance()
832 …m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat, m_param.depthFormat, VK_ATTACHMENT_LOAD… in DepthRangeUnrestrictedTestInstance()
849 m_param.depthFormat, in DepthRangeUnrestrictedTestInstance()
858 if (depthFormatHasStencilComponent(param.depthFormat)) in DepthRangeUnrestrictedTestInstance()
921 m_param.depthFormat, // VkFormat format; in DepthRangeUnrestrictedTestInstance()
1016 if (isFloatingPointDepthFormat(m_param.depthFormat) == VK_FALSE) in verifyTestResult()
1039 if (isFloatingPointDepthFormat(m_param.depthFormat) == VK_FALSE) in verifyTestResult()
1070 …k, vkDevice, queue, queueFamilyIndex, allocator, *m_depthImage, m_param.depthFormat, m_renderSize); in verifyTestResult()
[all …]
DvktPipelineDepthTests.cpp120 const VkFormat depthFormat,
150 const VkFormat depthFormat,
213 const VkFormat depthFormat, in DepthTest() argument
223 , m_depthFormat (depthFormat) in DepthTest()
295 const VkFormat depthFormat, in DepthTestInstance() argument
307 , m_depthFormat (depthFormat) in DepthTestInstance()
DvktPipelineTimestampTests.cpp1509 VkFormat depthFormat);
1513 VkFormat depthFormat);
1582 void BasicGraphicsTestInstance::buildRenderPass (VkFormat colorFormat, VkFormat depthFormat) in buildRenderPass() argument
1588 m_renderPass = makeRenderPass(vk, vkDevice, colorFormat, depthFormat); in buildRenderPass()
1591 …sTestInstance::buildFrameBuffer (tcu::UVec2 renderSize, VkFormat colorFormat, VkFormat depthFormat) in buildFrameBuffer() argument
1609 m_depthImage = createImage2DAndBindMemory(depthFormat, in buildFrameBuffer()
1676 depthFormat, // VkFormat format; in buildFrameBuffer()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderInvarianceTests.cpp264 VkFormat depthFormat = VK_FORMAT_UNDEFINED; in iterate() local
272 depthFormat = df; in iterate()
276 if(depthFormat == VK_FORMAT_UNDEFINED) in iterate()
280 frameBufferState.depthFormat = depthFormat; in iterate()
DvktShaderRenderBuiltinVarTests.cpp774 frameBufferState.depthFormat = m_format; in iterate()
/external/swiftshader/src/Device/
DPixelProcessor.cpp117 state.depthFormat = attachments.depthBuffer->getFormat(); in update()
123 …state.depthClamp = !state.depthFormat.isFloatFormat() || !pipelineState.hasDepthRangeUnrestricted(… in update()
DPixelProcessor.hpp95 vk::Format depthFormat; member
/external/deqp/external/openglcts/modules/gl/
Dgl4cClipControlTests.cpp700 tcu::TextureFormat depthFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT); in ValidateFramebuffer() local
701 tcu::TextureLevel renderedDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
702 tcu::TextureLevel referenceDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
703 tcu::TextureLevel importanceMaskFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
889 tcu::TextureFormat depthFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT); in ValidateFramebuffer() local
890 tcu::TextureLevel renderedDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
891 tcu::TextureLevel referenceDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/ProjectSettings/
DProjectSettings.asset138 depthFormat: 0
141 depthFormat: 0
148 depthFormat: 1
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp242 if (!m_framebufferState.depthImageView && m_framebufferState.depthFormat != VK_FORMAT_UNDEFINED) in VulkanDrawContext()
253 m_framebufferState.depthFormat, // VkFormat format in VulkanDrawContext()
267 …(vk, device, **m_depthImage, VK_IMAGE_VIEW_TYPE_2D, m_framebufferState.depthFormat, depthSubresour… in VulkanDrawContext()
289 m_framebufferState.depthFormat, // VkFormat format in VulkanDrawContext()
DvktDrawUtil.hpp50 vk::VkFormat depthFormat = vk::VK_FORMAT_UNDEFINED; member
/external/deqp/modules/gles2/functional/
Des2fClipControlTests.cpp1237 tcu::TextureFormat depthFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); in ValidateFramebuffer() local
1239 tcu::TextureLevel referenceDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
1240 tcu::TextureLevel importanceMaskFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
1425 tcu::TextureFormat depthFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); in ValidateFramebuffer() local
1427 tcu::TextureLevel referenceDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolConcurrentTests.cpp96 vk::VkFormat depthFormat = vk::VK_FORMAT_D16_UNORM; in StateObjects() local
116 …ImageCreateInfo depthImageCreateInfo(vk::VK_IMAGE_TYPE_2D, depthFormat, imageExtent, 1, 1, vk::VK_… in StateObjects()
122 … ImageViewCreateInfo depthViewInfo(m_DepthImage->object(), vk::VK_IMAGE_VIEW_TYPE_2D, depthFormat); in StateObjects()
139 renderPassCreateInfo.addAttachment(AttachmentDescription(depthFormat, // format in StateObjects()
DvktQueryPoolOcclusionTests.cpp87 vk::VkFormat depthFormat = vk::VK_FORMAT_D16_UNORM; in StateObjects() local
107 …ImageCreateInfo depthImageCreateInfo(vk::VK_IMAGE_TYPE_2D, depthFormat, imageExtent, 1, 1, vk::VK_… in StateObjects()
113 … ImageViewCreateInfo depthViewInfo(m_DepthImage->object(), vk::VK_IMAGE_VIEW_TYPE_2D, depthFormat); in StateObjects()
130 renderPassCreateInfo.addAttachment(AttachmentDescription(depthFormat, // format in StateObjects()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer_impl.h483 if (pState->depthFormat == R24_UNORM_X8_TYPELESS)
487 else if (pState->depthFormat == R16_UNORM)
493 SWR_ASSERT(pState->depthFormat == R32_FLOAT);
Dstate.h1083 SWR_FORMAT depthFormat; // @llvm_enum member
Dapi.cpp1051 switch (pState->state.rastState.depthFormat) in SetupPipeline()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp1477 const tcu::TextureFormat depthFormat = getDepthCopyFormat(attachmentInfo.getFormat()); in AttachmentResources() local
1480 m_bufferSize = size.x() * size.y() * depthFormat.getPixelSize(); in AttachmentResources()
3770 const tcu::TextureFormat depthFormat = getDepthCopyFormat(attachment.getFormat()); in logAndVerifyImages() local
3782 …const ConstPixelBufferAccess depthAccess (depthFormat, targetSize.x(), targetSize.y(), 1, depthP… in logAndVerifyImages()
/external/swiftshader/src/Pipeline/
DPixelRoutine.cpp597 if(state.depthFormat == VK_FORMAT_D16_UNORM) in depthTest()
699 if(state.depthFormat == VK_FORMAT_D16_UNORM) in writeDepth()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1324 rastState->depthFormat = swr_resource(zb->texture)->swr.format; in swr_update_derived()