iris: setup stage bitmask for Wa_22011440098
authorTapani Pälli <tapani.palli@intel.com>
Thu, 10 Nov 2022 16:22:12 +0000 (18:22 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Nov 2022 10:38:24 +0000 (10:38 +0000)
Fixes: 40b66a44998 ("anv, iris: Add Wa_22011440098 for DG2")
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/19636>

src/gallium/drivers/iris/iris_state.c

index 15f1ed98fc666dcec2189d2e8c8f52dcbfb8e894..8857973e26e316e8afe65705dc4894c4e7e6b480 100644 (file)
@@ -988,6 +988,8 @@ iris_alloc_push_constants(struct iris_batch *batch)
     */
    if (intel_device_info_is_dg2(devinfo)) {
       iris_emit_cmd(batch, GENX(3DSTATE_CONSTANT_ALL), c) {
+         /* Update empty push constants for all stages (bitmask = 11111b) */
+         c.ShaderUpdateEnable = 0x1f;
          c.MOCS = iris_mocs(NULL, &batch->screen->isl_dev, 0);
       }
    }