UPSTREAM: anv: emit sample mask state independent of fragment stage

BUG=b:262171842
TEST=dEQP-VK.pipeline*stencil.*.comp_equal

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7861
Fixes: 9f6af43743d ("anv: dynamic multisample sample mask")
Change-Id: Id51bcdb58a8af426ffd1253d8dc479db217fad93
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20221>
(cherry picked from commit 68ef0d84481fd92df6cde8935f079d958e6b36e9)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/4200951
Reviewed-by: Chia-I Wu <olv@google.com>
Reviewed-by: Sean Paul <sean@poorly.run>
Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
Tested-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Lepton Wu <lepton@chromium.org>
1 file changed