panfrost: Expose serialized NIR support

Serialized NIR is required for clover with the SPIR-V pipeline. With
this change and PAN_MESA_DEBUG=deqp, clinfo is able to successfully
probe panfrost.

Code from Nouveau (commit 7955fabc by
Karol Herbst).

Signed-off-by: Alyssa Rosenzweig <>
50 jobs for !2390 with kmsro-cl-bare in 23 minutes and 57 seconds (queued for 5 seconds)
merge request