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

Author: Tapani Pälli <[email protected]>
Date:   Tue Feb 28 19:28:52 2023 +0200

intel/compiler: add comment about workaround on simd width

Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21619>

---

 src/intel/compiler/brw_fs_visitor.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/intel/compiler/brw_fs_visitor.cpp 
b/src/intel/compiler/brw_fs_visitor.cpp
index d21be91323a..f43e4787bc0 100644
--- a/src/intel/compiler/brw_fs_visitor.cpp
+++ b/src/intel/compiler/brw_fs_visitor.cpp
@@ -888,6 +888,12 @@ fs_visitor::emit_fb_writes()
                                 this->outputs[0].file != BAD_FILE);
    assert(!prog_data->dual_src_blend || key->nr_color_regions == 1);
 
+   /* Following condition implements Wa_14017468336:
+    *
+    * "If dual source blend is enabled do not enable SIMD32 dispatch" and
+    * "For a thread dispatched as SIMD32, must not issue SIMD8 message with 
Last
+    *  Render Target Select set."
+    */
    if (devinfo->ver >= 11 && devinfo->ver <= 12 &&
        prog_data->dual_src_blend) {
       /* The dual-source RT write messages fail to release the thread

Reply via email to