iris: setup stage bitmask for Wa_22011440098
Fixes:40b66a4499
("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> (cherry picked from commit210d95bdb3
)
This commit is contained in:

committed by
Dylan Baker

parent
ef204ae80a
commit
fb86c07468
@@ -688,7 +688,7 @@
|
||||
"description": "iris: setup stage bitmask for Wa_22011440098",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "40b66a44998407c0a91bf6a1d762d204a56b81a0"
|
||||
},
|
||||
|
@@ -987,6 +987,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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user