Mesa (main): intel/fs: Simplify persample_dispatch

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 13 21:04:29 UTC 2022


Module: Mesa
Branch: main
Commit: d0b154319d2232a3170bc66eac7293732f00e82e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0b154319d2232a3170bc66eac7293732f00e82e

Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Tue Jul 12 13:51:10 2022 -0500

intel/fs: Simplify persample_dispatch

Thanks to the previous commit, we no longer need this check.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14020>

---

 src/intel/compiler/brw_fs.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 3e6e9f3bf8a..5afb4290799 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -7247,8 +7247,7 @@ brw_nir_populate_wm_prog_data(const nir_shader *shader,
    prog_data->persample_dispatch =
       key->multisample_fbo &&
       (key->persample_interp ||
-       shader->info.fs.uses_sample_shading ||
-       shader->info.outputs_read);
+       shader->info.fs.uses_sample_shading);
 
    if (devinfo->ver >= 6) {
       prog_data->uses_sample_mask =



More information about the mesa-commit mailing list