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

Author: Marcin Ĺšlusarz <[email protected]>
Date:   Tue Dec 21 12:16:21 2021 +0100

intel/compiler: disable workaround not applicable to gfx >= 11

There's nothing in bspec that would suggest this is still needed.
It only affected gfx 9 and 10.

Reviewed-by: Caio Oliveira <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14280>

---

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

diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index a3c2eb4fd70..8125da7ac3a 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -9085,7 +9085,7 @@ fs_visitor::run_fs(bool allow_spilling, bool do_rep_send)
 
       assign_curb_setup();
 
-      if (devinfo->ver >= 9)
+      if (devinfo->ver == 9)
          gfx9_ps_header_only_workaround(wm_prog_data);
 
       assign_urb_setup();

Reply via email to