Skip to content

CL: Support packed structs

It seems that a few things are missing to properly support packed structs. This series tries to fix places where field offset calculation is missing/wrong. It also patches various NIR lowering/opt passes where alignment constraints were not propagated.

v2:

  • Don't use size_align() funcs in nir_split_var_copies() and rely on explicit types instead.
  • Add alignment info to copy_deref

/cc @karolherbst @jekstrand @jenatali

Edited by Boris Brezillon

Merge request reports