Skip to content

nir: Remove integer and 64-bit modifiers

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/torch-intmods into main

Now that Intel and R600 both do their own modifier propagation, the only backends that still lower modifiers in NIR are:

  • nir-to-tgsi
  • lima
  • etnaviv
  • a2xx

The latter 3 backends do not support integers, and certainly do not support fp64. So they don't use these.

TGSI in theory supports integer negate modifiers but NTT doesn't use them, so they're unused there too.

Since they're unused, we remove NIR support for integer and 64-bit modifiers, leaving only 16/32-bit float modifiers. This will reduce the scope needed for a replacement to NIR modifiers, being pursued in !23089 (merged).


Thanks @gerddie 😉

Merge request reports