Files
metal2vulkan/crates
Anees Iqbal 32952d53e9 A fixture and an M3 probe of the uint2 rasterization-rate map overloads, refused today
What: rate_map_integer.metal, MSL of ours compiled by scripts/regen-air-fixtures
(.ll and .air.ll companions, TOOLCHAIN line), holding the uint2 overloads of
rasterization_rate_map_decoder's map_screen_to_physical_coordinates and
map_physical_to_screen_coordinates in both directions: a kernel over
coordinates a buffer holds, and a fragment function over its own pixel, the
shape of the consumer's light-heatmap fragment shader. Its rows in
public_fixture_expectations_engine.tsv state today's answer on every committed
profile: Unsupported{RasterizationRateMap; NotImplemented}, the refusal at
lower/fragment/mod.rs's Fragment::MapCoordinates (canon compiles only the
float2 overloads).

And probes/rate_map_integer_overloads.m (conformance): plain Metal's answers
of both uint2 overloads beside the float2 ones and the map's CPU answers, at
every integer coordinate along each axis of four maps, at each map's layers
and two past them.

Why: the consumer's Modern Rendering sample's light-heatmap pipeline is
refused for these calls; Metal accepts them. This commit records the refusal;
the next lowers the overloads.

Verified: not run at this commit; the fixture rows are checked by
public_fixtures_engine at the next commits' runs.
2026-11-13 08:31:52 -08:00
..