Files
metal2vulkan/crates
Anees Iqbal 37ff76effa rt test: a filter nest samples alike unrolled and switched
A kernel samples an 8x8 RGBA8Unorm texture through a nearest clamped constexpr sampler at each
texel centre in a 3x3 nest whose counters make the texel offset. With the constants deciding
the counters the translator unrolls the nest (constant offsets); with the inner loop's end
loaded (2 at run time) the offset stays dynamic, a switch over its values on every device (the
runtime never enables maintenance8). Both kernels must write the same 64 sums, bit for bit, and
both the nearest filter's. Unrun yet.
2026-11-21 01:22:31 -08:00
..