Mesa (main): intel/fs: handle interpolation modes for at_sample and at_offset too

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Mar 22 19:28:52 UTC 2022


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

Author: Iván Briano <ivan.briano at intel.com>
Date:   Wed Mar 16 19:26:54 2022 -0700

intel/fs: handle interpolation modes for at_sample and at_offset too

Cc: mesa-stable

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15424>

---

 src/intel/compiler/brw_fs.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index f71ab869489..c2cb57b5441 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -9500,6 +9500,8 @@ brw_compute_barycentric_interp_modes(const struct intel_device_info *devinfo,
             case nir_intrinsic_load_barycentric_pixel:
             case nir_intrinsic_load_barycentric_centroid:
             case nir_intrinsic_load_barycentric_sample:
+            case nir_intrinsic_load_barycentric_at_sample:
+            case nir_intrinsic_load_barycentric_at_offset:
                break;
             default:
                continue;



More information about the mesa-commit mailing list