Skip to content

nir: Scalarize bounds checked loads and stores

Faith Ekstrand requested to merge gfxstrand/mesa:nir/scalar-bounds-check into main

In order for bounds checking to be correct as per the Vulkan spec, we need to check at the individual component granularity. Prior to robustness2, we're technically allowed to be sloppy by 16B but, short of adding new address formats, we don't have that information here. The easiest way to do that is to just split any loads and stores into individual components here.

Merge request reports