diff --git a/src/asahi/compiler/agx_pack.c b/src/asahi/compiler/agx_pack.c index 8a29e241e3d..6c7558a7e44 100644 --- a/src/asahi/compiler/agx_pack.c +++ b/src/asahi/compiler/agx_pack.c @@ -158,6 +158,7 @@ agx_pack_memory_index(agx_index index, bool *flag) return index.value; } else { assert(index.type == AGX_INDEX_REGISTER); + assert(index.size == AGX_SIZE_32); assert((index.value & 1) == 0); assert(index.value < 0x100);