Skip to content

[Impeller] Support impeller::MipFilter::kBase for sampling from the base mip level. #147259

@chinmaygarde

Description

@chinmaygarde

SkMipmapMode::kNone is denotes sampling from the base mip level. Impeller today can either sample from the nearest or use trilinear filtering. To support what Skia does, Impeller must add a new mip filter mode for sampling from the base.

In terms of implementation, Metal supports this via MTLSamplerMipFilterNotMipmapped and Vulkan supports this via VkSamplerCreateInfo::maxLod set to 0.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions