Any possibility of metal support min/max filter reduction?

We have this on many of our platforms, but Apple doesn't appear to expose this in Metal. Nvidia/AMD have had this for a long time. We can workaround for now, with gather followed by a component min/max on a single channel. For large scale multi-channel downsampling, having access to the sampler setting would be better. This would even work with 3d volumes, etc.

VK_EXT_sampler_filter_minmax

These are the three modes WeightedAverage - basic nearest/blinear/trilinear Min Max

Post not yet marked as solved Up vote post of AlecazamTGC Down vote post of AlecazamTGC
640 views

Replies

enum MTLSamplerMinMagFilter
{
MTLSamplerMinMagFilterNearest,
MTLSamplerMinMagFilterLinear,

MTLSamplerMinMagFilterMin, <- add
MTLSamplerMinMagFilterMax, <- add
}