Home
last modified time | relevance | path

Searched refs:hasStencil (Results 1 - 25 of 57) sorted by relevance

123

/third_party/vk-gl-cts/modules/egl/
H A DteglCreateContextExtTests.cpp1024 static bool hasStencil (const eglu::CandidateConfig& c) { return c.stencilSize() > 0; } in hasStencil() function
1059 { "rgb565_no_depth_stencil", "RGB565 configs with stencil and no depth", colorBits<5, 6, 5, 0>, noDepth, hasStencil }, in init()
1061 { "rgb565_depth_stencil", "RGB565 configs with depth and stencil", colorBits<5, 6, 5, 0>, hasDepth, hasStencil }, in init()
1064 { "rgb888_no_depth_stencil", "RGB888 configs with stencil and no depth", colorBits<8, 8, 8, 0>, noDepth, hasStencil }, in init()
1066 { "rgb888_depth_stencil", "RGB888 configs with depth and stencil", colorBits<8, 8, 8, 0>, hasDepth, hasStencil }, in init()
1069 { "rgba4444_no_depth_stencil", "RGBA4444 configs with stencil and no depth", colorBits<4, 4, 4, 4>, noDepth, hasStencil }, in init()
1071 { "rgba4444_depth_stencil", "RGBA4444 configs with depth and stencil", colorBits<4, 4, 4, 4>, hasDepth, hasStencil }, in init()
1074 { "rgba5551_no_depth_stencil", "RGBA5551 configs with stencil and no depth", colorBits<5, 5, 5, 1>, noDepth, hasStencil }, in init()
1076 { "rgba5551_depth_stencil", "RGBA5551 configs with depth and stencil", colorBits<5, 5, 5, 1>, hasDepth, hasStencil }, in init()
1079 { "rgba8888_no_depth_stencil", "RGBA8888 configs with stencil and no depth", colorBits<8, 8, 8, 8>, noDepth, hasStencil }, in init()
[all...]
H A DteglSimpleConfigCase.cpp138 static bool hasStencil (const eglu::CandidateConfig& c) { return c.stencilSize() > 0; } in hasStencil() function
188 { "stencil", hasStencil }, in getDefaultFilterLists()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassDepthStencilResolveTests.cpp1393 bool hasStencil; in initTests() member
1504 const bool hasStencil = formatData.hasStencil; in initTests() local
1506 (hasStencil * VK_IMAGE_ASPECT_STENCIL_BIT); in initTests()
1507 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in initTests()
1544 if (!hasStencil && (sResolve.flag != VK_RESOLVE_MODE_NONE) && in initTests()
1598 if (hasStencil) in initTests()
1688 const bool hasStencil = formatData.hasStencil; in initTests() local
1690 (hasStencil * VK_IMAGE_ASPECT_STENCIL_BI in initTests()
[all...]
H A DvktRenderPassLoadStoreOpNoneTests.cpp1284 const auto hasStencil = tcu::hasStencilComponent(tcuFormat.order); in iterate() local
1288 renderingCreateInfo.stencilAttachmentFormat = (hasStencil && useStencil ? format : VK_FORMAT_UNDEFINED); in iterate()
1693 const bool hasStencil = tcu::hasStencilComponent(tcuFormat.order); local
1861 if (hasStencil)
1899 if (hasStencil)
1938 if (hasStencil)
1977 if (hasStencil)
2017 if (hasDepth && hasStencil)
2060 if (hasDepth && hasStencil)
2102 if (hasDepth && hasStencil)
[all...]
H A DvktRenderPassMultisampleTests.cpp117 const bool hasStencil (tcu::hasStencilComponent(format.order)); in getImageAspectFlags()
119 if (hasDepth || hasStencil) in getImageAspectFlags()
122 | (hasStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : (VkImageAspectFlagBits)0u); in getImageAspectFlags()
969 const bool hasStencil (tcu::hasStencilComponent(format.order)); in createSplitDescriptorSetLayout()
993 hasDepth && hasStencil ? 2u : 1u, in createSplitDescriptorSetLayout()
1247 const bool hasStencil (tcu::hasStencilComponent(format.order)); in getSrcImageUsage()
1249 if (hasDepth || hasStencil) in getSrcImageUsage()
1259 const bool hasStencil (tcu::hasStencilComponent(format.order)); in getDstFormat()
1261 if (hasDepth && hasStencil && !separateStencilUsage) in getDstFormat()
1263 else if (hasDepth || hasStencil) in getDstFormat()
[all...]
H A DvktRenderPassUnusedClearAttachmentTests.cpp796 const bool hasStencil = m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in UnusedClearAttachmentTestInstance() local
806 (hasStencil ? m_testParams.depthStencilFormat : vk::VK_FORMAT_UNDEFINED), in UnusedClearAttachmentTestInstance()
987 const bool hasStencil = (m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in createCommandBufferDynamicRendering() local
1004 hasStencil ? m_testParams.depthStencilFormat : VK_FORMAT_UNDEFINED, // VkFormat stencilAttachmentFormat; in createCommandBufferDynamicRendering()
1028 hasStencil ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pStencilAttachment; in createCommandBufferDynamicRendering()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassDepthStencilResolveTests.cpp1393 bool hasStencil; in initTests() member
1502 const bool hasStencil = formatData.hasStencil; in initTests() local
1504 (hasStencil * VK_IMAGE_ASPECT_STENCIL_BIT); in initTests()
1505 const int separateLayoutsLoopCount = (hasDepth && hasStencil) ? 2 : 1; in initTests()
1542 if (!hasStencil && (sResolve.flag != VK_RESOLVE_MODE_NONE) && in initTests()
1596 if (hasStencil) in initTests()
1686 const bool hasStencil = formatData.hasStencil; in initTests() local
1688 (hasStencil * VK_IMAGE_ASPECT_STENCIL_BI in initTests()
[all...]
H A DvktRenderPassLoadStoreOpNoneTests.cpp1279 const auto hasStencil = tcu::hasStencilComponent(tcuFormat.order); in iterate() local
1281 renderingCreateInfo.stencilAttachmentFormat = (hasStencil ? format : VK_FORMAT_UNDEFINED); in iterate()
1686 const bool hasStencil = tcu::hasStencilComponent(tcuFormat.order); local
1854 if (hasStencil)
1892 if (hasStencil)
1931 if (hasStencil)
1970 if (hasStencil)
2010 if (hasDepth && hasStencil)
2053 if (hasDepth && hasStencil)
2095 if (hasDepth && hasStencil)
[all...]
H A DvktRenderPassMultisampleTests.cpp117 const bool hasStencil (tcu::hasStencilComponent(format.order)); in getImageAspectFlags()
119 if (hasDepth || hasStencil) in getImageAspectFlags()
122 | (hasStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : (VkImageAspectFlagBits)0u); in getImageAspectFlags()
969 const bool hasStencil (tcu::hasStencilComponent(format.order)); in createSplitDescriptorSetLayout()
993 hasDepth && hasStencil ? 2u : 1u, in createSplitDescriptorSetLayout()
1247 const bool hasStencil (tcu::hasStencilComponent(format.order)); in getSrcImageUsage()
1249 if (hasDepth || hasStencil) in getSrcImageUsage()
1259 const bool hasStencil (tcu::hasStencilComponent(format.order)); in getDstFormat()
1261 if (hasDepth && hasStencil && !separateStencilUsage) in getDstFormat()
1263 else if (hasDepth || hasStencil) in getDstFormat()
[all...]
H A DvktRenderPassUnusedClearAttachmentTests.cpp797 const bool hasStencil = m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in UnusedClearAttachmentTestInstance() local
807 (hasStencil ? m_testParams.depthStencilFormat : vk::VK_FORMAT_UNDEFINED), in UnusedClearAttachmentTestInstance()
988 const bool hasStencil = (m_testParams.depthStencilType == DEPTH_STENCIL_BOTH || in createCommandBufferDynamicRendering() local
1005 hasStencil ? m_testParams.depthStencilFormat : VK_FORMAT_UNDEFINED, // VkFormat stencilAttachmentFormat; in createCommandBufferDynamicRendering()
1029 hasStencil ? &depthAttachment : DE_NULL, // const VkRenderingAttachmentInfoKHR* pStencilAttachment; in createCommandBufferDynamicRendering()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp547 const auto hasStencil = tcu::hasStencilComponent(tcuFormat.order); in iterate() local
554 const auto tcuStencilFormat = (hasStencil ? getStencilCopyFormat(m_params.format) : tcu::TextureFormat()); in iterate()
628 if (hasStencil) in iterate()
864 (hasStencil ? VK_ATTACHMENT_LOAD_OP_LOAD : VK_ATTACHMENT_LOAD_OP_DONT_CARE), in iterate()
865 ((hasStencil && stencilWrites) ? VK_ATTACHMENT_STORE_OP_STORE : VK_ATTACHMENT_STORE_OP_DONT_CARE), in iterate()
1029 if (hasStencil) in iterate()
1143 if (hasStencil) in iterate()
1211 if (hasStencil) in iterate()
1338 const auto hasStencil = tcu::hasStencilComponent(tcuFormat.order); in createImageDepthStencilDescriptorTests() local
1342 if (hasStencilAccess != hasStencil) in createImageDepthStencilDescriptorTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp547 const auto hasStencil = tcu::hasStencilComponent(tcuFormat.order); in iterate() local
554 const auto tcuStencilFormat = (hasStencil ? getStencilCopyFormat(m_params.format) : tcu::TextureFormat()); in iterate()
628 if (hasStencil) in iterate()
864 (hasStencil ? VK_ATTACHMENT_LOAD_OP_LOAD : VK_ATTACHMENT_LOAD_OP_DONT_CARE), in iterate()
865 ((hasStencil && stencilWrites) ? VK_ATTACHMENT_STORE_OP_STORE : VK_ATTACHMENT_STORE_OP_DONT_CARE), in iterate()
1029 if (hasStencil) in iterate()
1143 if (hasStencil) in iterate()
1211 if (hasStencil) in iterate()
1337 const auto hasStencil = tcu::hasStencilComponent(tcuFormat.order); in createImageDepthStencilDescriptorTests() local
1341 if (hasStencilAccess != hasStencil) in createImageDepthStencilDescriptorTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsTransientAttachmentTests.cpp167 const bool hasStencil = (tcuFormat.order == tcu::TextureFormat::DS in makeAttachment() local
177 hasStencil ? loadOp : VK_ATTACHMENT_LOAD_OP_DONT_CARE, // VkAttachmentLoadOp stencilLoadOp; in makeAttachment()
178 hasStencil ? storeOp : VK_ATTACHMENT_STORE_OP_DONT_CARE, // VkAttachmentStoreOp stencilStoreOp; in makeAttachment()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsTransientAttachmentTests.cpp167 const bool hasStencil = (tcuFormat.order == tcu::TextureFormat::DS in makeAttachment() local
177 hasStencil ? loadOp : VK_ATTACHMENT_LOAD_OP_DONT_CARE, // VkAttachmentLoadOp stencilLoadOp; in makeAttachment()
178 hasStencil ? storeOp : VK_ATTACHMENT_STORE_OP_DONT_CARE, // VkAttachmentStoreOp stencilStoreOp; in makeAttachment()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DFramebuffer.h77 bool hasStencil();
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
H A DvktShaderTileImageTests.cpp1763 const bool hasStencil = tcu::hasStencilComponent(depthStencilFormat.order); in rendering() local
1766 if (hasDepth && hasStencil) in rendering()
1776 else if (hasStencil) in rendering()
1805 hasStencil ? &depthStencilAttachment : DE_NULL // const VkRenderingAttachmentInfoKHR* pStencilAttachment; in rendering()
2097 const bool hasStencil = tcu::hasStencilComponent(mapVkFormat(format).order); in createShaderTileImageTestVariations() local
2121 if (hasStencil) in createShaderTileImageTestVariations()
2129 if (!hasStencil && !hasDepth) in createShaderTileImageTestVariations()
/third_party/skia/src/gpu/vk/
H A DGrVkRenderTarget.cpp27 static int renderpass_features_to_index(bool hasResolve, bool hasStencil, in renderpass_features_to_index() argument
34 if (hasStencil) { in renderpass_features_to_index()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebuffer.h110 bool hasStencil() const;
280 bool hasStencil() const;
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrFragmentOperations.cpp812 bool hasStencil = stencilBuffer.getWidth() > 0 && stencilBuffer.getHeight() > 0 && stencilBuffer.getDepth() > 0; in render()
815 bool doStencilTest = hasStencil && state.stencilTestEnabled; in render()
820 DE_ASSERT((!hasDepth || colorBuffer.getWidth() == depthBuffer.getWidth()) && (!hasStencil || colorBuffer.getWidth() == stencilBuffer.getWidth())); in render()
821 DE_ASSERT((!hasDepth || colorBuffer.getHeight() == depthBuffer.getHeight()) && (!hasStencil || colorBuffer.getHeight() == stencilBuffer.getHeight())); in render()
822 DE_ASSERT((!hasDepth || colorBuffer.getDepth() == depthBuffer.getDepth()) && (!hasStencil || colorBuffer.getDepth() == stencilBuffer.getDepth())); in render()
826 DE_ASSERT(!hasStencil || (!tcu::isCombinedDepthStencilType(stencilBuffer.getFormat().type) && stencilBuffer.getFormat().order == tcu::TextureFormat::S)); in render()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRandomFragmentOpTests.cpp98 bool hasStencil = renderTarget.getStencilBits() > 0; in translateState() local
102 dst.stencilTestEnabled = hasStencil && src.stencilTestEnabled; in translateState()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRandomFragmentOpTests.cpp98 bool hasStencil = renderTarget.getStencilBits() > 0; in translateState() local
102 dst.stencilTestEnabled = hasStencil && src.stencilTestEnabled; in translateState()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp3167 const bool hasStencil = tcu::hasStencilComponent(mapVkFormat(m_params.dst.image.format).order); in CopyBufferToDepthStencil() local
3185 if (hasStencil) in CopyBufferToDepthStencil()
10528 bool hasStencil = tcu::hasStencilComponent(mapVkFormat(params.src.image.format).order);
10554 if (hasStencil)
10573 if (hasDepth && hasStencil)
10605 bool hasStencil = tcu::hasStencilComponent(mapVkFormat(params.src.image.format).order);
10631 if (hasStencil)
10650 if (hasDepth && hasStencil)
10682 bool hasStencil = tcu::hasStencilComponent(mapVkFormat(params.src.image.format).order);
10710 if (hasStencil)
16737 bool hasStencil = tcu::hasStencilComponent(textureFormat.order); addDepthStencilCopyMSAATest() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp521 const auto hasStencil = params.useStencilAspect; in comparePixelToColorClearValue() local
523 if (hasStencil) in comparePixelToColorClearValue()
819 const auto hasStencil = m_params.useStencilAspect; in iterate() local
820 const auto imageAspect = (isDSFormat ? (hasStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT) : VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
822 const auto colorAttachmentFormat = getColorAttachmentFormat(m_params.textureFormat, hasStencil); in iterate()
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.cpp957 const bool hasStencil = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().order == tcu::TextureFormat::S;
959 DE_ASSERT(hasDepth || hasStencil);
964 if (hasStencil)
1049 const bool hasStencil = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().order == tcu::TextureFormat::S;
1051 DE_ASSERT(hasDepth || hasStencil);
1056 if (hasStencil)
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDepthStencilFormatsTest.cpp242 const bool hasStencil = (type.format != GL_DEPTH_COMPONENT); in depthStencilReadbackCase() local
328 if (hasStencil) in depthStencilReadbackCase()
391 if (hasStencil) in depthStencilReadbackCase()

Completed in 74 milliseconds

123