panfrost: Move the blend shader cache at the context level

Blend shaders can be shared among blend states, so let's move the blend
shader one level up so we don't have to re-create/re-compile shaders
when another blend state already asked for it.

Signed-off-by: Boris Brezillon <>
Reviewed-by: Alyssa Rosenzweig <>
Part-of: <!7066>
40 jobs for !7066 with panfrost-blend-shaders in 9 minutes and 49 seconds (queued for 12 seconds)
merge request