96746d6557
This just prevents us from emitting some caps a bunch of times. Since there's few caps in use, it seems reasonable to use this mechanism for all caps, as it's unlikely to add up to anything worth worrying about. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8312>