I\'m using Metal on iOS with the following fragment shader:
constexpr sampler s(coord::normalized, address::clamp_to_zero,
It appears linear filtering isn't supported for textures of type MTLPixelFormatRGBA32Float on my device (iPad Pro). When I change to MTLPixelFormatRGBA8Unorm, filtering works as expected.
MTLPixelFormatRGBA32Float
MTLPixelFormatRGBA8Unorm