d322a80170
This was relying on cb being NULL instead of just gracefully handling it, and it will stop being NULL once we start tracking attachment count as state. Moreover is was broken in the case where only the blend enable is dynamic. Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22301>