Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleClearsWithinRenderPass.cpp83 VkFormat depthFormat; member
171 VkFormat depthFormat; member
213 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest()
250 …const ImageCreateInfo depthImageCreateInfo (VK_IMAGE_TYPE_2D, m_params.depthFormat, { WIDTH, HEI… in MultipleClearsTest()
252 … depthTargetViewInfo (m_depthTargetImage->object(), VK_IMAGE_VIEW_TYPE_2D, m_params.depthFormat); in MultipleClearsTest()
275 m_params.depthFormat, // format in MultipleClearsTest()
368 (hasDepth ? m_params.depthFormat : VK_FORMAT_UNDEFINED), in MultipleClearsTest()
369 (hasDepth ? m_params.depthFormat : VK_FORMAT_UNDEFINED) in MultipleClearsTest()
406 if (m_params.depthFormat != VK_FORMAT_UNDEFINED) in clearAttachments()
442 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in iterate()
[all …]
/third_party/vk-gl-cts/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.cpp1548 VkFormat depthFormat);
1552 VkFormat depthFormat);
1621 void BasicGraphicsTestInstance::buildRenderPass (VkFormat colorFormat, VkFormat depthFormat) in buildRenderPass() argument
1627 m_renderPass = makeRenderPass(vk, vkDevice, colorFormat, depthFormat); in buildRenderPass()
1630 …sTestInstance::buildFrameBuffer (tcu::UVec2 renderSize, VkFormat colorFormat, VkFormat depthFormat) in buildFrameBuffer() argument
1648 m_depthImage = createImage2DAndBindMemory(depthFormat, in buildFrameBuffer()
1715 depthFormat, // VkFormat format; in buildFrameBuffer()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthBiasTests.cpp28 void RunDepthBiasTest(wgpu::TextureFormat depthFormat, in RunDepthBiasTest() argument
79 descriptor.format = depthFormat; in RunDepthBiasTest()
102 wgpu::DepthStencilState* depthStencil = renderPipelineDesc.EnableDepthStencil(depthFormat); in RunDepthBiasTest()
108 if (depthFormat != wgpu::TextureFormat::Depth32Float) { in RunDepthBiasTest()
DReadOnlyDepthStencilAttachmentTests.cpp206 wgpu::TextureFormat depthFormat = GetParam().mTextureFormat; in TEST_P() local
210 DoTest(wgpu::TextureAspect::DepthOnly, depthFormat, colorTexture, &values); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DPixelProcessor.cpp102 state.depthFormat = attachments.depthFormat(); in update()
117 …state.depthClamp = pipelineDepthClamp || !state.depthFormat.isFloatFormat() || !pipelineState.hasD… in update()
DPixelProcessor.hpp98 vk::Format depthFormat; member
DContext.hpp60 VkFormat depthFormat() const;
DContext.cpp163 VkFormat Attachments::depthFormat() const in depthFormat() function in vk::Attachments
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/grpc/examples/csharp/HelloworldUnity/ProjectSettings/
DProjectSettings.asset126 depthFormat: 0
129 depthFormat: 0
136 depthFormat: 1
/third_party/vk-gl-cts/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
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateRSTests.cpp781 const auto depthFormat = vk::VK_FORMAT_D16_UNORM; in iterate() local
790 …const auto renderPass = vk::makeRenderPass(vkd, device, colorFormat, depthFormat, vk::VK_ATTACHMEN… in iterate()
821 depthFormat, // VkFormat format; in iterate()
839 …ageView(vkd, device, depthBuffer->object(), vk::VK_IMAGE_VIEW_TYPE_2D, depthFormat, depthSubresour… in iterate()
/third_party/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()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.cpp589 switch(state.depthFormat) in depthTest()
597 UNSUPPORTED("Depth format: %d", int(state.depthFormat)); in depthTest()
645 switch(state.depthFormat) in depthBoundsTest()
655 UNSUPPORTED("Depth format: %d", int(state.depthFormat)); in depthBoundsTest()
750 switch(state.depthFormat) in writeDepth()
760 UNSUPPORTED("Depth format: %d", int(state.depthFormat)); in writeDepth()

12