/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineStencilExportTests.cpp | 78 vk::VkFormat stencilFormat; member 259 const VkFormat stencilFormat) in makeTestRenderPass() 276 stencilFormat, // VkFormat format; in makeTestRenderPass() 498 Move<VkImage> stencilImage = makeImage (vk, device, makeImageCreateInfo(params.stencilFormat, renderSize, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT)); in testStencilExportReplace() 500 Move<VkImageView> stencilAttachment = makeImageView (vk, device, *stencilImage, VK_IMAGE_VIEW_TYPE_2D, params.stencilFormat, stencilSubresourceRange); in testStencilExportReplace() 510 RenderPassWrapper renderPass = makeTestRenderPass (vk, device, params.pipelineConstructionType, colorFormat, params.stencilFormat); in testStencilExportReplace() 600 if (!isSupportedDepthStencilFormat(context.getInstanceInterface(), context.getPhysicalDevice(), params.stencilFormat)) in checkSupport() 640 params.stencilFormat = kFormats[fmtIdx].format; in createStencilExportTests() 255 makeTestRenderPass(const DeviceInterface& vk, const VkDevice device, const PipelineConstructionType pipelineConstructionType, const VkFormat colorFormat, const VkFormat stencilFormat) makeTestRenderPass() argument
|
H A D | vktPipelineStencilTests.cpp | 117 VkFormat stencilFormat, 141 VkFormat stencilFormat, 272 VkFormat stencilFormat, in StencilTest() 279 , m_stencilFormat (stencilFormat) in StencilTest() 350 VkFormat stencilFormat, in StencilTestInstance() 362 , m_stencilFormat (stencilFormat) in StencilTestInstance() 967 const VkFormat stencilFormat = stencilFormats[formatNdx]; in createStencilTests() local 968 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(stencilFormat).order); in createStencilTests() 969 const bool hasStencil = tcu::hasStencilComponent(mapVkFormat(stencilFormat).order); in createStencilTests() 977 (getFormatCaseName(stencilFormat) in createStencilTests() 269 StencilTest(tcu::TestContext& testContext, const std::string& name, PipelineConstructionType pipelineConstructionType, VkFormat stencilFormat, const VkStencilOpState& stencilOpStateFront, const VkStencilOpState& stencilOpStateBack, const bool colorAttachmentEnable, const bool separateDepthStencilLayouts) StencilTest() argument 348 StencilTestInstance(Context& context, PipelineConstructionType pipelineConstructionType, VkFormat stencilFormat, const VkStencilOpState& stencilOpStateFront, const VkStencilOpState& stencilOpStateBack, const bool colorAttachmentEnable, const bool separateDepthStencilLayouts) StencilTestInstance() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineStencilExportTests.cpp | 76 vk::VkFormat stencilFormat; member 256 const VkFormat stencilFormat) in makeTestRenderPass() 273 stencilFormat, // VkFormat format; in makeTestRenderPass() 493 Move<VkImage> stencilImage = makeImage (vk, device, makeImageCreateInfo(params.stencilFormat, renderSize, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT)); in testStencilExportReplace() 495 Move<VkImageView> stencilAttachment = makeImageView (vk, device, *stencilImage, VK_IMAGE_VIEW_TYPE_2D, params.stencilFormat, stencilSubresourceRange); in testStencilExportReplace() 505 Move<VkRenderPass> renderPass = makeTestRenderPass (vk, device, colorFormat, params.stencilFormat); in testStencilExportReplace() 589 if (!isSupportedDepthStencilFormat(context.getInstanceInterface(), context.getPhysicalDevice(), params.stencilFormat)) in checkSupport() 629 params.stencilFormat = kFormats[fmtIdx].format; in createStencilExportTests() 253 makeTestRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const VkFormat stencilFormat) makeTestRenderPass() argument
|
H A D | vktPipelineStencilTests.cpp | 116 VkFormat stencilFormat, 140 VkFormat stencilFormat, 272 VkFormat stencilFormat, in StencilTest() 279 , m_stencilFormat (stencilFormat) in StencilTest() 350 VkFormat stencilFormat, in StencilTestInstance() 362 , m_stencilFormat (stencilFormat) in StencilTestInstance() 972 const VkFormat stencilFormat = stencilFormats[formatNdx]; in createStencilTests() local 973 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(stencilFormat).order); in createStencilTests() 974 const bool hasStencil = tcu::hasStencilComponent(mapVkFormat(stencilFormat).order); in createStencilTests() 982 (getFormatCaseName(stencilFormat) in createStencilTests() 268 StencilTest(tcu::TestContext& testContext, const std::string& name, const std::string& description, PipelineConstructionType pipelineConstructionType, VkFormat stencilFormat, const VkStencilOpState& stencilOpStateFront, const VkStencilOpState& stencilOpStateBack, const bool colorAttachmentEnable, const bool separateDepthStencilLayouts) StencilTest() argument 348 StencilTestInstance(Context& context, PipelineConstructionType pipelineConstructionType, VkFormat stencilFormat, const VkStencilOpState& stencilOpStateFront, const VkStencilOpState& stencilOpStateBack, const bool colorAttachmentEnable, const bool separateDepthStencilLayouts) StencilTestInstance() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | ReadOnlyDepthStencilAttachmentTests.cpp | 237 wgpu::TextureFormat stencilFormat = GetParam().mTextureFormat; in TEST_P() local 244 DoTest(wgpu::TextureAspect::StencilOnly, stencilFormat, colorTexture, &values); in TEST_P() 251 DoTest(wgpu::TextureAspect::StencilOnly, stencilFormat, colorTexture, &values); in TEST_P()
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlResourceProvider.h | 45 MTLPixelFormat stencilFormat);
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFramebufferBlitTests.cpp | 462 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 465 , m_stencilFormat(stencilFormat) in BlitDepthStencilCase() 1079 deUint32 stencilFormat = stencilFormats[sFmtNdx]; 1095 if (stencilFormat != GL_NONE) 1103 fmtName += getFormatName(stencilFormat); 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, stencilFormat, buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), GL_DEPTH_BUFFER_BIT)); 1118 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_stencil_only").c_str(), "", depthFormat, stencilFormat, buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), GL_STENCIL_BUFFER_BIT));
|
H A D | es3fFboCompletenessTests.cpp | 262 ImageFormat stencilFormat = attPoint == GL_STENCIL_ATTACHMENT ? image->internalFormat : m_depthStencilFormat; in check() local 265 if (m_formats.getFormatInfo(stencilFormat) & DEPTH_RENDERABLE) in check()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkRenderTarget.cpp | 430 VkFormat stencilFormat = vkCaps.preferredStencilFormat(); in ReconstructAttachmentsDescriptor() local 431 desc->fStencil.fFormat = stencilFormat; in ReconstructAttachmentsDescriptor()
|
/third_party/skia/src/gpu/ |
H A D | GrResourceProvider.cpp | 619 GrBackendFormat stencilFormat = this->gpu()->getPreferredStencilFormat(rt->backendFormat()); in attachStencilAttachment() local 620 if (!stencilFormat.isValid()) { in attachStencilAttachment() 626 *this->caps(), stencilFormat, rt->dimensions(), in attachStencilAttachment()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnGpu.cpp | 876 wgpu::TextureFormat stencilFormat = wgpu::TextureFormat::Depth24PlusStencil8; in getOrCreateRenderPipeline() local 881 hasDepthStencil, stencilFormat, &desc); in getOrCreateRenderPipeline()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktShaderTileImageTests.cpp | 1361 VkFormat stencilFormat = tcu::hasStencilComponent(depthStencilTexFormat.order) ? m_testParam->depthStencilFormat : VK_FORMAT_UNDEFINED; in generateGraphicsPipeline() local 1369 stencilFormat, // VkFormat stencilAttachmentFormat; in generateGraphicsPipeline() local
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassTests.cpp | 1471 const tcu::TextureFormat stencilFormat = getStencilCopyFormat(attachmentInfo.getFormat()); in AttachmentResources() local 1474 m_secondaryBufferSize = size.x() * size.y() * stencilFormat.getPixelSize(); in AttachmentResources() 2078 vk::VkFormat stencilFormat = VK_FORMAT_UNDEFINED; in createSubpassPipeline() local 2091 stencilFormat = depthStencilFormat; in createSubpassPipeline() 2105 stencilFormat in createSubpassPipeline() 4250 const tcu::TextureFormat stencilFormat = getStencilCopyFormat(attachment.getFormat()); 4260 const ConstPixelBufferAccess stencilAccess (stencilFormat, targetSize.x(), targetSize.y(), 1, stencilPtr);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassTests.cpp | 1459 const tcu::TextureFormat stencilFormat = getStencilCopyFormat(attachmentInfo.getFormat()); in AttachmentResources() local 1462 m_secondaryBufferSize = size.x() * size.y() * stencilFormat.getPixelSize(); in AttachmentResources() 2064 vk::VkFormat stencilFormat = VK_FORMAT_UNDEFINED; in createSubpassPipeline() local 2077 stencilFormat = depthStencilFormat; in createSubpassPipeline() 2091 stencilFormat in createSubpassPipeline() 4236 const tcu::TextureFormat stencilFormat = getStencilCopyFormat(attachment.getFormat()); 4246 const ConstPixelBufferAccess stencilAccess (stencilFormat, targetSize.x(), targetSize.y(), 1, stencilPtr);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 4256 const auto stencilFormat = tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in ManyDrawsAllocatedData() local 4257 const auto stencilCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(stencilFormat)); in ManyDrawsAllocatedData()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 4256 const auto stencilFormat = tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in ManyDrawsAllocatedData() local 4257 const auto stencilCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(stencilFormat)); in ManyDrawsAllocatedData()
|