intel/compiler: add comment about workaround on simd width
authorTapani Pälli <tapani.palli@intel.com>
Tue, 28 Feb 2023 17:28:52 +0000 (19:28 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 2 Mar 2023 14:06:36 +0000 (14:06 +0000)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21619>

src/intel/compiler/brw_fs_visitor.cpp

index d21be91..f43e478 100644 (file)
@@ -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