Skip to content

nouveau/nir: Don't try to emit OP_FMA pre-nvc0.

Emma Anholt requested to merge anholt/mesa:nouveau-nir-fmad into main
The TGSI backend avoids TGSI_OPCODE_FMA (and thus OP_FMA) pre-nvc0,
replacing it with TGSI_OPCODE_MAD in that case.

Noticed when looking at native-NIR stats and finding that load
optimization wasn't taking place on the unsupported opcode.
Edited by Emma Anholt

Merge request reports