Skip to content

clover/nir: add a constant folding pass before lowering mem const

Dave Airlie requested to merge airlied/mesa:clover-nir-constant-fold into master

If we lower mem constants first, then direct array accesses to constants never get lowered, so do a constant fold pass first to remove direct const array accesses.

Merge request reports