Home
last modified time | relevance | path

Searched refs:depthFormat (Results 1 - 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DWebGLFramebufferTest.cpp38 void testUsingIncompleteFramebuffer(GLenum depthFormat, GLenum depthAttachment);
490 GLenum *depthFormat, in tryDepth()
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, 3 in testUsingIncompleteFramebuffer()
489 tryDepth(GLRenderbuffer *depthBuffer, GLenum *depthFormat, GLenum *depthAttachment, GLenum try_format, GLenum try_attachment) tryDepth() argument
614 testFramebufferIncompleteAttachment(GLenum depthFormat) testFramebufferIncompleteAttachment() argument
659 testFramebufferIncompleteDimensions(GLenum depthFormat, GLenum depthAttachment) testFramebufferIncompleteDimensions() argument
794 GLenum depthFormat = GL_NONE; TEST_P() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawMultipleClearsWithinRenderPass.cpp84 VkFormat depthFormat; member
172 VkFormat depthFormat; member
222 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest()
259 const ImageCreateInfo depthImageCreateInfo (VK_IMAGE_TYPE_2D, m_params.depthFormat, { WIDTH, HEIGHT, 1u }, 1u, 1u, VK_SAMPLE_COUNT_1_BIT, VK_IMAGE_TILING_OPTIMAL, depthImageUsageFlags); in MultipleClearsTest()
261 const ImageViewCreateInfo depthTargetViewInfo (m_depthTargetImage->object(), VK_IMAGE_VIEW_TYPE_2D, m_params.depthFormat); in MultipleClearsTest()
284 m_params.depthFormat, // format in MultipleClearsTest()
378 m_params.depthFormat, in MultipleClearsTest()
394 if (m_params.depthFormat) in preRenderCommands()
456 if (m_params.depthFormat != VK_FORMAT_UNDEFINED) in drawCommands()
492 m_params.depthFormat, // VkForma in beginSecondaryCmdBuffer()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawMultipleClearsWithinRenderPass.cpp84 VkFormat depthFormat; member
172 VkFormat depthFormat; member
222 const bool hasDepth = m_params.depthFormat != VK_FORMAT_UNDEFINED; in MultipleClearsTest()
259 const ImageCreateInfo depthImageCreateInfo (VK_IMAGE_TYPE_2D, m_params.depthFormat, { WIDTH, HEIGHT, 1u }, 1u, 1u, VK_SAMPLE_COUNT_1_BIT, VK_IMAGE_TILING_OPTIMAL, depthImageUsageFlags); in MultipleClearsTest()
261 const ImageViewCreateInfo depthTargetViewInfo (m_depthTargetImage->object(), VK_IMAGE_VIEW_TYPE_2D, m_params.depthFormat); in MultipleClearsTest()
284 m_params.depthFormat, // format in MultipleClearsTest()
378 m_params.depthFormat, in MultipleClearsTest()
394 if (m_params.depthFormat) in preRenderCommands()
456 if (m_params.depthFormat != VK_FORMAT_UNDEFINED) in drawCommands()
492 m_params.depthFormat, // VkForma in beginSecondaryCmdBuffer()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineDepthRangeUnrestrictedTests.cpp72 VkFormat depthFormat; member
101 result << getFormatCaseName(param.depthFormat).c_str(); in generateTestName()
730 if (!isSupportedDepthStencilFormat(m_context.getInstanceInterface(), m_context.getPhysicalDevice(), param.depthFormat)) in DepthRangeUnrestrictedTestInstance()
756 m_renderPass = makeRenderPass(vk, vkDevice, m_param.pipelineConstructionType, m_colorFormat, m_param.depthFormat, VK_ATTACHMENT_LOAD_OP_CLEAR, VK_ATTACHMENT_LOAD_OP_CLEAR); in DepthRangeUnrestrictedTestInstance()
773 m_param.depthFormat, in DepthRangeUnrestrictedTestInstance()
782 if (depthFormatHasStencilComponent(param.depthFormat)) in DepthRangeUnrestrictedTestInstance()
845 m_param.depthFormat, // VkFormat format; in DepthRangeUnrestrictedTestInstance()
942 if (isFloatingPointDepthFormat(m_param.depthFormat) == VK_FALSE) in verifyTestResult()
965 if (isFloatingPointDepthFormat(m_param.depthFormat) == VK_FALSE) in verifyTestResult()
1001 de::MovePtr<tcu::TextureLevel> depthResult = readDepthAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_depthImage, m_param.depthFormat, m_renderSiz in verifyTestResult()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDepthRangeUnrestrictedTests.cpp70 VkFormat depthFormat; member
99 result << getFormatCaseName(param.depthFormat).c_str(); in generateTestName()
729 if (!isSupportedDepthStencilFormat(m_context.getInstanceInterface(), m_context.getPhysicalDevice(), param.depthFormat)) in DepthRangeUnrestrictedTestInstance()
755 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat, m_param.depthFormat, VK_ATTACHMENT_LOAD_OP_CLEAR, VK_ATTACHMENT_LOAD_OP_CLEAR); in DepthRangeUnrestrictedTestInstance()
772 m_param.depthFormat, in DepthRangeUnrestrictedTestInstance()
781 if (depthFormatHasStencilComponent(param.depthFormat)) in DepthRangeUnrestrictedTestInstance()
844 m_param.depthFormat, // VkFormat format; in DepthRangeUnrestrictedTestInstance()
937 if (isFloatingPointDepthFormat(m_param.depthFormat) == VK_FALSE) in verifyTestResult()
960 if (isFloatingPointDepthFormat(m_param.depthFormat) == VK_FALSE) in verifyTestResult()
996 de::MovePtr<tcu::TextureLevel> depthResult = readDepthAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_depthImage, m_param.depthFormat, m_renderSiz in verifyTestResult()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalIgnoreTests.cpp133 const auto depthFormat = VK_FORMAT_D16_UNORM; in iterate() local
185 depthFormat, // VkFormat format; in iterate()
200 auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, depthFormat, depthSubresourceRange); in iterate()
207 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate()
309 tcu::ConstPixelBufferAccess outDepth(mapVkFormat(depthFormat), imageDim, outDepthBufferData); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalIgnoreTests.cpp131 const auto depthFormat = VK_FORMAT_D16_UNORM; in iterate() local
183 depthFormat, // VkFormat format; in iterate()
198 auto depthAttachmentView = makeImageView(vkd, device, depthAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, depthFormat, depthSubresourceRange); in iterate()
205 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate()
307 tcu::ConstPixelBufferAccess outDepth(mapVkFormat(depthFormat), imageDim, outDepthBufferData); in iterate()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A 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()
H A 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/
H A DPixelProcessor.cpp102 state.depthFormat = attachments.depthFormat(); in update()
117 state.depthClamp = pipelineDepthClamp || !state.depthFormat.isFloatFormat() || !pipelineState.hasDepthRangeUnrestricted(); in update()
H A DPixelProcessor.hpp98 vk::Format depthFormat; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A 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/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A 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/vulkancts/modules/vulkan/shader_object/
H A DvktShaderObjectRenderingTests.cpp71 vk::VkFormat depthFormat; member
567 if (m_params.useDepthAttachment && tcu::hasStencilComponent(mapVkFormat(m_params.depthFormat).order)) in iterate()
599 m_params.depthFormat, // VkFormat format in iterate()
626 m_depthImageView = vk::makeImageView(vk, device, **depthImage, vk::VK_IMAGE_VIEW_TYPE_2D, m_params.depthFormat, depthSubresourceRange); in iterate()
765 const auto depthBuffer = readDepthAttachment(vk, device, queue, queueFamilyIndex, alloc, **depthImage, m_params.depthFormat, tcu::UVec2(m_renderArea.extent.width, m_renderArea.extent.height), vk::VK_IMAGE_LAYOUT_GENERAL); in iterate()
831 const auto depthResult = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, m_params.depthFormat, vk::VK_IMAGE_TYPE_2D, vk::VK_IMAGE_TILING_OPTIMAL, (vk::VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT | vk::VK_IMAGE_USAGE_TRANSFER_SRC_BIT), 0, &depthImageFormatProperties); in checkSupport()
1017 params.depthFormat = vk::VK_FORMAT_UNDEFINED; in createShaderObjectRenderingTests()
1031 const auto depthFormat = depthStencilFormats[j]; in createShaderObjectRenderingTests() local
1033 params.depthFormat = depthFormat; in createShaderObjectRenderingTests()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFramebufferBlitTests.cpp462 BlitDepthStencilCase (Context& context, const char* name, const char* desc, deUint32 depthFormat, deUint32 stencilFormat, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dstRect, deUint32 copyBuffers) in BlitDepthStencilCase() argument
464 , m_depthFormat (depthFormat) in BlitDepthStencilCase()
1078 deUint32 depthFormat = depthStencilFormats[dFmtNdx];
1084 if (depthFormat != GL_NONE)
1086 tcu::TextureFormat info = glu::mapGLInternalFormat(depthFormat);
1088 fmtName += getFormatName(depthFormat);
1101 if (depthFormat != GL_NONE)
1112 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_basic").c_str(), "", depthFormat, stencilFormat, buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers));
1113 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_scale").c_str(), "", depthFormat, stencilFormat, buffers, IVec2(127, 119), IVec4(10, 30, 100, 70), buffers, IVec2(111, 130), IVec4(20, 5, 80, 130), buffers));
1117 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_depth_only").c_str(), "", depthFormat, stencilForma
[all...]
H A Des3fFboCompletenessTests.cpp261 ImageFormat depthFormat = attPoint == GL_DEPTH_ATTACHMENT ? image->internalFormat : m_depthStencilFormat; in check() local
263 if (m_formats.getFormatInfo(depthFormat) & STENCIL_RENDERABLE) in check()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cClipControlTests.cpp700 tcu::TextureFormat depthFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT); in ValidateFramebuffer()
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()
890 tcu::TextureLevel renderedDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
891 tcu::TextureLevel referenceDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
H A DvktRasterizationDepthBiasControlTests.cpp351 const auto depthFormat = m_params.attachmentFormat; in iterate() local
358 const auto tcuDepthFormat = getDepthCopyFormat(depthFormat); in iterate()
364 const auto depthCreateInfo = getImageCreateInfo(depthFormat, vkExtent, depthUsage); in iterate()
371 ImageWithBuffer depthBuffer(ctx.vkd, ctx.device, ctx.allocator, vkExtent, depthFormat, depthUsage, depthCreateInfo.imageType, depthSRR, in iterate()
411 const auto renderPass = makeRenderPass(ctx.vkd, ctx.device, colorFormat, depthFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateMiscTests.cpp512 const auto depthFormat = VK_FORMAT_D16_UNORM; in testNoFrag() local
523 vk::ImageWithBuffer depthBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, depthFormat, depthUsage, imageType, depthSRR); in testNoFrag()
526 const auto renderPass = makeRenderPass(ctx.vkd, ctx.device, colorFormat, depthFormat); in testNoFrag()
668 const auto depthTcuFormat = mapVkFormat(depthFormat); in testNoFrag()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
H A DvktDrawUtil.cpp240 // Depth buffer - create image when user didn't deliver its own, but configured depthFormat in VulkanDrawContext()
242 if (!m_framebufferState.depthImageView && m_framebufferState.depthFormat != VK_FORMAT_UNDEFINED) in VulkanDrawContext()
253 m_framebufferState.depthFormat, // VkFormat format in VulkanDrawContext()
267 m_depthImageView = makeImageView(vk, device, **m_depthImage, VK_IMAGE_VIEW_TYPE_2D, m_framebufferState.depthFormat, depthSubresourceRange); in VulkanDrawContext()
289 m_framebufferState.depthFormat, // VkFormat format in VulkanDrawContext()
H A DvktDrawUtil.hpp50 vk::VkFormat depthFormat = vk::VK_FORMAT_UNDEFINED; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
H A DvktDrawUtil.cpp240 // Depth buffer - create image when user didn't deliver its own, but configured depthFormat in VulkanDrawContext()
242 if (!m_framebufferState.depthImageView && m_framebufferState.depthFormat != VK_FORMAT_UNDEFINED) in VulkanDrawContext()
253 m_framebufferState.depthFormat, // VkFormat format in VulkanDrawContext()
267 m_depthImageView = makeImageView(vk, device, **m_depthImage, VK_IMAGE_VIEW_TYPE_2D, m_framebufferState.depthFormat, depthSubresourceRange); in VulkanDrawContext()
289 m_framebufferState.depthFormat, // VkFormat format in VulkanDrawContext()
H A DvktDrawUtil.hpp50 vk::VkFormat depthFormat = vk::VK_FORMAT_UNDEFINED; member
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fClipControlTests.cpp1237 tcu::TextureFormat depthFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); in ValidateFramebuffer()
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()
1427 tcu::TextureLevel referenceDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
H A 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_SAMPLE_COUNT_1_BIT, vk::VK_IMAGE_TILING_OPTIMAL, in StateObjects()
122 const ImageViewCreateInfo depthViewInfo(m_DepthImage->object(), vk::VK_IMAGE_VIEW_TYPE_2D, depthFormat); in StateObjects()
139 renderPassCreateInfo.addAttachment(AttachmentDescription(depthFormat, // format in StateObjects()

Completed in 32 milliseconds

12