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

Author: José Roberto de Souza <jose.so...@intel.com>
Date:   Tue Dec 19 12:25:56 2023 -0800

intel/isl/xe2: Disable route of Sampler LD message to LSC

This optimization is causing some tests groups to fail, like:
dEQP-VK.image.mutable.2d_array.*
dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.*

So disabling it until properly fixed.

Signed-off-by: José Roberto de Souza <jose.so...@intel.com>
Reviewed-by: Sagar Ghuge <sagar.gh...@intel.com>
Reviewed-by: Rohan Garg <rohan.g...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27016>

---

 src/intel/isl/isl_format.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
index 2ab710d58b7..59f6c551e3b 100644
--- a/src/intel/isl/isl_format.c
+++ b/src/intel/isl/isl_format.c
@@ -1220,6 +1220,12 @@ isl_format_rgbx_to_rgba(enum isl_format rgbx)
 bool
 isl_format_support_sampler_route_to_lsc(enum isl_format fmt)
 {
+   /* TODO/FIXME: even only enabling the optimization with formats below this
+    * is causing some tests to fail so completely disabling this optimization
+    * for now.
+    */
+   return false;
+
    switch (fmt) {
    case ISL_FORMAT_R8_UNORM:
    case ISL_FORMAT_R8G8_UNORM:

Reply via email to