Skip to content

nir: Add nir_x/y/z/w helpers

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/xyzw into main
  • Shorter.
  • Wraps more nicely.. it's weird to have the 0 on a different line from the thing you're taking the channel of, versus reading left-to-right top-to-bottom with nir_x you know you're interested in the x component.
  • Sometimes clearer, though this might be a wash.

Merge request reports