nir: add a cmat call instruction type.

This adds a new instruction type to handle cooperative matrix calls.

This clones the call instr, drops callee, and adds a single metadata
slot and a call operation (dummy only for now).

(Not NACKed by Alyssa)

Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38389>
This commit is contained in:
Dave Airlie
2025-11-12 12:17:10 +10:00
committed by Marge Bot
parent 6ba0797a06
commit 26eaba935d
17 changed files with 168 additions and 1 deletions
+1
View File
@@ -1348,6 +1348,7 @@ v3d_instr_delay_cb(nir_instr *instr, void *data)
case nir_instr_type_deref:
case nir_instr_type_jump:
case nir_instr_type_call:
case nir_instr_type_cmat_call:
case nir_instr_type_phi:
return 1;