Skip to content

pan/bi: Fix 1DArray image coordinate retrieval

Boris Brezillon requested to merge bbrezillon/mesa:bifrost-img-fix into main

In NIR texture instructions, the array index always follows the last texture coordinate, meaning that array index is in coord.y for 1D arrays. But the current panfrost ABI wants it in coord.z regardless of the texture dimension.

Found while working on panvk texel buffer support.

Merge request reports