nir: add cmat call to propogate invariants

This just adds this as lavapipe uses this pass.

Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38964>
This commit is contained in:
Dave Airlie 2025-12-16 15:36:19 +10:00 committed by Marge Bot
parent 58f7fa3f6c
commit 6d53931cf4

View file

@ -126,6 +126,7 @@ propagate_invariant_instr(nir_instr *instr, struct set *invariants)
case nir_instr_type_jump:
case nir_instr_type_undef:
case nir_instr_type_load_const:
case nir_instr_type_cmat_call:
break; /* Nothing to do */
case nir_instr_type_phi: {