mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
anv: 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>
This commit is contained in:
parent
210d95bdb3
commit
ecd4517560
1 changed files with 2 additions and 0 deletions
|
|
@ -2295,6 +2295,8 @@ cmd_buffer_alloc_push_constants(struct anv_cmd_buffer *cmd_buffer)
|
|||
*/
|
||||
if (intel_device_info_is_dg2(cmd_buffer->device->info)) {
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_CONSTANT_ALL), c) {
|
||||
/* Update empty push constants for all stages (bitmask = 11111b) */
|
||||
c.ShaderUpdateEnable = 0x1f;
|
||||
c.MOCS = anv_mocs(cmd_buffer->device, NULL, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue