e61583f6f1
Most of the time we will only be updating either the number of samples or whether it should be disabled, not both, and we don't need to compare both. With pipelines we were comparing both, but with dynamic rasterization samples we want to only update disable when binding the pipeline and only update samples when calling vkCmdSetRasterizationSamplesEXT(). Stop optimizing the uncommon case where both are changed when binding a pipeline, and split it into 2 parts while sharing the common part that records and emits the state packet. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18912>