Skip to content

nir: Add un/pack_4x8 opcodes

Alyssa Rosenzweig requested to merge alyssa/mesa:pack-4x8 into master

These complement the existing 2x16 variants, as well as the unorm variant. For us, it's a just move on Midgard and a SEL.8 opcode on Bifrost. One usage is unorm_4x8 lowering that's more amenable to vector architectures.

This is required for the blend shader rework.

Merge request reports