94c00be49f
Writing uniform streams is performance sensitive so we should try our best to avoid writing new uniforms if they have not changed. Particularly, if only the vertex buffers have changed, we should not write new uniforms. This improves performance in vkQuake2 by about 11.15%. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7683>